Home › Forums › Chart Support › Points in the chart doesn't appear › Reply To: Points in the chart doesn't appear
@samgonzul,
X-Value can be numeric or date-time. But in the dataPoints that you are passing x-values are string. Changing ‘x’ to label, i.e. [{"y":1,"label":"model3"},{"y":1,"label":"model4″},{"y":1,"label":"model1"},{"y":1,"label":"model2"}] should work fine.
[{"y":1,"label":"model3"},{"y":1,"label":"model4″},{"y":1,"label":"model1"},{"y":1,"label":"model2"}]
— Vishwas R Team CanvasJS