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
## [1.10.0](v1.9.0...v1.10.0) (2021-10-24)
### Features
* uses the time format defined in Home Assistant user profile ([78df800](78df800)), closes [#213](#213)
* **yaxis:** Align the extremas to the closest `align_to` value. ([a46c812](a46c812)), closes [#170](#170)
* pie/donut now shows the value of the serie instead of the percentage. Old behavior with `datalabels: percent` ([7591aba](7591aba))
* **actions:** `header_actions` support for actions in header ([#171](#171)) ([bd6a497](bd6a497)), closes [#61](#61)
* display the chart's last update time using `last_updated` ([2dd84ff](2dd84ff))
* **yaxis:** Set the number of decimals shown on the yaxis. Deprecate `y_axis_precision`. ([33fc474](33fc474)), closes [#164](#164)
* update from lit-html/lit-element to lit ([5a7d944](5a7d944))
* **yaxis:** `id` and `yaxis_id` no longer needed with only 1 yaxis defined ([e5e8904](e5e8904))
### Bug Fixes
* color_threshold would sometimes render weirdly ([d7063a5](d7063a5)), closes [#177](#177)
* extremas would not display with offset applied on series ([4d7d77a](4d7d77a)), closes [#177](#177)
* Floats were not truncated properly for radialBar ([0c789ff](0c789ff)), closes [#174](#174)
* history data could be modified in some rare cases ([d38fd6e](d38fd6e))
* Ignore recorder when not required ([c28a7a6](c28a7a6)), closes [#169](#169)
* the hass object could sometimes be null ([ff27baf](ff27baf)), closes [#191](#191)
* When recorder was skipped, attributes were ignored ([15e5372](15e5372))
* **yaxis:** auto scale was not taking the serie's offset into account ([f82f7e0](f82f7e0)), closes [#172](#172)
* **yaxis:** Fixed + unfixed bounds on the same yaxis is now working ([f7e4668](f7e4668))
### Documentation
* `align_to` description update ([4471469](4471469))
* Missing doc for `last_updated` ([93ae54a](93ae54a))
* uses the time format defined in Home Assistant user profile ([78df800](https://github.com/RomRider/apexcharts-card/commit/78df800f32004c180fb3bebfb4d35ac82858f3c2)), closes [#213](https://github.com/RomRider/apexcharts-card/issues/213)
7
+
***yaxis:** Align the extremas to the closest `align_to` value. ([a46c812](https://github.com/RomRider/apexcharts-card/commit/a46c8127d8252fcadcb212ee7d2ee28d36c8d03a)), closes [#170](https://github.com/RomRider/apexcharts-card/issues/170)
8
+
* pie/donut now shows the value of the serie instead of the percentage. Old behavior with `datalabels: percent` ([7591aba](https://github.com/RomRider/apexcharts-card/commit/7591aba03e0c8d001b4883456b21fc948ea5cfe4))
9
+
***actions:**`header_actions` support for actions in header ([#171](https://github.com/RomRider/apexcharts-card/issues/171)) ([bd6a497](https://github.com/RomRider/apexcharts-card/commit/bd6a49791ec583b894f72ce42ec33b223d63e38e)), closes [#61](https://github.com/RomRider/apexcharts-card/issues/61)
10
+
* display the chart's last update time using `last_updated` ([2dd84ff](https://github.com/RomRider/apexcharts-card/commit/2dd84ffdac637c753ae96f30029190cc99747b8d))
11
+
***yaxis:** Set the number of decimals shown on the yaxis. Deprecate `y_axis_precision`. ([33fc474](https://github.com/RomRider/apexcharts-card/commit/33fc4746c185112d3838759ca19d1c274f4fa34a)), closes [#164](https://github.com/RomRider/apexcharts-card/issues/164)
12
+
* update from lit-html/lit-element to lit ([5a7d944](https://github.com/RomRider/apexcharts-card/commit/5a7d944b6fccc76f046fe940e21af4bdec09d28b))
13
+
***yaxis:**`id` and `yaxis_id` no longer needed with only 1 yaxis defined ([e5e8904](https://github.com/RomRider/apexcharts-card/commit/e5e89040620ca9df43dd38d5e267ce2b70386bc2))
14
+
15
+
16
+
### Bug Fixes
17
+
18
+
* color_threshold would sometimes render weirdly ([d7063a5](https://github.com/RomRider/apexcharts-card/commit/d7063a5462bc6e949c477a423b0a57c80dd172ac)), closes [#177](https://github.com/RomRider/apexcharts-card/issues/177)
19
+
* extremas would not display with offset applied on series ([4d7d77a](https://github.com/RomRider/apexcharts-card/commit/4d7d77a92919234b81e8d830e3f9e3d7dcaf7caa)), closes [#177](https://github.com/RomRider/apexcharts-card/issues/177)
20
+
* Floats were not truncated properly for radialBar ([0c789ff](https://github.com/RomRider/apexcharts-card/commit/0c789ffc27be47b459bf22875e5a0b5243249197)), closes [#174](https://github.com/RomRider/apexcharts-card/issues/174)
21
+
* history data could be modified in some rare cases ([d38fd6e](https://github.com/RomRider/apexcharts-card/commit/d38fd6e0c3531dcd225e856ca90c57026c9049ab))
22
+
* Ignore recorder when not required ([c28a7a6](https://github.com/RomRider/apexcharts-card/commit/c28a7a682b9bb0943fd82a24f525c87801fbe4f5)), closes [#169](https://github.com/RomRider/apexcharts-card/issues/169)
23
+
* the hass object could sometimes be null ([ff27baf](https://github.com/RomRider/apexcharts-card/commit/ff27baff63845dbdaa0cbd90bd71252fa5cb27e1)), closes [#191](https://github.com/RomRider/apexcharts-card/issues/191)
24
+
* When recorder was skipped, attributes were ignored ([15e5372](https://github.com/RomRider/apexcharts-card/commit/15e537213c9ab9b16ed9d0e3734d80def769fbde))
25
+
***yaxis:** auto scale was not taking the serie's offset into account ([f82f7e0](https://github.com/RomRider/apexcharts-card/commit/f82f7e0c1c74311fa3cc1b9d333d7a050b0304ec)), closes [#172](https://github.com/RomRider/apexcharts-card/issues/172)
26
+
***yaxis:** Fixed + unfixed bounds on the same yaxis is now working ([f7e4668](https://github.com/RomRider/apexcharts-card/commit/f7e46688fc3b891981854d1632c513fa9dac4773))
| ~~`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.~~ |
148
+
| ~~`y_axis_precision`~~ | ~~number~~ | ~~`1`~~ | ~~v1.2.0~~ | **DEPRECATED since v1.10.0** ~~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) |
| `yaxis_id` | string | | v1.9.0 | The identification name of the y-axis which this serie should be associated to. See [yaxis](#yaxis-options-multi-y-axis) |
182
182
| `show` | object | | v1.3.0 | See [serie's show options](#series-show-options) |
| `entity` | string | | NEXT_VERSION | Only valid for `more-info`. Overrides the `more-info` target entity. Default is to use the serie's entity |
216
-
| `navigation_path` | string | | NEXT_VERSION | Path to navigate to (e.g. `/lovelace/0/`) when action is `navigate` |
217
-
| `url_path` | string | | NEXT_VERSION | URL to open on click when action is `url`. The URL will open in a new tab |
218
-
| `service` | string | | NEXT_VERSION | Any valid Home-Assistant service |
219
-
| `service_data` | object | | NEXT_VERSION | Service data to include (e.g. `entity_id: media_player.bedroom`) when `action` defined as `call-service` |
220
-
| `confirmation` | object | | NEXT_VERSION |Display a confirmation popup. See [confirmation](#confirmation-options) |
| `entity` | string | | v1.10.0 | Only valid for `more-info`. Overrides the `more-info` target entity. Default is to use the serie's entity |
216
+
| `navigation_path` | string | | v1.10.0 | Path to navigate to (e.g. `/lovelace/0/`) when action is `navigate` |
217
+
| `url_path` | string | | v1.10.0 | URL to open on click when action is `url`. The URL will open in a new tab |
218
+
| `service` | string | | v1.10.0 | Any valid Home-Assistant service |
219
+
| `service_data` | object | | v1.10.0 | Service data to include (e.g. `entity_id: media_player.bedroom`) when `action` defined as `call-service` |
220
+
| `confirmation` | object | | v1.10.0 |Display a confirmation popup. See [confirmation](#confirmation-options) |
221
221
222
222
Example:
223
223
```yaml
@@ -238,8 +238,8 @@ This will popup a dialog box before running the action.
238
238
239
239
| Name | Type | Default | Since | Description |
240
240
| ---- | :--: | :-----: | :---: | ----------- |
241
-
| `text` | string | | NEXT_VERSION | This text will be displayed in the popup |
242
-
| `exemptions` | array | | NEXT_VERSION | Any user declared in this list will not see the confirmation dialog. Format `user: USER_ID` |
241
+
| `text` | string | | v1.10.0 | This text will be displayed in the popup |
242
+
| `exemptions` | array | | v1.10.0 | Any user declared in this list will not see the confirmation dialog. Format `user: USER_ID` |
243
243
244
244
Example:
245
245
@@ -264,7 +264,7 @@ series:
264
264
| Name | Type | Default | Since | Description |
265
265
| ---- | :--: | :-----: | :---: | ----------- |
266
266
| `loading` | boolean | `true` | v1.0.0 | Displays a spinning icon while the data is loading/updating |
267
-
| `last_updated` | boolean | `false` | NEXT_VERSION | Show the last time the chart was updated on the bottom right |
267
+
| `last_updated` | boolean | `false` | v1.10.0 | Show the last time the chart was updated on the bottom right |
268
268
269
269
### `header` Options
270
270
@@ -276,7 +276,7 @@ series:
276
276
| `show_states` | boolean | `false` | v1.1.0 | Show or hide the states in the header |
277
277
| `colorize_states` | boolean | `false` | v1.1.0 | Colorize the states based on the color of the serie |
278
278
| `standard_format` | boolean | `false` | v1.8.0 | Display the title using the standard Home-Assistant card format |
279
-
| `disable_actions` | boolean | `false` | NEXT_VERSION | If `true`, disable all header actions |
279
+
| `disable_actions` | boolean | `false` | v1.10.0 | If `true`, disable all header actions |
280
280
281
281
### `now` Options
282
282
@@ -505,9 +505,9 @@ You can have as many y-axis as there are series defined in your configuration or
505
505
| `opposite` | boolean | `false` | v1.9.0 | If `true`, the axis will be shown on the right side of the chart |
506
506
| `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. |
507
507
| `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. |
508
-
| `decimals` | number | `1` | NEXT_VERSION | Number of decimals to show on this y-axis |
508
+
| `decimals` | number | `1` | v1.10.0 | Number of decimals to show on this y-axis |
509
509
| `apex_config` | object | | v1.9.0 | Any configuration from https://apexcharts.com/docs/options/yaxis/, except `min`, `max`, `show` and `opposite` |
510
-
| `align_to` | number | | NEXT_VERSION | Aligns the yaxis extremas to the closest multiple of `align_to`. Only valid if `min` or `max` are not fixed values. |
510
+
| `align_to` | number | | v1.10.0 | Aligns the yaxis extremas to the closest multiple of `align_to`. Only valid if `min` or `max` are not fixed values. |
0 commit comments