Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question: LineChart variable line thickness? #3285

Closed
mikeCalvir opened this issue Feb 21, 2018 · 2 comments
Closed

Question: LineChart variable line thickness? #3285

mikeCalvir opened this issue Feb 21, 2018 · 2 comments

Comments

@mikeCalvir
Copy link

Apologies for creating an issue for a question (I'll repost if I should ask this elsewhere?), but I am wondering if there is a simple way to achieve variable line thicknesses?

I typically only want two actual thicknesses applied, so a section of say thickness 4 and sections of thickness 8, and switching between them multiple times through the series.

Thanks for any thoughts/advice on how to go about this :)

@liuxuan30
Copy link
Member

liuxuan30 commented Feb 22, 2018

Everyone is encouraged to ask on SO now. For your question, it's more like a customization for your needs. So you can override the line chart renderer and add an array of line width.

for a single line width: dataSet.lineWidth

@mikeCalvir
Copy link
Author

That should give me enough to go on, thanks Xuan, appreciated!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants