react-native-pathjs-charts
react-native-pathjs-charts copied to clipboard
Options for Area fill color and opacity
trafficstars
Currently I modify the Line.js at line 103 to make the chart accept area fill color props and opacity
fillOpacity={this.props.options.areaOpacity} stroke="none" fill={ this.props.options.areaColor}.
I hope the next release we will have it. Thanks a lot!
Agreed this would be a nice, simple enhancement. Would welcome a PR on it.
Friends! I was going to take a stab at this but kind of questions the need for areaColor property in addition to the opacity property. The api allows a specific color and a palette already? Any preferences here?