Skip to content

Commit

Permalink
docs(gauge): Update gauge enforeMinMax option
Browse files Browse the repository at this point in the history
  • Loading branch information
netil authored and netil committed Dec 4, 2024
1 parent 185cbb9 commit a9f8b85
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions release/latest/doc/config_Options_shape_gauge.ts.html
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,9 @@ <h1 class="page-title">config/Options/shape/gauge.ts</h1>
* @property {number} [gauge.expand.rate=0.98] Set expand rate.
* @property {number} [gauge.expand.duration=50] Set the expand transition time in milliseconds.
* @property {boolean} [gauge.enforceMinMax=false] Enforce to given min/max value.
* - When `gauge.min=50` and given value is `30`, gauge will render as empty value.
* - When `gauge.max=100` and given value is `120`, gauge will render till 100, not surpassing max value.
* **Note:** Only works for single data series.
* - When `gauge.min=50` and given value is `30`, gauge will render as empty value.
* - When `gauge.max=100` and given value is `120`, gauge will render till 100, not surpassing max value.
* @property {number} [gauge.min=0] Set min value of the gauge.
* @property {number} [gauge.max=100] Set max value of the gauge.
* @property {number} [gauge.startingAngle=-1 * Math.PI / 2] Set starting angle where data draws.
Expand Down

0 comments on commit a9f8b85

Please sign in to comment.