mirror of
https://github.com/status-im/react-native-gifted-charts.git
synced 2025-02-22 16:48:07 +00:00
Update LineChartBicolorProps.md
This commit is contained in:
parent
bf51a7e8d7
commit
55e40e8bd4
@ -1,6 +1,7 @@
|
||||
## LineChartBicolor
|
||||
|
||||
Some Line / Area charts have different colors for their positive and negative parts. For example, this chart is colored green above the X axis and red below -
|
||||
|
||||
<img src='https://user-images.githubusercontent.com/13629606/172202911-920aefa7-1a78-4e5e-91d5-d3670e00fe45.png' alt=''/>
|
||||
|
||||
To render such charts, we can use the <LineChartBicolor> component. Curved lines are not yet supported in such charts. Also, we can only render a single data set (multiple lines not yet supported). However, props like `areaChart`, `isAnimated` etc are supported.
|
||||
@ -24,4 +25,4 @@ The respective properties of the chart portion lying below the X axis are obtain
|
||||
2. startFillColorNegative
|
||||
3. endFillColorNegative
|
||||
4. startOpacityNegative
|
||||
5. endOpacityNegative
|
||||
5. endOpacityNegative
|
||||
|
Loading…
x
Reference in New Issue
Block a user