Skip to content
This repository has been archived by the owner on Sep 17, 2021. It is now read-only.

Line Chart - Line Thickness/Width #44

Closed
edencakir opened this issue Jan 14, 2017 · 2 comments
Closed

Line Chart - Line Thickness/Width #44

edencakir opened this issue Jan 14, 2017 · 2 comments

Comments

@edencakir
Copy link
Contributor

Is there a way to set the line thickness/width? If we are to use showAreas: false it becomes really difficult to see the lines.

@marzolfb
Copy link
Contributor

That configuration option, unfortunately, is not directly exposed in this library (yet). It should be a pretty quick PR for someone else or myself to add the strokeWidth property on line 88 of Line.js (see the common props documentation on the react-native-svg repo). Feel free to give it a shot if you want.

edencakir added a commit to edencakir/react-native-pathjs-charts that referenced this issue Jan 15, 2017
Added the option to set line widths to line charts.
@edencakir
Copy link
Contributor Author

edencakir commented Jan 15, 2017

@marzolfb I could've changed the Options constructor and add default props, but instead, I've just followed the showArea prop setup. Hope this works, I'm already using this one in my project. Thank you for the help.

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

No branches or pull requests

2 participants