Base Chart
UI Kit includes several chart components powered by ECharts. For unsupported chart types, use HvBaseChart
—a flexible wrapper around the ECharts API that lets you build fully custom configurations.
The example below demonstrates how to create a Sankey chart, which is not available out of the box.
HvBaseChart
includes the CanvasRenderer
and AriaComponent
by default, but you must manually import and register the SankeyChart
component from ECharts.
echarts.use([SankeyChart]);
You can also enhance your chart with additional ECharts components like TooltipComponent
or LegendComponent
.
Refer to the ECharts cheat sheet for a full list of available components.
Please check the Charts examples page for more examples of
charts built with the HvBaseChart
component.