blob: 9f7fe054612722c8b240f775c7b1bcfa94dfad51 [file] [log] [blame]
import React from 'react';
import { SuperChart } from '@superset-ui/core';
import dummyDatasource from '../../../../../shared/dummyDatasource';
import data from '../data';
export const basic = () => (
<SuperChart
chartType="dist-bar"
width={400}
height={400}
datasource={dummyDatasource}
queriesData={[{ data }]}
formData={{
barstacked: false,
bottomMargin: 'auto',
colorScheme: 'd3Category10',
contribution: false,
orderBars: false,
reduceXTicks: false,
showBarValue: false,
showControls: false,
showLegend: true,
vizType: 'dist_bar',
xAxisLabel: 'ddd',
xTicksLayout: 'auto',
yAxisFormat: '.3s',
yAxisLabel: 'ddd',
}}
/>
);