Sign in to follow this  
gsnans

Interactive Legend Not Working

Recommended Posts

I'm plotting data using ScrollLine2D.swf. The interactive legend feature is not working on my chart. Here the chart configuration,

$strXML = "<chart caption='$caption' decimals='1' adjustDiv='0' interactiveLegend='1' decimals='0' numberPrefix='$' divIntervalHints='15' numDivLines='6' showValues='0' numVisiblePlot='8'>";

 

The legendare properly displayed on the chart, but when I click on the legend items, nothing happens.

 

Can you please help?

 

Thanks,

-Surya

Share this post


Link to post
Share on other sites

Hi Surya,

 

Could you please send us the XML file that you are using to render the chart?

 

Awaiting your reply.

 

Here is the XML string that is getting passed,

<categories><category name='2010-12-01' /><category name='2010-12-02' /><category name='2010-12-03' /><category name='2010-12-04' /><category name='2010-12-05' /><category name='2010-12-06' /><category name='2010-12-07' /><category name='2010-12-08' /><category name='2010-12-09' /><category name='2010-12-10' /><category name='2010-12-11' /><category name='2010-12-12' /><category name='2010-12-13' /><category name='2010-12-14' /><category name='2010-12-15' /><category name='2010-12-16' /><category name='2010-12-17' /><category name='2010-12-18' /><category name='2010-12-19' /><category name='2010-12-20' /><category name='2010-12-21' /><category name='2010-12-22' /><category name='2010-12-23' /><category name='2010-12-24' /><category name='2010-12-25' /><category name='2010-12-26' /><category name='2010-12-27' /><category name='2010-12-28' /><category name='2010-12-29' /><category name='2010-12-30' /><category name='2010-12-31' /><category name='2010-12-31' /></categories><dataset seriesName='Crowne Plaza Hotel Madison'><set value='NA' /><set value='125' /><set value='119' /><set value='100' /><set value='100' /><set value='115' /><set value='124' /><set value='124' /><set value='115' /><set value='115' /><set value='95' /><set value='95' /><set value='115' /><set value='115' /><set value='115' /><set value='115' /><set value='115' /><set value='95' /><set value='95' /><set value='95' /><set value='95' /><set value='95' /><set value='95' /><set value='95' /><set value='95' /><set value='95' /><set value='95' /><set value='95' /><set value='95' /><set value='95' /><set value='95' /><set value='95' /></dataset><dataset seriesName='Comfort Inn and Suites Madison'><set value='60' /><set value='65' /><set value='70' /><set value='65' /><set value='60' /><set value='60' /><set value='60' /><set value='60' /><set value='60' /><set value='60' /><set value='60' /><set value='60' /><set value='60' /><set value='60' /><set value='60' /><set value='60' /><set value='60' /><set value='60' /><set value='60' /><set value='60' /><set value='60' /><set value='60' /><set value='60' /><set value='60' /><set value='60' /><set value='60' /><set value='60' /><set value='60' /><set value='60' /><set value='60' /><set value='60' /><set value='' /></dataset><dataset seriesName=' Holiday Inn Madison at The American Center'><set value='120' /><set value='109' /><set value='91' /><set value='91' /><set value='109' /><set value='136' /><set value='165' /><set value='120' /><set value='103' /><set value='79' /><set value='79' /><set value='79' /><set value='86' /><set value='79' /><set value='79' /><set value='79' /><set value='86' /><set value='86' /><set value='80' /><set value='80' /><set value='80' /><set value='80' /><set value='80' /><set value='80' /><set value='80' /><set value='80' /><set value='80' /><set value='80' /><set value='80' /><set value='80' /><set value='94' /><set value='' /></dataset><dataset seriesName='La Quinta Inn & Suites Madison-American Center'><set value='82' /><set value='79' /><set value='79' /><set value='79' /><set value='75' /><set value='79' /><set value='79' /><set value='79' /><set value='75' /><set value='75' /><set value='75' /><set value='75' /><set value='79' /><set value='79' /><set value='75' /><set value='75' /><set value='75' /><set value='79' /><set value='75' /><set value='75' /><set value='75' /><set value='75' /><set value='72' /><set value='75' /><set value='79' /><set value='79' /><set value='75' /><set value='75' /><set value='75' /><set value='72' /><set value='82' /><set value='' /></dataset><dataset seriesName='Howard Johnson Plaza Hotel Madison'><set value='69' /><set value='69' /><set value='69' /><set value='69' /><set value='69' /><set value='69' /><set value='69' /><set value='59' /><set value='59' /><set value='59' /><set value='59' /><set value='59' /><set value='59' /><set value='59' /><set value='59' /><set value='59' /><set value='59' /><set value='59' /><set value='59' /><set value='59' /><set value='59' /><set value='59' /><set value='59' /><set value='59' /><set value='59' /><set value='59' /><set value='59' /><set value='59' /><set value='59' /><set value='59' /><set value='59' /><set value='' /></dataset><dataset seriesName='Best Western East Towne Suites '><set value='72' /><set value='72' /><set value='72' /><set value='NA' /><set value='68' /><set value='68' /><set value='68' /><set value='68' /><set value='68' /><set value='68' /><set value='68' /><set value='68' /><set value='68' /><set value='68' /><set value='68' /><set value='68' /><set value='68' /><set value='68' /><set value='68' /><set value='NA' /><set value='68' /><set value='68' /><set value='68' /><set value='68' /><set value='68' /><set value='68' /><set value='68' /><set value='68' /><set value='68' /><set value='68' /><set value='68' /><set value='' /></dataset><dataset seriesName='Average'><set value='81' /><set value='87' /><set value='83' /><set value='81' /><set value='80' /><set value='88' /><set value='94' /><set value='85' /><set value='80' /><set value='76' /><set value='73' /><set value='73' /><set value='78' /><set value='77' /><set value='76' /><set value='76' /><set value='77' /><set value='75' /><set value='73' /><set value='74' /><set value='73' /><set value='73' /><set value='72' /><set value='73' /><set value='74' /><set value='74' /><set value='73' /><set value='73' /><set value='73' /><set value='72' /><set value='76' /><set value='16' /></dataset>

Share this post


Link to post
Share on other sites

<chart caption='DAILY RATE FOR 1-NIGHT STAY' decimals='1' adjustDiv='0' interactiveLegend='1' decimals='0' numberPrefix='$' divIntervalHints='15' numDivLines='6' showValues='0' numVisiblePlot='8'><categories><category name='2010-12-01' /><category name='2010-12-02' /><category name='2010-12-03' /><category name='2010-12-04' /><category name='2010-12-05' /><category name='2010-12-06' /><category name='2010-12-07' /><category name='2010-12-08' /><category name='2010-12-09' /><category name='2010-12-10' /><category name='2010-12-11' /><category name='2010-12-12' /><category name='2010-12-13' /><category name='2010-12-14' /><category name='2010-12-15' /><category name='2010-12-16' /><category name='2010-12-17' /><category name='2010-12-18' /><category name='2010-12-19' /><category name='2010-12-20' /><category name='2010-12-21' /><category name='2010-12-22' /><category name='2010-12-23' /><category name='2010-12-24' /><category name='2010-12-25' /><category name='2010-12-26' /><category name='2010-12-27' /><category name='2010-12-28' /><category name='2010-12-29' /><category name='2010-12-30' /><category name='2010-12-31' /><category name='2010-12-31' /></categories><dataset seriesName='Crowne Plaza Hotel Madison'><set value='NA' /><set value='125' /><set value='119' /><set value='100' /><set value='100' /><set value='115' /><set value='124' /><set value='124' /><set value='115' /><set value='115' /><set value='95' /><set value='95' /><set value='115' /><set value='115' /><set value='115' /><set value='115' /><set value='115' /><set value='95' /><set value='95' /><set value='95' /><set value='95' /><set value='95' /><set value='95' /><set value='95' /><set value='95' /><set value='95' /><set value='95' /><set value='95' /><set value='95' /><set value='95' /><set value='95' /><set value='95' /></dataset><dataset seriesName='Comfort Inn and Suites Madison'><set value='60' /><set value='65' /><set value='70' /><set value='65' /><set value='60' /><set value='60' /><set value='60' /><set value='60' /><set value='60' /><set value='60' /><set value='60' /><set value='60' /><set value='60' /><set value='60' /><set value='60' /><set value='60' /><set value='60' /><set value='60' /><set value='60' /><set value='60' /><set value='60' /><set value='60' /><set value='60' /><set value='60' /><set value='60' /><set value='60' /><set value='60' /><set value='60' /><set value='60' /><set value='60' /><set value='60' /><set value='' /></dataset><dataset seriesName=' Holiday Inn Madison at The American Center'><set value='120' /><set value='109' /><set value='91' /><set value='91' /><set value='109' /><set value='136' /><set value='165' /><set value='120' /><set value='103' /><set value='79' /><set value='79' /><set value='79' /><set value='86' /><set value='79' /><set value='79' /><set value='79' /><set value='86' /><set value='86' /><set value='80' /><set value='80' /><set value='80' /><set value='80' /><set value='80' /><set value='80' /><set value='80' /><set value='80' /><set value='80' /><set value='80' /><set value='80' /><set value='80' /><set value='94' /><set value='' /></dataset><dataset seriesName='La Quinta Inn & Suites Madison-American Center'><set value='82' /><set value='79' /><set value='79' /><set value='79' /><set value='75' /><set value='79' /><set value='79' /><set value='79' /><set value='75' /><set value='75' /><set value='75' /><set value='75' /><set value='79' /><set value='79' /><set value='75' /><set value='75' /><set value='75' /><set value='79' /><set value='75' /><set value='75' /><set value='75' /><set value='75' /><set value='72' /><set value='75' /><set value='79' /><set value='79' /><set value='75' /><set value='75' /><set value='75' /><set value='72' /><set value='82' /><set value='' /></dataset><dataset seriesName='Howard Johnson Plaza Hotel Madison'><set value='69' /><set value='69' /><set value='69' /><set value='69' /><set value='69' /><set value='69' /><set value='69' /><set value='59' /><set value='59' /><set value='59' /><set value='59' /><set value='59' /><set value='59' /><set value='59' /><set value='59' /><set value='59' /><set value='59' /><set value='59' /><set value='59' /><set value='59' /><set value='59' /><set value='59' /><set value='59' /><set value='59' /><set value='59' /><set value='59' /><set value='59' /><set value='59' /><set value='59' /><set value='59' /><set value='59' /><set value='' /></dataset><dataset seriesName='Best Western East Towne Suites '><set value='72' /><set value='72' /><set value='72' /><set value='NA' /><set value='68' /><set value='68' /><set value='68' /><set value='68' /><set value='68' /><set value='68' /><set value='68' /><set value='68' /><set value='68' /><set value='68' /><set value='68' /><set value='68' /><set value='68' /><set value='68' /><set value='68' /><set value='NA' /><set value='68' /><set value='68' /><set value='68' /><set value='68' /><set value='68' /><set value='68' /><set value='68' /><set value='68' /><set value='68' /><set value='68' /><set value='68' /><set value='' /></dataset><dataset seriesName='Average'><set value='81' /><set value='87' /><set value='83' /><set value='81' /><set value='80' /><set value='88' /><set value='94' /><set value='85' /><set value='80' /><set value='76' /><set value='73' /><set value='73' /><set value='78' /><set value='77' /><set value='76' /><set value='76' /><set value='77' /><set value='75' /><set value='73' /><set value='74' /><set value='73' /><set value='73' /><set value='72' /><set value='73' /><set value='74' /><set value='74' /><set value='73' /><set value='73' /><set value='73' /><set value='72' /><set value='76' /><set value='16' /></dataset></chart>")

Share this post


Link to post
Share on other sites

Hi,

 

I am afraid, I am unable to replicate the issue after testing you XML. The "Interactive Legend" feature is working perfectly.

 

Could you please confirm the version of FusionCharts you are currently using?

 

For availing the "Interactive Legend" feature, please make sure you are using the SWF file and the JS (FusionCharts.js, highcharts.js and jquery.ja) files provided in the "Charts" folder of FusionCharts v3.2 or v3.2.1 Download Pack.

 

Hope this helps. :)

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