position: radios()

in stories/feat.legend.stories.js [263:368]


          position: radios('位置', radioOptions, 'top'),
          align: '',
        },
      }}
      data={pieData}
    />
  </Wcontainer>
));

const longData = [
  {
    name: '机房A机房A机房A机房A机房A机房A机房A',
    data: [
      [1483372800000, 4092],
      [1483459200000, 1592],
      [1483545600000, 3714],
      [1483632000000, 4854],
      [1483718400000, 6514],
      [1483804800000, 9022],
      [1483891200000, 6023],
      [1483977600000, 4018],
    ],
    type: 'line',
  },
  {
    name: '机房B机房B机房B机房B机房B机房B',
    type: 'line',
    data: [
      [1483372800000, 6051],
      [1483459200000, 3278],
      [1483545600000, 5175],
      [1483632000000, 6548],
      [1483718400000, 9048],
      [1483804800000, 11394],
      [1483891200000, 8597],
      [1483977600000, 6588],
    ],
  },
  {
    name: '机房C机房C机房C机房C机房C机房C',
    yAxis: 1,
    type: 'bar',
    data: [
      [1483372800000, 6051],
      [1483459200000, 3278],
      [1483545600000, 5175],
      [1483632000000, 6548],
      [1483718400000, 9048],
      [1483804800000, 11394],
      [1483891200000, 8597],
      [1483977600000, 6588],
    ],
  },
  {
    name: '机房D机房D机房D机房D机房D机房D',
    yAxis: 1,
    type: 'bar',
    data: [
      [1483372800000, 6051],
      [1483459200000, 3278],
      [1483545600000, 5175],
      [1483632000000, 6548],
      [1483718400000, 9048],
      [1483804800000, 11394],
      [1483891200000, 8597],
      [1483977600000, 6588],
    ],
  },
  {
    name: '机房E机房E机房E机房E机房E机房E',
    yAxis: 1,
    type: 'bar',
    data: [
      [1483372800000, 6051],
      [1483459200000, 3278],
      [1483545600000, 5175],
      [1483632000000, 6548],
      [1483718400000, 9048],
      [1483804800000, 11394],
      [1483891200000, 8597],
      [1483977600000, 6588],
    ],
  },
  {
    name: '机房F机房F机房F机房F机房F机房F',
    yAxis: 1,
    type: 'bar',
    data: [
      [1483372800000, 6051],
      [1483459200000, 3278],
      [1483545600000, 5175],
      [1483632000000, 6548],
      [1483718400000, 9048],
      [1483804800000, 11394],
      [1483891200000, 8597],
      [1483977600000, 6588],
    ],
  },
];
stories.add('超长图例截取', () => (
  <Wcontainer className="demos">
    <Wlinebar
      width="400"
      height="300"
      config={{
        legend: {