Sign in to follow this  
abowsher

ZoomLine handling of sparse data

Recommended Posts

We have a ZoomLine chart that displays price on the y axis and date on the x-axis.

 

We have data that sometimes has large gaps.  Those gaps in a ZoomLine render as straight (flat) lines.  This is confusion to the user - it makes it look like the price remained the same over time, when really there just wasn't any data for that time period.

 

Is there any way to visually communicate this to the user?  Can we configure the ZoomLine chart to do something like render a dashed line when the gap between data points is too large?

 

Thanks

Share this post


Link to post
Share on other sites
Guest Sashibhusan

Hi,

 

Could you please confirm once whether you have set "connectNullData" to "1", in the <chart> element of data XML?

 

If yes, make it to "0" to have discontinued plot for the dates those does not have any price values.

 

However, applying "dashed" to "1" in <dataset> element will make the entire line plot to dashed, which might not fulfill your requirement.

 

For more information on "ZoomLine Chart Specification Sheet", please visit the link: http://docs.fusioncharts.com/charts/contents/ChartSS/ZoomLine.html

 

Hope this helps!

Share this post


Link to post
Share on other sites

I found this example that is exactly what I want:

 

http://docs.fusioncharts.com/charts/contents/advanced/DiscData.html

 

but I've been playing with the examples that come with the download, and I can't get it to work (the line won't show as dashed).  Unless it is limited to 2d line charts, which I haven't tried yet.  But I need it to work on a ZoomLine chart.

Share this post


Link to post
Share on other sites
Guest Rishab

Hi,

 

As shown in the image provided in the earlier post, to show the line in the ZoomLine chart as dashed you need to provide the empty value at the appropriate place in the data XML.

 

For example-

<dataset..>406||346...</dataset>

The attached item is the data XML along with the screenshot showcasing the needed feature in ZoomLine chart.

 

Hope this helps.

post-47865-0-16107800-1387282951_thumb.jpg

Zoomdashed.xml

Share this post


Link to post
Share on other sites
Guest Rishab

Hi,

 

As of now it is not possible to plot discontinuous data (dashed) as shown in the link in ZoomLine chart.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this