Edit this page

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", "donut" or "pie".

Example - set the chart series visible in legend field

<div id="chart"></div>
  dataSource: {
    data: [
      { value: 1, category: "firstValue", visible: false },
      { value: 2, category: "secondValue", visible: true }
  series: [{
    type: "pie",
    field: "value",
    visibleInLegendField: "visible"
Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article