Sign in to follow this  
sschubert

Legend Not Rendering

Recommended Posts

I've checked for some other posts on the topic, but wasn't able to find any. If I missed one please feel free to direct me to the correct thread....

 

 

 

I wrote a report generator that based off of options, will choose the fusion chart needed to render the relationships of the data accordingly. Certain options require that the fusion chart used support multi-series data, or even multi-series stacked data. The reports are generating correctly with no issues other than no legend is rendered in any of the cases resulting in a multi-series report. I'm certain I'm missing something pretty simple, but am at a loss here...

 

 

 

Here are the debugging options I've gone through

 

1) Set the chart element xml attribute legendPosition="RIGHT" to see if it would show up.

 

2) Set the chart element xml attribute to showLegend="1".

 

3) Ran the charts in debug to verify that the dataXml being rendered did in fact contain the attributes specified above, as well as verify that the LEGEND object was defined for the chart.

 

 

 

I'm attaching a screenshot of the debug report without the attributes I added above - as I understand it the multi-series will default to using a legend. The screenshot shows the chart type, the legend object defined, but no legend being rendered.

 

 

 

Any help would be appreciated.

 

 

 

Regards,

 

 

 

Seth

 

 

 

Any idea's would be appreciated.

post-438-128441564096_thumb.jpg

Share this post


Link to post
Share on other sites

I found the solution to my problem - i was not setting the "seriesName" attribute on the dataset element in the xml used by the chart - pretty simple mistake, but pretty easy to make. Just thought I'd post back in case anyone else runs into the issue =)

 

 

 

Regards,

 

 

 

Seth

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