From adb8bb809ec76d84cd5f8b07f8a1df9631a7f3d0 Mon Sep 17 00:00:00 2001 From: riccardocucia Date: Sun, 11 Apr 2021 19:12:08 +0200 Subject: [PATCH] Edit README.md --- README.md | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index f9bf3bc..eab7f6f 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ Flutter Single value bar graph viewer with indicators * Customizable colors and text style * Vertical orientation, left to right and right to left direction * Horizontal orientation, top to bottom and bottom to top direction -* Customizable divisions count +* Number of divisions customizable ## Usage @@ -49,6 +49,12 @@ BarGraph( ### Advanced options +#### Style + +* `orientation` is the scale orientation, default vertical from bottom. +* `indicatorStyle` is the scale indicators style, default BOTH, left and right. +* `indicatorSpacing` is the scale indicators spacing, default SPACE_AROUND, alternative SPACE_BETWEEN. + #### Colors * `backgroundColor` is the background color og BarGraph. @@ -59,14 +65,14 @@ BarGraph( * `textStyle` is the TextStyle of indicators text. * `textAlign` is the Alignment of indicators text. -* `fractionDigits` is the number of digit visible. +* `fractionDigits` is the number of fraction digits visible. * `divisions` is the number of divisions of scale. * `textFlex` is the percentage of portion used for text, remaining space is used for indicators. #### Animation -* `animationDuration` in milliseconds, is time to animate change of actual value. +* `animationDuration` in milliseconds, it's duration time of animation when actual value changed. #### Example