Sign in to follow this  
Marin

How To Add Multi-Lines In Zoom Line Chart

Recommended Posts

i`am so sorry that my english is not very well.

and when there are two lines in zoom line chart, it work well. But when there are more than three <dataSet>, it is not display.

Is there a attribute in <chart> element about this?

 

 

Awaiting for your reply and thank you very much

Share this post


Link to post
Share on other sites

Hey,

 

Zoomline chart can display any number of data set elements. There are no specific attribute which has to be defined along chart element.

 

Can you please share the XML with us?

Share this post


Link to post
Share on other sites

Hey,

 

Zoomline chart can display any number of data set elements. There are no specific attribute which has to be defined along chart element.

 

Can you please share the XML with us?

 

Thanks so much for response. I have a try a minute ago, and find that when there are 20 <category> elements, it works well, but when there are more the 80 <category> elements, it not work.

 

The technologies i use are Seam+JSF+PrimeFaces. The html fragment:

 

<p:media value="/charts/ZoomLine.swf?&dataXML=#{bean.xmlData}" player="flash" width="700" height="500" rendered="#{bean.renderedCompare}">

<f:param name="wmode" value="transparent" />

</p:media>

I think it is correct.

 

the XML is created by server as a String form. the attached file is which created with 80 <category> elements, it is now work.

 

thank you very much.

errzoomlinedata.txt

Edited by Marin

Share this post


Link to post
Share on other sites

i have a test and find that , when there are 67 <category> elements and 3 <dataset> elements, it works well. But when there are 68 <category> elements and 3 <dataset> elements, it does not work.

Share this post


Link to post
Share on other sites

Hey,

 

It works!!!! Please find the attached screenshot rendered using attached XML.

 

Can you please send us the screenshot of the error details occured while rendering more than 68 category elements?

Capture.PNG

Share this post


Link to post
Share on other sites

Hey,

 

It works!!!! Please find the attached screenshot rendered using attached XML.

 

Can you please send us the screenshot of the error details occured while rendering more than 68 category elements?

 

Thanks so much for response.

when 67 category elements, it works well , and the screenshot rendered by xml is attached which named correct.jpg, the xml string named correct.txt.

when 68 category elements, it does not work, and the screenshot rendered by xml is attached which name error.jpg, the xml string named error.txt. no other more error be found , but only does not display, it is white screen.

thanks again.

post-28249-0-58855900-1338349322_thumb.jpg

correct.txt

post-28249-0-64407600-1338349365_thumb.jpg

error.txt

Share this post


Link to post
Share on other sites

Hey,

 

It still works for me. Both error and correct text files renders Zoomline charts perfectly.

 

Please find the attached screenshots.

 

Also, please enable the debug mode for error.txt to identify if any errors.

 

For more information on 'Debug Window', please refer to the following link

http://docs.fusioncharts.com/charts/contents/Debug/Window.html

error.jpg

correct.png

Share this post


Link to post
Share on other sites

Hey,

 

It still works for me. Both error and correct text files renders Zoomline charts perfectly.

 

Please find the attached screenshots.

 

Also, please enable the debug mode for error.txt to identify if any errors.

 

For more information on 'Debug Window', please refer to the following link

http://docs.fusionch...bug/Window.html

 

Thank you very much.This problem has been resolved. All is Normal when use compactDataMode form.

But there is another problem. in demo, it can show or hide the Legend by click on it, but in my project ,there is not response when i click on the legend. is there any javascript contral it or any attribute in <chart> element about this?

Share this post


Link to post
Share on other sites

Hey,

 

Glad to know it works finally.:D

 

Starting v3.2, the legend is interactive. That is, when you click on each legend icon, it hides the dataset corresponding to that item.

 

Try setting "interactiveLegend" attribute to 1 in the chart element. This attribute lets you interact with the legend in your chart. When you click a legend key, the dataplots associated with that series are eliminated from the chart. Re-clicking the key causes the dataplots to reappear.

 

Hope this helps.

Share this post


Link to post
Share on other sites

Hey,

 

Glad to know it works finally.:D

 

Starting v3.2, the legend is interactive. That is, when you click on each legend icon, it hides the dataset corresponding to that item.

 

Try setting "interactiveLegend" attribute to 1 in the chart element. This attribute lets you interact with the legend in your chart. When you click a legend key, the dataplots associated with that series are eliminated from the chart. Re-clicking the key causes the dataplots to reappear.

 

Hope this helps.

 

Thank you very much. The cause of the problem is that version is too old. Now all problem is solved.Thanks again.rolleyes.gif

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