This sample demonstrates how the data source for the chart can dynamically change with random values.
In this example, you can see how to render and configure a column chart displaying data for sales, with each entry featuring the product name and the corresponding sales percentage. Additionally, the chart can dynamically update with random values.
Injecting Module
Chart component features are segregated into individual feature-wise modules. To use the column series, we need to inject the
ColumnSeries
module using Chart.Inject(ColumnSeries)
method.
More information on the column series can be found in this documentation section.