vdl-chart
Create a chart in the custom view. The chart may display model entity data or custom data generated in dynamic expressions.
Example
<vdl-chart title="Factory Supply vs Demand">
<vdl-chart-axis axis="x" title="Factory" />
<vdl-chart-series entity="Supply" type="bar" />
<vdl-chart-series entity="Demand" />
</vdl-chart>
Attributes
bar-mode | The bar mode can be one of stack, group, overlay, relative. Affects the display of chart-series set to type of "bar". | ||
---|---|---|---|
class | CSS classes to augment the default chart styling. | accepts expression | |
color-palette | To apply a custom palette for each series in a chart, provide an array of colors. | accepts expression | |
modifier | Function to modify the chart configuration for advanced settings. | requires expression | |
series-sorter | Function to sort the chart series. | requires expression | |
title | Title for the chart | accepts expression |