swallow

How To Set Border Color For Stacked Bar

Recommended Posts

For Stacked Bar 2D Chart,  I tried to set border color for each dataset by assigning color code to "plotBorderColor". However, the border color doesn't change.  

Defining "plotBorderColor" for chart level willl change the border color for all (stacked) columns with the same color, which is not desired. 

How could I make the border color set accordingly for each of the dataset? Is that possible?

Thanks.

Share this post


Link to post
Share on other sites

Hi, this is the XML:

<chart caption='' xAxisName='' yAxisName='Amount' decimals='0' forceDecimals='1' yAxisValuesStep='2' showValues='0' bgAlpha='0' exportEnabled='1' yAxisMaxValue='10000' numDivLines='4' yAxisValueDecimals='0' yAxisMinValue='0' showLegend='0' formatNumberScale='0' bgcolor='ffffff' palette='1' decimalSeparator='.' showBorder='0' defaultAnimation='1' adjustDiv='0' plotGradientColor=''><categories><category label='Test1' /><category label='Test2' /><category label='Test3' /><category label='Test4' /><category label='Test5' /></categories><trendlines /><dataset seriesName='Amount' color='c1d8ed' plotBorderColor='6d9fd3'><set value='8480' /><set value='4719' /><set value='1213.8' /></dataset><dataset seriesName='Test' color='e49090' plotBorderColor='d56761'><set value='242' /><set value='0' /><set value='0' /><set value='1071' /><set value='0' /></dataset></chart>

 

Thanks.

post-41975-0-60434700-1366624823_thumb.jpg

Share this post


Link to post
Share on other sites
Hi,

 

It is not possible to set a separate border color for each data plot. The "plotBorderColor" is used to set the border color of the all the dataplots in the chart.

 

However, if you want to make each dataset to appear different from the other, you may change the alpha of the dataplot or make the border of the dataplot dashed etc.

 

For more information, please refer the documentation link : http://docs.fusioncharts.com/charts/contents/index.html?advanced/Highlight.html

 

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