API REFERENCE
color
Pass as a JavaScript property. type: string | ReadonlyArray<string>.
Definition
| Item | Value |
|---|---|
| JavaScript property | color |
| HTML attribute | Pass objects, arrays, and callbacks as JavaScript properties |
| Type | string | ReadonlyArray<string> |
| Default | '#2563eb' |
Configuration example
// Register sy-visual-map and create the element before configuring it.
chart.color = [
"#eee6ff",
"#8263d9",
"#34265d"
];