findSeriesByName

Returns a series with specific name.

Parameters

name String

The series name.

Returns

kendo.dataviz.ChartSeries The chart series.

Example - find the series with name "bar"

<div id="chart"></div>
<script>
  var chart = $("#chart").kendoChart({
    series: [{ name: "foo", data: [1, 2] }, { name: "bar", data: [3, 4] }],
  }).getKendoChart();

  var series = chart.findSeriesByName("bar");
</script>
In this article