Sign in to follow this  
inagendra

Legend In Single Line

Recommended Posts

Can I show legend in a single line.

 

In my chart, it is spread across two lines though there is space on left and right side of legend.

 

Is there a way to force the legend to occupy only one line?

 

Regards.

Nagendra

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 look into the issue?

 

Awaiting for your response.

Share this post


Link to post
Share on other sites

Hi Angshu,

 

Here is the chart xml:

 

<chart yAxisName="No Of Chunks" xAxisName="Milestone" showSum="0" palette="3" useRoundEdges="1" showLegend="1"

showAlternateHGridColor="0" divLineAlpha="15" bgColor="EDEFFF" chartTopMargin="40"

exportHandler="FusionCharts/ExportHandlers/JSP/FCExporter.jsp" exportAction="save" exportFileName="RDBChunks_"

exportEnabled="1" showExportDialog="0" exportShowMenuItem="0" exportAtClient="0" plotSpacePercent="50"

xmlns="sc2d.fc.omp.netapp.com">

<categories fontSize="10" fontColor="000000" font="Arial" xmlns="">

<category label="M0"/>

<category label="M1"/>

<category label="M2"/>

<category label="M3"/>

<category label="M4"/>

<category label="M5"/>

<category label="M6"/>

<category label="M7"/>

<category label="M8"/>

</categories>

<dataset seriesName="Completed" showValues="0" color="009933" xmlns="">

<set value="6.0"/>

<set value="5.0"/>

<set value="22.0"/>

<set value="34.0"/>

<set value="65.0"/>

<set value="80.0"/>

<set value="15.0"/>

<set value="0.0"/>

<set value="0.0"/>

</dataset>

<dataset seriesName="In Progress" showValues="0" color="B6B6B6" xmlns="">

<set value="0.0"/>

<set value="0.0"/>

<set value="0.0"/>

<set value="0.0"/>

<set value="0.0"/>

<set value="0.0"/>

<set value="73.0"/>

<set value="37.0"/>

<set value="4.0"/>

</dataset>

<dataset seriesName="Pending Overdue" showValues="0" color="FF2012" xmlns="">

<set value="0.0"/>

<set value="0.0"/>

<set value="0.0"/>

<set value="0.0"/>

<set value="1.0"/>

<set value="4.0"/>

<set value="6.0"/>

<set value="0.0"/>

<set value="0.0"/>

</dataset>

</chart>

 

The legend is occupying two rows of space.

 

Regards,

Nagendra

Share this post


Link to post
Share on other sites
Guest Angshu

Hi,

 

Thanks for your response.

 

I am afraid, we are unable to replicate the issue,as the code is working fine from our end.

 

Please find the screenshot attached for your reference.

post-10517-0-09710400-1326804657_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