series.visibleInLegendField String

The data item field which indicates whether to show the point category name in the legend.

The visibleInLegendField option is supported when series.type is set to "funnel", "pyramid", "donut" or "pie".

Example - set the chart series visible in legend field

<div id="chart"></div>
<script>
$("#chart").kendoChart({
  dataSource: {
    data: [
      { value: 1, category: "firstValue", visible: false },
      { value: 2, category: "secondValue", visible: true }
    ]
  },
  series: [{
    type: "pie",
    field: "value",
    visibleInLegendField: "visible"
  }]
});
</script>
In this article