import {BarChart} from 'sentry/components/charts/barChart'; import {LineChart} from 'sentry/components/charts/lineChart'; export default { title: 'Components/Data Visualization/Charts/Playground', args: { height: 300, series: [ { seriesName: 'sentry:user', data: [ {value: 18, name: 'Aug 15th'}, {value: 31, name: 'Aug 16th'}, {value: 9, name: 'Aug 22nd'}, {value: 100, name: 'Sep 5th'}, {value: 12, name: 'Sep 6th'}, ], }, { seriesName: 'environment', data: [ {value: 84, name: 'Aug 15th'}, {value: 1, name: 'Aug 16th'}, {value: 28, name: 'Aug 22nd'}, {value: 1, name: 'Sep 5th'}, {value: 1, name: 'Sep 6th'}, ], }, { seriesName: 'browser', data: [ {value: 108, name: 'Aug 15th'}, {value: 1, name: 'Aug 16th'}, {value: 36, name: 'Aug 22nd'}, {value: null, name: 'Sep 5th'}, {value: 1, name: 'Sep 6th'}, ], }, ], grid: { top: 40, bottom: 20, left: '10%', right: '10%', containLabel: true, }, }, }; export const _LineChart = ({height, series, legend, grid}) => (