API REFERENCE
groups
Comparison series = legend labels + colour order (one per value index).
Definition
| Item | Value |
|---|---|
| JavaScript property | groups |
| HTML attribute | Pass objects, arrays, and callbacks as JavaScript properties |
| Type | ReadonlyArray<string> |
| Default | undefined |
undefined means this property was not explicitly set. The effective value may depend on the chart type and other settings.
Configuration example
// Register sy-dot-plot-chart and create the element before configuring it.
chart.groups = [
"Reference",
"Target",
"Actual"
];