Sign in to follow this  
Manjuanth

Legend bgcolor attribute is applying in Mozilla

Recommended Posts

Hi, 

 

 

 I am trying apply bgcolor for pieChart legend text it's working fine in IE, but it's not applying in Mozilla. Please help on thins.

 

Here is my chart data.

 

<chart  exportEnabled='1' exportHandler='ACB.aspx' exportAtClient='0' exportAction='download' showAboutMenuItem='0' animation = '1' showLegend = '1' bgColor = 'FFFFFF,FFFFFF' useRoundEdges = '1' >
  <set label='Employee 1.' value='2'  />
  <set label='Employee 2' value='2'  />
  <set label='Employee 3' value='2'  />
  <set label='Employee 4' value='2'  />
  <set label='Employee 5' value='2'  />
  <set label='Employee 6' value='2'  />
  <styles>
    <definition>
      <style name = 'LegendFont' type = 'Font' bgColor = '1912e6' />
    </definition>
    <application>
      <apply ToObject='Legend' Styles ='LegendFont'/>
    </application>
  </styles>

</chart> 

Share this post


Link to post
Share on other sites
Guest Rishab

Hi,

Currently, it is not possible to provide style functionality to Pie chart's 'Legend' object.

You can use 'legendBgColor' attribute of the <chart> element to apply background color for the legend.

Below is the screenshot of the same-

post-47865-0-53474400-1382700565_thumb.jpg

Please refer the link below for more functional and cosmetic properties of the legend.
http://docs.fusioncharts.com/charts/contents/ChartSS/Pie2D.html#Anchor25

If this is not what you are looking for, please provide a screenshot on your requirement.

Share this post


Link to post
Share on other sites

Hi ,

 

               Thanks for the response..

 

               It's not only for Pie chart, I have tried  to apply legend text background color for all chart type.

 

               Please find attached screen shot for your reference..

Edited by Manjuanth

Share this post


Link to post
Share on other sites

Hi ,

 

               Thanks for the response..

 

               It's not only for Pie chart, I have tried  to apply legend text background color for all chart type.

 

               Please find attached screen shot for your reference..which is i am looking for..

 

 

 

post-58545-0-26181100-1383133674_thumb.jpg

Share this post


Link to post
Share on other sites
Guest Rishab

Hi,

Currently, it is not possible to provide background color only for the text appearing in legend.

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