Sign in to follow this  
Rahul44

Legend to match anchorSides to differentiate

Recommended Posts

Hi,

I'm charting multiple data sets in a line graph. To distinguish the different lines I'm using the anchorSides property to generate triangles, squares.

I would like to display not only the color but the symbol that is being used for that dataset in the Legend.

Is there a way I can achieve this, it will help if someone prints out the graph in b&w to differentiate the lines and for people who are color blind.

Also let me know if there is a custom way of doing this by using <styles>.

Thanks for your time help.

Rahul

Share this post


Link to post
Share on other sites
Guest Sumedh

Hello Rahul,

 

Chart will display the relevant symbols (anchors) in the legend which will be defined while creating dataset elements.

 

You can use anchorSides and anchorRadius attributes to configure the anchors.

 

Please find attached screen-shot for your reference.

 

For more information, please refer the following link:

http://docs.fusioncharts.com/charts/contents/ChartSS/MSLine.html

 

Hope this helps!

 

post-24802-0-08717600-1378476247_thumb.png

Share this post


Link to post
Share on other sites

Hi sumedh,

 

                  I am using anchorSides and anchorRadius in my dataset but the legend is still comming up with square boxes regardless of the different specification.

  

<dataset seriesName='2014' color='330000' anchorBgColor='330000' anchorRadius='7' anchorSides='3'> 

 

Is it becasue i am using the Older version i think its (Fusion Charts 3.1.1). I probaly should have mentioned earlier(my bad). Let me know if there is a way i can still do this.  

 

Thank you for your help.

 

Rahul

 

P.S Thank you bmcwhorter for your input.

Share this post


Link to post
Share on other sites
Guest Rishab

Hi,

 

Please update your FusionCharts XT suite to the latest version and try setting the attribute 'legendIconScale' of the <chart> element to the appropriate value from 0-5.

 

This attribute lets you control the size of legend icon.

For example-

<chart legendIconScale='3'..>
...
</chart>

Hope this helps!

Edited by Rishab

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