Update LineChartBicolorProps.md

This commit is contained in:
Abhinandan Kushwaha 2022-06-12 01:41:37 +05:30 committed by GitHub
parent bf51a7e8d7
commit 55e40e8bd4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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