Edit this page

series.xField String (default: "x")

The data item field containing the X value.

The xField option is supported when series.type is set to "bubble", "scatter", "scatterLine" or polar series.

Example - set the chart series x field

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

Give article feedback

Tell us how we can improve this article