Home › forums › Using CanvasJS › How to Only Show Current Data in Dynamic Graph?
This topic contains 1 reply, has 2 voices, and was last updated by Priyanka M S 2 months ago.
I currently have a program that slowly builds a real time graph based on when the user connects to the page. It populates the page with the first set of data it gets leading to the first few minutes of the graph being essentially useless. The site currently lives at http://mcdonaghcorp.com:8083/ for reference as to what I’m talking about. Is there a way to have the graph start from the left, move right, then shrink once it takes up all of the space?
It is possible to show current data in dynamic graph, by using shift method to remove the previous data. Please take a look at this tutorial on creating dynamic charts.
Priyanka M S
You must be logged in to reply to this topic.