cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - If community subscription notifications are filling up your inbox you can set up a daily digest and get all your notifications in a single email. X

Dynamic chart

ishrivastava-2
1-Visitor

Dynamic chart

Hello,

I want to plot data from the info-table containing some sets of values of ECG. I want data to be flowing continuously on label chart.Can anyone suggest me how to achieve that. Please find the below link. Right now I am getting static line chart i want data moving along x axis and shows all the data stores in that info-table at particular time stamp.

http://canvasjs.com/editor/?id=http://canvasjs.com/example/gallery/dynamic/realtime_line/

4 REPLIES 4

Hi Isha, your infotable, does it have a time reference associated with each entry, i.e. timestamp?

Yes, My infotable contains values and timestamp as fields but timestamp values are stored as string (datatype) not as Date time timestamp.

I would add "DateTime" basetype field and convert that string appropriately. After that I would write a script which queries this infotable using start and end dates and the resultant table associated with the Time Series chart as well as its attributes,  XAxisMaximum = endDate, XAxisMinimum = startDate. After that you need a way of initialising this service, either AutoRefresh or any other trigger. startDate and endDate should be incremented with each service call.

I did something like that some time ago.

Hi Isha, i think in out of the box widget this is not possible to achieve exactly what you are trying to reference with the CanvasJS, at best you can have Auto refresh for periodically refreshing it.

Though you can easily integrate that by creating your custom TimeChart widget. Attached are some custom widget development guide.

Announcements


Top Tags