jam-cloud/jam-ui/node_modules/react-chartjs-2/stories/StockExamples.js

53 lines
1.6 KiB
JavaScript

import React from 'react';
import { storiesOf, action, linkTo } from '@kadira/storybook';
// all of the "stock" stand-alone examples
import DoughnutExample from '../example/src/components/doughnut';
import DynamicDoughnutExample from '../example/src/components/dynamic-doughnut';
import PieExample from '../example/src/components/pie';
import LineExample from '../example/src/components/line';
import BarExample from '../example/src/components/bar';
import HorizontalBarExample from '../example/src/components/horizontalBar';
import RadarExample from '../example/src/components/radar';
import PolarExample from '../example/src/components/polar';
import MixedDataExample from '../example/src/components/mix';
storiesOf('Doughnut Example', module)
.add('Basic Example', () => (
<DoughnutExample />
));
storiesOf('DynamicDoughnut Example', module)
.add('Basic Example', () => (
<DynamicDoughnutExample />
));
storiesOf('Pie Example', module)
.add('Basic Example', () => (
<PieExample />
));
storiesOf('Line Example', module)
.add('Basic Example', () => (
<LineExample />
));
storiesOf('Bar Example', module)
.add('Basic Example', () => (
<BarExample />
));
storiesOf('HorizontalBar Example', module)
.add('Basic Example', () => (
<HorizontalBarExample />
));
storiesOf('Radar Example', module)
.add('Basic Example', () => (
<RadarExample />
));
storiesOf('Polar Example', module)
.add('Basic Example', () => (
<PolarExample />
));
storiesOf('Polar Example', module)
.add('Basic Example', () => (
<PolarExample />
));