Skip to content

Commit

Permalink
Update base_chart.md docs
Browse files Browse the repository at this point in the history
  • Loading branch information
imaNNeo committed Dec 25, 2023
1 parent 6f9c859 commit 950ac7f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion repo_files/documentations/base_chart.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
|propName|Description|default value|
|:-------|:----------|:------------|
|color|determines the color of line|Colors.black|
|gradient|gradient of the line|null|
|gradient|gradient of the line (you have to provide either `color` or `gradient`|null|
|strokeWidth|determines the stroke width of the line|2|
|dashArray|A circular array of dash offsets and lengths. For example, the array `[5, 10]` would result in dashes 5 pixels long followed by blank spaces 10 pixels long. The array `[5, 10, 5]` would result in a 5 pixel dash, a 10 pixel gap, a 5 pixel dash, a 5 pixel gap, a 10 pixel dash, etc.|null|

Expand Down Expand Up @@ -135,6 +135,7 @@ Base class for all supported touch/pointer events.
|:-------|:----------|:------------|
|y|draw straight line from left to right of the chart with dynamic y value|null|
|color|color of the line|Colors.black|
|gradient|gradient of the line (you have to provide either `color` or `gradient`|null|
|strokeWidth|strokeWidth of the line|2|
|strokeCap|strokeCap of the line,e.g. Setting to StrokeCap.round will draw the tow ends of line rounded. NOTE: this might not work on dash lines.|StrokeCap.butt|
|image|image to annotate the line. the Future must be complete at the time this is received by the chart|null|
Expand All @@ -146,6 +147,7 @@ Base class for all supported touch/pointer events.
|:-------|:----------|:------------|
|x|draw straight line from bottom to top of the chart with dynamic x value|null|
|color|color of the line|Colors.black|
|gradient|gradient of the line (you have to provide either `color` or `gradient`|null|
|strokeWidth|strokeWidth of the line|2|
|strokeCap|strokeCap of the line,e.g. Setting to StrokeCap.round will draw the tow ends of line rounded. NOTE: this might not work on dash lines.|StrokeCap.butt|
|image|image to annotate the line. the Future must be complete at the time this is received by the chart|null|
Expand Down

0 comments on commit 950ac7f

Please sign in to comment.