Sign in to follow this  
Upendar Srirangam

Legend Is Hidden When All The Set Values Are Null For A Series.

Recommended Posts

HI,

We are using Fusion Charts licensed version for one of our IPad applications.

For one of the charts we have 3 legends, i.e we have 3 DataSets. For one of hte datasets we are getting null for all the columns, which is resulted completely hiding the Legend.

Is there any way for displaying Legend, even if all the values are null.

We have set the ConnectNullData to false as per the requirement.

 

We appreciate the quick response on this.

 

Thanks

Upendar,

Share this post


Link to post
Share on other sites
Guest Angshu

Hi,

 

Thanks for your post.

 

Could you please send us the XML code to test it from our end?

 

Awaiting for your response.

Share this post


Link to post
Share on other sites

Hi Team,

Below isthe sample data. For below XML one of the series called "FY 12 Plan" all the values are null and that series is not displayed.

We appreciate the quick response on this.

 

<?xml version="1.0" encoding="utf-16"?><chart AdjustDiv="0" AlternateHGridColor="000000,000000" Animation="1" BGAlpha="100,100" BGColor="000000" BaseFont="arial" BaseFontColor="FFFFFF" BaseFontSize="15" CanvasBGColor="000000" CanvasPadding="40" ConnectNullData="0" Decimals="1" DefaultAnimation="1" DivLineAlpha="100" DivLineColor="666666" DivLineIsDashed="0" DivLineThickness="1" DrawAnchors="1" ExportAction="Save" ExportAtClient="0" ExportDataFormattedVal="0" ExportDataQualifier="Tab" ExportDataSeparator="Tab" ExportEnabled="0" ExportShowMenuItem="0" ExportTargetWindow="Self" ForceDecimals="0" FormatNumber="1" FormatNumberScale="0" LabelDisplay="Wrap" LegendAllowDrag="0" LegendBGAlpha="100" LegendBGColor="000000" LegendBorderColor="CCCCCC" LegendBorderThickness="1" LegendIconScale="2" LegendMarkerCircle="0" LegendPosition="Bottom" LegendShadow="1" LineDashGap="0" LineDashLen="10" LineDashed="0" LineThickness="1" LogoPosition="TL" NumberSuffix="%" OutCnvBaseFont="arial" OutCnvBaseFontSize="10" OverlapColumns="0" Palette="1" PaletteColors="002776,92D400,FFFFFF,00A1DE" PlotBorderColor="ffffff" PlotSpacePercent="40" ReverseLegend="0" RotateLabels="0" RotateValues="0" RotateYAxisName="1" SFormatNumber="1" SFormatNumberScale="1" SeriesNameInToolTip="1" SetAdaptiveSYMin="0" SetAdaptiveYMin="0" ShowAboutMenuItem="1" ShowAlternateHGridColor="0" ShowBorder="0" ShowCanvasBG="1" ShowCanvasBase="0" ShowDivLineSecondaryValue="0" ShowDivLineValues="1" ShowExportDataMenuItem="0" ShowExportDialog="1" ShowLabels="1" ShowLegend="1" ShowLimits="1" ShowPlotBorder="1" ShowSecondaryLimits="0" ShowShadow="1" ShowToolTip="1" ShowToolTipShadow="0" ShowVLineLabelBorder="1" ShowValues="1" ShowYAxisValues="1" ShowZeroPlane="1" SlantLabels="0" ToolTipBGColor="000000" ToolTipBorderColor="CCCCCC" Use3DLighting="0" Use3DLineShift="0" UseRoundEdges="1" YAxisValueDecimals="1" YAxisValuesPadding="10" ZeroPlaneColor="#FFFFFF" ZeroPlaneShowBorder="1" ZeroPlaneThickness="1" is2D="1" plotgradientcolor="" YAxisMaxValue="88.32996" YAxisMinValue="0" NumDivLines="4"><categories FontSize="10"><category Label="P1" ShowLabel="1" /><category Label="P2" ShowLabel="1" /><category Label="P3" ShowLabel="1" /><category Label="P4" ShowLabel="1" /><category Label="P5" ShowLabel="1" /><category Label="P6" ShowLabel="1" /><category Label="P7" ShowLabel="1" /><category Label="P8" ShowLabel="1" /><category Label="P9" ShowLabel="1" /><category Label="P10" ShowLabel="1" /><category Label="P11" ShowLabel="1" /><category Label="P12" ShowLabel="1" /><category Label="P13" ShowLabel="1" /></categories><dataset Alpha="100" SeriesName="FY 11 Actual" ShowValues="0" anchorBgColor="002776" anchorBorderColor="002776" lineThickness="2"><set Alpha="80" Color="" Value="64.7" /><set Alpha="80" Color="" Value="63.0" /><set Alpha="80" Color="" Value="71.6" /><set Alpha="80" Color="" Value="71.1" /><set Alpha="80" Color="" Value="70.1" /><set Alpha="80" Color="" Value="73.2" /><set Alpha="80" Color="" Value="65.7" /><set Alpha="80" Color="" Value="50.2" /><set Alpha="80" Color="" Value="82.2" /><set Alpha="80" Color="" Value="88.3" /><set Alpha="80" Color="" Value="83.2" /><set Alpha="80" Color="" Value="74.8" /><set Alpha="80" Color="" Value="67.9" /></dataset><dataset Alpha="100" SeriesName="FY 12 Actual" ShowValues="0" anchorBgColor="92D400" anchorBorderColor="92D400" lineThickness="2"><set Alpha="80" Color="" Value="62.5" /><set Alpha="80" Color="" Value="36.2" /><set Alpha="80" Color="" /><set Alpha="80" Color="" /><set Alpha="80" Color="" /><set Alpha="80" Color="" /><set Alpha="80" Color="" /><set Alpha="80" Color="" /><set Alpha="80" Color="" /><set Alpha="80" Color="" /><set Alpha="80" Color="" /><set Alpha="80" Color="" /><set Alpha="80" Color="" /></dataset><dataset Alpha="100" RenderAs="Line" SeriesName="FY 12 Plan" ShowValues="0" anchorBgColor="FFFFFF" anchorBorderColor="FFFFFF" lineThickness="2"><set Alpha="80" Color="" /><set Alpha="80" Color="" /><set Alpha="80" Color="" /><set Alpha="80" Color="" /><set Alpha="80" Color="" /><set Alpha="80" Color="" /><set Alpha="80" Color="" /><set Alpha="80" Color="" /><set Alpha="80" Color="" /><set Alpha="80" Color="" /><set Alpha="80" Color="" /><set Alpha="80" Color="" /><set Alpha="80" Color="" /></dataset></chart>

 

Regards,

Upendar.

Hi,

 

Thanks for your post.

 

Could you please send us the XML code to test it from our end?

 

Awaiting for your response.

Share this post


Link to post
Share on other sites
Guest Angshu

Hi,

 

Thanks for your response.

 

Could you please confirm the FusionCharts version you are using?

 

In case you are using FusionCharts XT(3.2.2), I am afraid, legend would not appear if all values are null for that dataset.

 

Hope this helps.

Share this post


Link to post
Share on other sites

We are using same version now.

 

Can you tell me in which version it works correct?

 

 

 

Thanks

Upendar.

Hi,

 

Thanks for your response.

 

Could you please confirm the FusionCharts version you are using?

 

In case you are using FusionCharts XT(3.2.2), I am afraid, legend would not appear if all values are null for that dataset.

 

Hope this helps.

Share this post


Link to post
Share on other sites
Guest Angshu

Hi,

 

It would work correctly in v 3.2.1.

Please find the screenshot attached for your reference.

 

Hope this helps.

post-10517-0-65591100-1322823432_thumb.png

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