You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| `y_axis_precision` | number | `1` | v1.2.0 | The float precision used to display numbers on the Y axis. Only works if `yaxis` is undefined. |
145
+
| ~~`y_axis_precision`~~ | ~~number~~ | ~~`1`~~ | ~~v1.2.0~~ | **DEPRECATED since NEXT_VERSION** ~~The float precision used to display numbers on the Y axis. Only works if `yaxis` is undefined.~~ |
| `apex_config`| object | | v1.0.0 | Apexcharts API 1:1 mapping. You call see all the options [here](https://apexcharts.com/docs/installation/) --> `Options (Reference)` in the Menu. See [Apex Charts](#apex-charts-options-example) |
@@ -438,6 +438,7 @@ You can have as many y-axis as there are series defined in your configuration or
438
438
| `opposite` | boolean | `false` | v1.9.0 | If `true`, the axis will be shown on the right side of the chart |
439
439
| `min` | `auto`, number or string | `auto` | v1.9.0 | If undefined or `auto`, the `min` of the yaxis will be automatically calculated based on the min value of all the series associated to this axis. See [below](#minmax-format) for other formats. |
440
440
| `max` | `auto`, number or string | `auto` | v1.9.0 | If undefined or `auto`, the `min` of the yaxis will be automatically calculated based on the max value of all the series associated to this axis. See [below](#minmax-format) for other formats. |
441
+
| `decimals` | number | `1` | NEXT_VERSION | Number of decimals to show on this y-axis |
441
442
| `apex_config` | object | | v1.9.0 | Any configuration from https://apexcharts.com/docs/options/yaxis/, except `min`, `max`, `show` and `opposite` |
442
443
443
444
#### Min/Max Format
@@ -469,6 +470,7 @@ You can have as many y-axis as there are series defined in your configuration or
469
470
# if the sensor doesn't go above 50, the max of the axis will be 50
470
471
# else the max will be the maximum value of the sensor
471
472
max: ~50
473
+
decimals: 0
472
474
apex_config:
473
475
tickAmount: 4
474
476
```
@@ -486,10 +488,12 @@ You can have as many y-axis as there are series defined in your configuration or
486
488
graph_span: 20min
487
489
yaxis:
488
490
- id: first # identification name of the first y-axis
491
+
decimals: 0
489
492
apex_config:
490
493
tickAmount: 4
491
494
- id: second # identification name of the second y-axis
0 commit comments