Sign in to follow this  
Sagar Kamate

Legends Not Showing

Recommended Posts

Hello to all,

 

I am using the Line charts in my asp.net web application.

 

And according to the date selection criteria i am showing the line chart.

 

if i have multiple records for selected range, every thing is working fine. It showing the correct chart and also the legends.

 

but if i have only one record then it does not show single point on chart and also not showing the legends.

 

I am using the Fusion flash charts for IE browser.

Edited by Sagar Kamate

Share this post


Link to post
Share on other sites

Hi Sagar,

 

Legend is supported only for multi-series / combination charts. The legend does not appear for single-series charts because there is only one series in the chart.

 

Only Pie/Doughnut charts supports legend using Single series of data.

 

If you are rendering a Single series Line chart(Line.swf), legend will not be displayed.

 

Also, can you please confirm which chart type is used to display single point on the chart?

 

Hope this helps.:)

Share this post


Link to post
Share on other sites

Hello Swarnam,

 

Thank you for replaying .I have issue specifically in IE browser.

 

I am using multi series line chart. and legends are displayed in FireFox but not a single point.

 

And for FireFox we have used the javascript for rendering.

 

While for IE we have used flash for rendering and for IE point as well as legends are not showing.

Edited by Sagar Kamate

Share this post


Link to post
Share on other sites

It works only if it rendered through the Java Script Mode.

In flash mode it throws error.Please tell me how to do this in flash mode.

 

<chart yAxisMaxValue="12" yAxisMinValue="2.5" bgColor="121212" bgAlpha="100"

canvasbgColor="121212" canvasbgAlpha="100" baseFont="Arial" baseFontSize="12"

baseFontColor="6C6C6C" outCnvBaseFont="Arial" outCnvBaseFontSize="12"

outCnvBaseFontColor="6C6C6C" legendBgColor="121212" legendBgAlpha="100"

legendBorderColor="121212" legendBorderAlpha="100" legendShadow="0"

showValues="0" showAlternateHGridColor="0" DivlineColor="121212" DivlineAlpha="100"

DivlineThickness="0" paletteColors="FAB71F,F18904,CC4516,678377,A5AC4C"

legendPosition="BOTTOM" anchorRadius="0" xAxisNamePadding="30"

interactiveLegend="1" showPercentageValues="1" caption="Avg Vs.Month"

chartLeftMargin="18" captionPadding="5" legendNumColumns="2"

AlternateHGridColor="121212" adjustDiv="0" rotateLabels="1" slantLabels="1"

exportEnabled="0" exportShowMenuItem="0" exportAtClient="0" showBorder="0" plotFillRatio="100,0">

<categories>

<category label="02/12"/>

</categories>

<dataset SeriesName="Jan">

<set value="5.09"/>

</dataset>

<dataset SeriesName="Feb">

<set value="8.03"/>

</dataset>

<dataset SeriesName="Mar">

<set value="10.45"/>

</dataset>

<dataset SeriesName="Apr">

<set value="5.93"/>

</dataset>

<dataset SeriesName="May">

<set value="6.28"/>

</dataset>

<dataset SeriesName="Jun">

<set value="5.08"/>

</dataset>

<dataset SeriesName="Jul">

<set value="10.84"/>

</dataset>

<styles>

<definition>

<style name="myLabelsFont" type="font" font="Arial" size="12" color="6C6C6C"/>

<style name="myLegendFont" type="font" font="Arial" size="12" color="FFFFFF"/>

</definition>

<application>

<apply toObject="DATAPLOT" styles=""/>

<apply toObject="DataLabels" styles=""/>

<apply toObject="Legend" styles=""/>

</application>

</styles>

</chart>

Edited by Sagar Kamate

Share this post


Link to post
Share on other sites
Guest Bindhu

Hi Sagar,

 

Thank you for the XML data.

 

Please try and upgrade to the latest version of FusionCharts XT, i.e., FusionCharts v3.2.2 SR3.

 

Also, please remove the 'anchorRadius' attribute definition from the XML data.

 

Please find attached screen shot of the chart rendered in IE browser and in FireFox browser.

 

Hope this helps !

post-23884-0-31972900-1334652087_thumb.png

post-23884-0-62420300-1334652337_thumb.png

Edited by Bindhu

Share this post


Link to post
Share on other sites

Hi,

 

Thank you for answer.

 

Can you suggest me another solution for that?(Rather than changing the version

because i have used the charts for near about 25 forms and another all is working fine except this one)

 

It works for the Javascript rendered mode.

 

I want to do this in flash mode for IE browsers7 and on words.

 

Edited by Sagar Kamate

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