Home › Forums › Chart Support › empty graph is display › Reply To: empty graph is display
@yo3dgjhcms-ro,
It seems like you are pushing wrong values to dps. You need to use result[i].label and result[i].y instead of result[i].Time and result[i].Ampere respectively.
dps
result[i].Time
result[i].Ampere
dps.push({"label":result[i].label, "y":result[i].y});
If this doesn’t solve your issue, kindly share sample data you are getting from database so that we can reproduce the issue you are facing at our end and help you with an appropriate solution.
—- Manoj Mohan Team CanvasJS