amCharts support forum

You are not logged in.

Announcement

FORUM CLOSED! This forum is closed. We moved to a new place at Zendesk. Update your bookmarks.

Flash Charts: Flash Stock Chart


#1 2012-08-10 12:45:05

jsmith
Member

appendData issue with grid lines

I'm starting to work with the appendData() call and I'm seeing a new vertical grid line with every appendData() call I make.  They exceed <max_grid_count>20</max_grid_count> setting and eventually over whelm my chart due to the number of data points I'm adding.  Another part of this issue is the time values across the x axis, they overlap due to the number of data points as well.

Has anyone come across this issue?  How did you get past it?

Offline

 

#2 2012-08-13 04:08:01

martynasma
Administrator

Re: appendData issue with grid lines

It shouldn't be like that. Do you have your chart online where we can test?

Offline

 

#3 2012-08-13 07:05:41

jsmith
Member

Re: appendData issue with grid lines

Ok...I think I got past this issue.  It was the <data_set> tag not being closed properly with </data_set>.

The behavior I see now with the scroller is it starts out being 1 data point wide, and it keeps up with the most recent data point added.  So the over all chart is 1 data set wide and keeps shifting to the left as new data is appended.  If I click on the left side of the scroller, it will shift to the left and re-adjust itself the the current width of all the data, then it continues to behave in a 'sliding window' moving to the right at it's current width as data is appended.

Is this inline with what you would expect?

Last edited by jsmith (2012-08-13 15:27:43)

Offline

 

#4 2012-08-14 06:36:38

martynasma
Administrator

Re: appendData issue with grid lines

Yes, this behavior is by design. The chart will always try to maintain current selection even when data is updating. If the scroller is at the end, it will move the selected scope to encompass the new added datapoints.

Offline

 

© amCharts | Forum engine: PunBB