import { Chart, ChartBar, ChartLegend, ChartStack } from '../index';
import HorizontalChart from './examples/HorizontalChart';
import SimpleChart from './examples/SimpleChart';
import getContainerProps from './examples/common/getContainerProps';

export default {
  title: 'Stack Chart',
  components: {
    Chart: Chart,
    ChartBar: ChartBar,
    ChartLegend: ChartLegend,
    ChartStack: ChartStack
  },
  examples: [{ component: SimpleChart, title: 'Simple Chart', getContainerProps: getContainerProps }, { component: HorizontalChart, title: 'Horizontal Chart', getContainerProps: getContainerProps }]
};