mirror of
https://github.com/apache/superset.git
synced 2026-04-23 18:14:56 +00:00
Co-authored-by: Enzo Martellucci <52219496+EnxDev@users.noreply.github.com> Co-authored-by: Diego Pucci <diegopucci.me@gmail.com> Co-authored-by: Mehmet Salih Yavuz <salih.yavuz@proton.me> Co-authored-by: Geido <60598000+geido@users.noreply.github.com> Co-authored-by: Alexandru Soare <37236580+alexandrusoare@users.noreply.github.com> Co-authored-by: Damian Pendrak <dpendrak@gmail.com> Co-authored-by: Pius Iniobong <67148161+payose@users.noreply.github.com> Co-authored-by: Enzo Martellucci <enzomartellucci@gmail.com> Co-authored-by: Kamil Gabryjelski <kamil.gabryjelski@gmail.com>
@superset-ui/legacy-plugin-chart-horizon
This plugin provides Horizon for Superset.
Usage
Configure key, which can be any string, and register the plugin. This key will be used to
lookup this chart throughout the app.
import HorizonChartPlugin from '@superset-ui/legacy-plugin-chart-horizon';
new HorizonChartPlugin().configure({ key: 'horizon' }).register();
Then use it via SuperChart. See
storybook
for more details.
<SuperChart
chartType="horizon"
width={600}
height={600}
formData={...}
queriesData={[{
data: {...},
}]}
/>