Cristi S.

How do you set line's thickness?

Recommended Posts

I tried "options.dataSource.dataset[0].lineThickness = 5;", but it does not seem to work. I still get a series with 1px line. Same for "thickness".

 

Regards,

-Cristian

Share this post


Link to post
Share on other sites
Hi,

 

To set line's thickness you can use "lineThickness" attribute at the chart level and set it as the number of pixels required.

 

Also if you want to change it dynamically you can use FusionCharts setChartAttribute api method and set the line thickness.

 

For details regarding setChartAttribute please refer this link http://www.fusioncharts.com/dev/api/fusioncharts/fusioncharts-methods.html#setChartAttribute

 

For further reference please check this sample fiddle link using setChartAttribute api method  http://jsfiddle.net/ayanbhaduryfc/fboruqhb/

Share this post


Link to post
Share on other sites

I'll bother with another related question, if you don't mind please...

 

What about the line thickness in a candlestick chart, for the little stick going out of each candle? I tried with lineThickness, or even borderWidth, and no luck so far.

 

(It worked fine setting the bear/bullFillColor and bear/bullBorderColor)

 

Thanks,

Cristian 

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