I am using jqPlot to show candlestick chart and the data is from XML.
I retrieve data from XML and put it into an array and then jqPlot creates a candlestick chart from that.
But the XML file contains lots of data so in the chart values are overlapping (with fixed width).
Is it possible to make a graph of lets say 10% of data and place a scrollbar and on every tick of scrollbar we rebuild graph with next data or there already exists such functionality of scrolling of graph/chart in jqPlot.
Please help me to resolve this.
Its better to load
XMLat once, but not give the data at once to thatjqPlotchart. Just make sure you are passing part of the data tojqPlot. Once you assign data to chart then go for the scrolling of data usingjQueryor something like scroller code.Whenever you scroll on this try to refresh or regenrate the chart by only the selected data.