Sign in to follow this  
sabotage

Legend For Column With Alpha

Recommended Posts

Hi,

 

I'm doing a 3D Stacked Columns chart.

One serie is red, and the other is the same color with alpha transparency.

 

The problem is that, both series are displayed with the same red in the legend.

 

Isn't there a trick ?

 

Thank you.

Share this post


Link to post
Share on other sites
Guest Sumedh

Hi,

 

A warm welcome to FusionCharts Forum! smile.gif

 

Can you please send us the screen-shot of your issue for better comprehension?

 

Also, send us the charts XML, for testing purposes.

Share this post


Link to post
Share on other sites

Thank you for your interest for my problem.

 

<chart caption='' yAxisMaxValue='80' MaxColWidth ='40'>
<categories>
<category label='01/02' />
<category label='03/02' />
<category label='04/02' />
<category label='05/02' />
<category label='06/02' />
<category label='07/02' />
</categories>
<dataset seriesName='plain' color='AA3532'>
<set value='47' />
<set value='30' />
<set value='45' />
<set value='42' />
<set value='8' />
<set value='6' />
</dataset>
<dataset seriesName='alpha' color='AA3532' alpha='70' >
<set value='' />
<set value='' />
<set value='' />
<set value='' />
<set value='29' />
<set value='27' />
</dataset>
</chart>

post-36540-0-13341400-1360242806_thumb.jpg

Edited by sabotage

Share this post


Link to post
Share on other sites
Guest Sumedh

Hi,

 

Thanks for sharing the information.

 

Since you are passing the same color to the two <dataset> elements and the transparency effect (alpha) of will not work on the legend icons.

 

To show a slight difference, you would need to specify a closer color code in the second <dataset> to the color that you have specified already.

 

Hope this helps!

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