harini Report post Posted June 28, 2011 Hi, In my scatter charts, I'm using drawline=1. I'm also setting interactiveLegend to 1. When I click on the legend, only the markers/anchors for the scatter plot are removed. Is there something else I need to do to remove the entire line? Thanks, Harini Share this post Link to post Share on other sites
Guest Angshu Report post Posted June 29, 2011 Hi, Thanks for your post. You would need to set the <drawLine='1'> attribute inside the <dataset> element. This attribute helps you to connect the scatter points of any datasets using lines. 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. Please find the sample XML below: <chart palette='2' caption='Server Performance' yAxisName='Response Time (sec)' xAxisName='Server Load (TPS)' xAxisMaxValue='100' xAxisMinValue='20' yAxisMaxValue='7' interactiveLegend='1'> <categories verticalLineColor='666666' verticalLineThickness='1'> <category label='20' x='20' showVerticalLine='1'/> <category label='30' x='30' showVerticalLine='1'/> <category label='40' x='40' showVerticalLine='1'/> <category label='50' x='50' showVerticalLine='1'/> <category label='60' x='60' showVerticalLine='1'/> <category label='70' x='70' showVerticalLine='1'/> <category label='80' x='80' showVerticalLine='1'/> <category label='90' x='90' showVerticalLine='1'/> <category label='100' x='100' showVerticalLine='0'/> </categories> <dataset seriesName='Server 1' color='009900' anchorSides='3' anchorRadius='4' anchorBgColor='D5FFD5' anchorBorderColor='009900' drawLine='1'> <set y='2.4' x='21' /> <set y='3.5' x='32' /> <set y='2.5' x='43' /> <set y='4.1' x='48' /> <set y='3.5' x='50' /> <set y='4.6' x='56' /> <set y='4.8' x='59' /> <set y='4.9' x='73' /> <set y='4.6' x='89' /> <set y='4.2' x='93' /> </dataset> <dataset seriesName='Server 2' color='0000FF' anchorSides='4' anchorRadius='4' anchorBgColor='C6C6FF' anchorBorderColor='0000FF' drawLine='1'> <set y='1.4' x='23'/> <set y='1.5' x='29'/> <set y='1.5' x='33'/> <set y='1.1' x='41'/> <set y='1.5' x='47'/> <set y='1.6' x='49'/> <set y='1.8' x='51'/> <set y='1.9' x='53'/> <set y='1.6' x='57'/> <set y='1.2' x='58'/> <set y='1.9' x='61'/> <set y='1.1' x='63'/> <set y='1.9' x='64'/> <set y='1.7' x='71'/> <set y='1.1' x='77'/> <set y='1.3' x='79'/> <set y='1.7' x='83'/> <set y='1.8' x='89'/> <set y='1.9' x='91'/> <set y='1.0' x='93'/> </dataset> </chart> Hope this helps. Share this post Link to post Share on other sites
harini Report post Posted June 29, 2011 Thanks for the reply. My question concerns how to make the line that is drawn due to drawline disappear. I can make the anchors go away by clicking on the legend, but the line remains. Is that expected behavior? I tired the sample xml you provided in your e-mail and saw the same behavior. See the attached file. I've clicked on the legend for the blue line. As you can see the markers for the blue lines are gone, but the line itself remains. Is there a workaround? Thanks, Harini Share this post Link to post Share on other sites
Guest Angshu Report post Posted June 30, 2011 Hi, Thanks for your response. Coud you please send us a screenshot or any live link of your requirement? Awaiting for your reply. Share this post Link to post Share on other sites
harini Report post Posted June 30, 2011 (edited) Hi, Sorry. I missed the file in my last post. I've attached a screenshot of the behavior I see. What I want is for the blue line to completely disappear. Thanks, Harini scatterChart_interactiveLegend_drawline.zip Edited June 30, 2011 by harini Share this post Link to post Share on other sites
Sanjukta Report post Posted July 1, 2011 Hi, Apologies for the inconvenience. This is currently an issue with the Scatter chart. But I am glad to let you know that this has been already fixed and would be officially released with the next upgraded version, i.e FusionCharts v3.2.2. In case you are an existing customer, please mail us your Order ID at [email protected] and we would get back to you shortly on this. Thank you for your continued patience and patronage. Share this post Link to post Share on other sites
JF Report post Posted July 16, 2012 We have FusionCharts v3.2.2 and this issue does not appear to be fixed. Has it in fact been fixed for v3.2.2? Our "drawLine='1'" attributes are in the dataset elements, yet the lines do not disappear when the anchors in the legend are clicked. Only the anchors in the chart disappear. Share this post Link to post Share on other sites
Guest Bindhu Report post Posted July 17, 2012 (edited) Hi, I am afraid, I am unable to replicate the issue using FusionCharts XT, FusionCharts XT SR1, FusionCharts XT SR2 or FusionCharts XT SR3. Please confirm that you have replaced all the old files with XT files and cleared browser cache memory before re-testing. Please find attached screen shot. Hope this helps! Edited July 17, 2012 by Bindhu Share this post Link to post Share on other sites
JF Report post Posted July 17, 2012 (edited) Clearing the browser cache did the trick. Now the lines disappear/reappear when their corresponding legend is clicked.Thanks! Edited July 17, 2012 by JF Share this post Link to post Share on other sites
Guest Bindhu Report post Posted July 18, 2012 Hi, We are glad to know that it helped. Happy FusionCharting Share this post Link to post Share on other sites