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
## [2.2.0](v2.1.2...v2.2.0) (2025-08-20)
### Features
* Display the card version on the card (useful for debugging) ([ac800c5](ac800c5))
* **series:** Add option to hide null or zero values in the header ([#544](#544)) ([baf2066](baf2066)), closes [#543](#543)
* **series:** Extend `stroke_dash` to support an array for more complex dashing patterns ([#902](#902)) ([cafbcec](cafbcec))
* Support for sections views using `section_mode` ([fe85144](fe85144)), closes [#927](#927) [#837](#837) [#904](#904) [#736](#736)
### Bug Fixes
* graph rendering too wide when heading title is too long ([#812](#812)) ([094280d](094280d))
* Text color selection for given background now takes into account human perception. ([#820](#820)) ([f09756f](f09756f))
### Documentation
* Fix typos and improve grammar in README.md ([#698](#698)) ([6655949](6655949))
* Updated install instructions ([37f3fa2](37f3fa2))
* Display the card version on the card (useful for debugging) ([ac800c5](https://github.com/RomRider/apexcharts-card/commit/ac800c543669376ea531e0dadd0c18761e4d22c0))
6
+
***series:** Add option to hide null or zero values in the header ([#544](https://github.com/RomRider/apexcharts-card/issues/544)) ([baf2066](https://github.com/RomRider/apexcharts-card/commit/baf206600922be253fc431c720bb4ce54ed8b046)), closes [#543](https://github.com/RomRider/apexcharts-card/issues/543)
7
+
***series:** Extend `stroke_dash` to support an array for more complex dashing patterns ([#902](https://github.com/RomRider/apexcharts-card/issues/902)) ([cafbcec](https://github.com/RomRider/apexcharts-card/commit/cafbcec989725f0bd4d23cec9474aba2cffa5e3c))
8
+
* Support for sections views using `section_mode` ([fe85144](https://github.com/RomRider/apexcharts-card/commit/fe85144b646f2470dcc329574662f778e2cedc46)), closes [#927](https://github.com/RomRider/apexcharts-card/issues/927)[#837](https://github.com/RomRider/apexcharts-card/issues/837)[#904](https://github.com/RomRider/apexcharts-card/issues/904)[#736](https://github.com/RomRider/apexcharts-card/issues/736)
9
+
10
+
### Bug Fixes
11
+
12
+
* graph rendering too wide when heading title is too long ([#812](https://github.com/RomRider/apexcharts-card/issues/812)) ([094280d](https://github.com/RomRider/apexcharts-card/commit/094280ddf56365fa8a1fc8372ec66d26f37d2972))
13
+
* Text color selection for given background now takes into account human perception. ([#820](https://github.com/RomRider/apexcharts-card/issues/820)) ([f09756f](https://github.com/RomRider/apexcharts-card/commit/f09756ff33caa7a092de6a2492699fe3b0436d95))
14
+
15
+
### Documentation
16
+
17
+
* Fix typos and improve grammar in README.md ([#698](https://github.com/RomRider/apexcharts-card/issues/698)) ([6655949](https://github.com/RomRider/apexcharts-card/commit/665594979b9c39e5b02c04fc10b0a0b022874311))
* feat(series): Add option to hide null or zero values in the header (#544) ([baf2066](https://github.com/RomRider/apexcharts-card/commit/baf2066)), closes [#544](https://github.com/RomRider/apexcharts-card/issues/544)[#543](https://github.com/RomRider/apexcharts-card/issues/543)
| `section_mode` | boolean | `false` | NEXT_VERSION | Set to `true` when the card is used in a section view (sets CSS height to `100%`) |
134
+
| `section_mode` | boolean | `false` | v2.2.0 | Set to `true` when the card is used in a section view (sets CSS height to `100%`) |
135
135
| `config_templates` | array | | v1.6.0 | Define a configuration once and reuse it multiple times. See [config_templates](#configuration-templates) |
136
136
| `color_list` | array | | v1.6.0 | Define the array of colors applied to the series. Will be overridden by each series's color if defined. Useful for `config_templates` mainly. |
137
137
| `all_series_config` | object | | v1.6.0 | If something is defined here it will apply this config to all the series. It accepts the same options as a series minus `entity`. It is useful to avoid repetition but the same thing can be achieved in each series individually. See [series](#series-options) and [all_series_config](#all_series_config-options) for an example |
@@ -197,8 +197,8 @@ The card strictly validates all the options available (but not for the `apex_con
197
197
| `as_duration` | string | | v1.3.0 | Will pretty print the states as durations. Doesn't affect the graph, only the tooltip/legend/header display. You provide the source unit of your sensor. Valid values are `millisecond`, `second`, `minute`, `hour`, `day`, `week`, `month`, `year`.<br/>Eg: if the state is `345` and `as_duration` is set to `minute` then it would display `5h 45m` |
198
198
| `in_header` | boolean or string | `true` | v1.4.0 | If `show_states` is enabled, this would show/hide this specific series in the header. If set to `raw` (introduced in v1.7.0), it would display the latest raw state of the entity in the header bypassing any grouping/transformation done by the card. If the graph spans into the future (using `data_generator`): `before_now`would display the value just before the current time and `after_now` would display the value just after the current time (Introduced in v1.8.0) |
199
199
| `name_in_header` | boolean | `true` | v1.8.0 | Only valid if `in_header: true`. If `false`, it will hide the name of the series under its state in the header |
200
-
| `null_in_header` | boolean | `true` | NEXT_VERSION | Only valid if `in_header: true`. If `false`, it will hide the name of the series in the header if the value is null |
201
-
| `zero_in_header` | boolean | `true` | NEXT_VERSION | Only valid if `in_header: true`. If `false`, it will hide the name of the series in the header if the value is zero |
200
+
| `null_in_header` | boolean | `true` | v2.2.0 | Only valid if `in_header: true`. If `false`, it will hide the name of the series in the header if the value is null |
201
+
| `zero_in_header` | boolean | `true` | v2.2.0 | Only valid if `in_header: true`. If `false`, it will hide the name of the series in the header if the value is zero |
202
202
| `header_color_threshold` | boolean | `false` | v1.7.0 | If `true` and `color_threshold` experimental mode is enabled, it will colorize the header's state based on the threshold (ignoring opacity). |
203
203
| `in_chart` | boolean | `true` | v1.4.0 | If `false`, hides the series from the chart |
204
204
| `datalabels` | boolean or string | `false` | v1.5.0 | If `true` will show the value of each point for this series directly in the chart. Don't use it if you have a lot of points displayed, it will be a mess. If you set it to `total` (introduced in v1.7.0), it will display the stacked total value (only works when `stacked: true`). If you set it to `percent`, it will display the percentage of the series instead of the value in the case of a `pie` or `donut` chart. |
@@ -282,7 +282,7 @@ series:
282
282
| ---- | :--: | :-----: | :---: | ----------- |
283
283
| `loading` | boolean | `true` | v1.0.0 | Displays a spinning icon while the data is loading/updating |
284
284
| `last_updated` | boolean | `false` | v1.10.0 | Show the last time the chart was updated on the bottom right |
285
-
| `version` | boolean | `false` | NEXT_VERSION | Show the card version on the bottom left (useful for debug) |
285
+
| `version` | boolean | `false` | v2.2.0 | Show the card version on the bottom left (useful for debug) |
0 commit comments