C3: Set thickness of lines in timeseries & line charts

Created on 5 Dec 2014  ·  3Comments  ·  Source: c3js/c3

I don't see any way to do this in the c3 API, is there some CSS rule I can use?

Thanks!

Most helpful comment

@seubert you can just increase the stroke-thickness on .c3-line - see this JSFiddle for an example :)

All 3 comments

@seubert you can just increase the stroke-thickness on .c3-line - see this JSFiddle for an example :)

Thanks for answering that, @AnSavvides! @seubert — eventually this will be in the c3js.org API reference, which is something I plan to write documentation for this week.

_Edit:_ Actually, @AnSavvides, mind if I use your JSFiddle as an example in the reference? If not, could you please add a quick doc comment to your CSS, formatted like the following:

/**
 * masayuki/c3#808 — "Set thickness of lines in timeseries & line charts"
 * Example by github.com/AnSavvides, 2014
 * License: MIT
 */

Feel free to change the license from MIT to something compatible. Thanks!

Thanks, @AnSavvides and @aendrew ! Much appreciated.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Zerim picture Zerim  ·  3Comments

u119102 picture u119102  ·  3Comments

DieterSpringer picture DieterSpringer  ·  4Comments

mwho picture mwho  ·  3Comments

aishwaryak picture aishwaryak  ·  4Comments