Skip to content

Commit

Permalink
update docs for pie chart
Browse files Browse the repository at this point in the history
  • Loading branch information
Rami AlDhafeeri authored and imaNNeo committed Dec 25, 2023
1 parent 944bef4 commit d3d06d1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions repo_files/documentations/pie_chart.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ When you change the chart's state, it animates to the new state internally (usin
|:---------------|:---------------|:-------|
|value| value is the weight of each section, for example if all values is 25, and we have 4 section, then the sum is 100 and each section takes 1/4 of the whole circle (360/4) degree|10|
|color| colors the section| Colors.red
|gradient| You can use any [Gradient](https://api.flutter.dev/flutter/dart-ui/Gradient-class.html) here. such as [LinearGradient](https://api.flutter.dev/flutter/painting/LinearGradient-class.html) or [RadialGradient](https://api.flutter.dev/flutter/painting/RadialGradient-class.html)|null|
|radius| the width radius of each section|40|
|showTitle| determines to show or hide the titles on each section|true|
|titleStyle| TextStyle of the titles| TextStyle(color: Colors.white, fontSize: 16, fontWeight: FontWeight.bold)|
Expand Down

0 comments on commit d3d06d1

Please sign in to comment.