Skip to main content

getSeries()

returns an object with configuration of a specified series

getSeries(id: string): ISeria;

Parameters:

id: string - the id of a series

Returns:

An object with configuration of a series.

Example

const config = chart.getSeries("A");
/* =>
{
"strokeWidth": 2, "active": true,
"tooltip": true, "paddings": 5,
"color": "none", "fill": "none",
"pointType": "circle", "id": "A",
"value": "company A", "pointColor": "blue",
"type": "radar",
"scales": [
"radial"
]
}
*/

Related sample: Chart. Get series