Home forums Using CanvasJS Dynamically Plot live data Reply To: Dynamically Plot live data

#8694

szjoueid
Member

Thank you for your quick reply. I overlooked the fact the value was a string.
I still have an issue with the time. The optical values are showing but the x Axis is showing a a long grey area. Do you mind showing me the following:

1- what I should enter as parameters for the axisX:{
interval: ?,
intervalType: “?”,
xValueType: “?”,
valueFormatString: “?” ,
labelAngle: -50

2- how should I format the time value to be pushed into dsp?

dps.push({
x: <time format,
y: Numeric(data[i].d.optical)

3- Do I need to clear / empty dps every so often or does your dps.shift clear the registry? I will be collecting data all day long and just displaying it in real time.

Thanks again for your help.