Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0f33614

Browse files
committed
updated line_chart.md doc
1 parent 06cfd6c commit 0f33614

File tree

1 file changed

+11
-8
lines changed

1 file changed

+11
-8
lines changed

repo_files/documentations/line_chart.md

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -42,27 +42,30 @@ FlChart(
4242
|curveSmoothness| smoothness radius of the curve corners (works when isCurved is true) | 0.35|
4343
|preventCurveOverShooting|prevent overshooting when draw curve line on linear sequence spots, check this [issue](https://github.com/imaNNeoFighT/fl_chart/issues/25)| false|
4444
|isStrokeCapRound| determines whether start and end of the bar line is Qubic or Round | false|
45-
|belowBarData| check the [BelowBarData](#BelowBarData) |BelowBarData()|
45+
|belowBarData| check the [BarAreaData](#BarAreaData) |BarAreaData|
46+
|aboveBarData| check the [BarAreaData](#BarAreaData) |BarAreaData|
4647
|dotData| check the [FlDotData](#FlDotData) | FlDotData()|
4748

4849

49-
### BelowBarData
50+
### BarAreaData
5051
|PropName|Description|default value|
5152
|:-------|:----------|:------------|
52-
|show|determines to show or hide the below bar|true|
53-
|colors|colors the below bar area, if multiple colors provided it will be gradient|[Colors.blueGrey]|
53+
|show|determines to show or hide the below, or above bar area|false|
54+
|colors|colors the below, or above bar area, if multiple colors provided it will be gradient|[Colors.blueGrey]|
5455
|gradientFrom|determines start of the gradient, each number should be between 0 and 1, [Read More](https://api.flutter.dev/flutter/dart-ui/Gradient/Gradient.linear.html)|Offset(0, 0)|
5556
|gradientTo|determines end of the gradient, each number should be between 0 and 1, [Read More](https://api.flutter.dev/flutter/dart-ui/Gradient/Gradient.linear.html)|Offset(1, 0)|
5657
|gradientColorStops|gets the stop positions of the gradient color, [Read More](https://api.flutter.dev/flutter/dart-ui/Gradient/Gradient.linear.html)|null|
57-
|belowSpotsLine| draw a line from each spot to the bottom of the chart|[BelowSpotsLine](#BelowSpotsLine)()|
58+
|spotsLine| draw a line from each spot the the bottom, or top of the chart|[BarAreaSpotsLine](#BarAreaSpotsLine)()|
59+
|cutOffY| cut the drawing below or above area to this y value (set `applyCutOffY` true if you want to set it)|null|
60+
|applyCutOffY| determines should or shouldn't apply cutOffY (`scutOffY` should be provided)|false|
5861

5962

60-
### BelowSpotsLine
63+
### BarAreaSpotsLine
6164
|PropName|Description|default value|
6265
|:-------|:----------|:------------|
63-
|show|determines show or hide the below spots line|true|
66+
|show|determines show or hide the below, or above spots line|true|
6467
|flLineStyle|a [FlLine](base_chart.md#FlLine) object that determines style of the line|[Colors.blueGrey]|
65-
|checkToShowSpotBelowLine|a function to determine whether to show or hide the below line on the given spot|showAllSpotsBelowLine|
68+
|checkToShowSpotLine|a function to determine whether to show or hide the below or above line on the given spot|showAllSpotsBelowLine|
6669

6770

6871
### FlDotData

0 commit comments

Comments
 (0)