blob: ac697b414b10474508facaf784c36daded2229ef [file] [log] [blame]
import React from 'react';
import { SuperChart } from '@superset-ui/core';
import ChordChartPlugin from '@superset-ui/legacy-plugin-chart-chord';
import data from './data';
new ChordChartPlugin().configure({ key: 'chord' }).register();
export default {
title: 'Legacy Chart Plugins|legacy-plugin-chart-chord',
};
export const basic = () => (
<SuperChart
chartType="chord"
width={400}
height={400}
queriesData={[{ data }]}
formData={{
colorScheme: 'd3Category10',
yAxisFormat: '.2f',
}}
/>
);