antv-l7/stories/Scale/Scale.stories.tsx

13 lines
480 B
TypeScript

import { storiesOf } from '@storybook/react';
import * as React from 'react';
import Quantize from './components/Quantize';
import PointScale from './components/Point';
import Threshold from './components/Threshold';
import Diverging from './components/Diverging';
storiesOf('数据映射', module)
.add('枚举类型', () => <PointScale />)
.add('颜色范围等分', () => <Quantize />)
.add('离散', () => <Diverging />)
.add('自定义范围', () => <Threshold />);