I am trying to run BOXPLOT chart where we need to give data in the {label:””,y:””} format. But whenever I give this data, it automatically adds x attribute. Due to this, I cant plot the chart. any solution to disable auto x attribute or something. Thank you.
data:
{label: “CRIM”, y: Array(100)}
{label: “ZN”, y: Array(100)}
{label: “INDUS”, y: Array(100)}
{label: “CHAS”, y: Array(100)}
{label: “NOX”, y: Array(100)}
{label: “RM”, y: Array(100)}
data after i give to datapoints in options:
{label: “CRIM”, x: 0, y: Array(100)}
{label: “ZN”, x: 1, y: Array(100)}
{label: “INDUS”, x: 2, y: Array(100)}
{label: “CHAS”, x: 3, y: Array(100)}
{label: “NOX”, x: 4, y: Array(100)}
{label: “RM”, x: 5, y: Array(100)}