views:

81

answers:

1

I am using jqplot to show candlestick chart and the data is from xml. I retrieve data from xml and put it into array and then jqplot creates a candlestick chart from that. but xml file contains lots of data so in chart values are over lapping (with fixed width). is it possible that we make graph of lets say 10% of data and place a scrollbar and on every tick of scroll bar we rebuild graph with next data or there already exists any such functionality of scrolling graph/chart in jqplot. please help me to resolve this.

+1  A: 

Hi there its better to load xml at once but not give the data at once to that jqplot chart. just make sure you are passing data to jqplot is a part of data not the part of data. once you assign data to chart then go for the scrolling of data using jquery or some like scroller code . when ever you scroll on this try to refresh or regenrate the chart by only the selected data.

J S Jodha