react-native-pathjs-charts icon indicating copy to clipboard operation
react-native-pathjs-charts copied to clipboard

Options for Area fill color and opacity

Open anhreg opened this issue 8 years ago • 2 comments
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!

anhreg avatar May 08 '17 08:05 anhreg

Agreed this would be a nice, simple enhancement. Would welcome a PR on it.

marzolfb avatar May 19 '17 19:05 marzolfb

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?

chrismpalmer avatar Sep 26 '17 16:09 chrismpalmer