Edit this page

series.field String (default: "value")

The data item field which contains the series value. The field name should be a valid Javascript identifier and should contain only alphanumeric characters (or "$" or "_"), and may not start with a digit.

Example - set the chart series field

<div id="chart"></div>
  dataSource: {
    data: [
      { price: 1 },
      { price: 2 },
      { price: 3 }
  series: [{
    field: "price"
Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article