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.8.0](v1.7.1...v1.8.0) (2021-03-03)
### Features
* **brush:** Support for a timeframe selection chart ([#102](#102)) ([c8dedf7](c8dedf7))
* **extremas:** Display the time on top of your extremas ([#97](#97)) ([d127b37](d127b37))
* **group_by:** With `start_with_last`, each bucket will start with the last data from the previous bucket ([8669411](8669411))
* **header:** Standard header title home-assistant format using `standard_format` ([35c5391](35c5391)), closes [#35](#35)
* **series.show:** Display the value before/after the current time in the header ([2855403](2855403)), closes [#86](#86)
* **series.show:** Hide the name of a serie in the header ([b20133d](b20133d)), closes [#111](#111)
* **series.show:** Hide the offset from the name of the serie ([a46c3f0](a46c3f0)), closes [#112](#112)
* **span:** Add support for `isoWeek` ([7abc750](7abc750)), closes [#106](#106)
* Bring back `hours_12` from the dead ([676bdb7](676bdb7))
### Bug Fixes
* `group_by` would sometimes not work with `data_generator` ([cfa6871](cfa6871))
* header units for `radialBar` ([6883a8f](6883a8f)), closes [#105](#105)
* **start_with_last:** `start_with_last` would sometimes throw ([f5aa2e3](f5aa2e3))
* bug introduced by 591add ([b9c9297](b9c9297))
* Display non inverted numbers in legend/tooltip/datalabels when `invert: true` ([331fe04](331fe04)), closes [#96](#96)
* extremas was not working with `invert: true` ([4d06ef6](4d06ef6)), closes [#96](#96)
* Optimize `extend_to_end` when used with `group_by` ([591add8](591add8))
* Support for card-mod >= 3.0 ([8348119](8348119)), closes [#104](#104)
* **extremas:** Multi y-axis support ([#98](#98)) ([5c7d742](5c7d742)), closes [#89](#89)
***brush:** Support for a timeframe selection chart ([#102](https://github.com/RomRider/apexcharts-card/issues/102)) ([c8dedf7](https://github.com/RomRider/apexcharts-card/commit/c8dedf7de96171e8332cdcc9269eccc70043eb1e))
7
+
***extremas:** Display the time on top of your extremas ([#97](https://github.com/RomRider/apexcharts-card/issues/97)) ([d127b37](https://github.com/RomRider/apexcharts-card/commit/d127b376fb1c3931c5c9c95129347144eb5ea791))
8
+
***group_by:** With `start_with_last`, each bucket will start with the last data from the previous bucket ([8669411](https://github.com/RomRider/apexcharts-card/commit/8669411142a320139b1bed6200e670d173a47bac))
9
+
***header:** Standard header title home-assistant format using `standard_format` ([35c5391](https://github.com/RomRider/apexcharts-card/commit/35c5391c0425c1d195f2f35b885aa8689c02129d)), closes [#35](https://github.com/RomRider/apexcharts-card/issues/35)
10
+
***series.show:** Display the value before/after the current time in the header ([2855403](https://github.com/RomRider/apexcharts-card/commit/2855403ee1c025326015793367f0ff3b34dc8827)), closes [#86](https://github.com/RomRider/apexcharts-card/issues/86)
11
+
***series.show:** Hide the name of a serie in the header ([b20133d](https://github.com/RomRider/apexcharts-card/commit/b20133df7827abbf8ef0954bfaefbef39840f2f3)), closes [#111](https://github.com/RomRider/apexcharts-card/issues/111)
12
+
***series.show:** Hide the offset from the name of the serie ([a46c3f0](https://github.com/RomRider/apexcharts-card/commit/a46c3f06982056f5349a0f4f31427b246401b407)), closes [#112](https://github.com/RomRider/apexcharts-card/issues/112)
13
+
***span:** Add support for `isoWeek` ([7abc750](https://github.com/RomRider/apexcharts-card/commit/7abc75027600de2ee937ad07e510a78aa28125ed)), closes [#106](https://github.com/RomRider/apexcharts-card/issues/106)
14
+
* Bring back `hours_12` from the dead ([676bdb7](https://github.com/RomRider/apexcharts-card/commit/676bdb7f3b60a39dc4eeb4fa0a424f15648315db))
15
+
16
+
17
+
### Bug Fixes
18
+
19
+
*`group_by` would sometimes not work with `data_generator` ([cfa6871](https://github.com/RomRider/apexcharts-card/commit/cfa687146628518677f6ec625d4561fb0cafac93))
20
+
* header units for `radialBar` ([6883a8f](https://github.com/RomRider/apexcharts-card/commit/6883a8f1913ee9935b862eb28b75a6fe5229e2f5)), closes [#105](https://github.com/RomRider/apexcharts-card/issues/105)
21
+
***start_with_last:**`start_with_last` would sometimes throw ([f5aa2e3](https://github.com/RomRider/apexcharts-card/commit/f5aa2e36e1d792a5c73fb69a028ad5e71e9a0d68))
22
+
* bug introduced by 591add ([b9c9297](https://github.com/RomRider/apexcharts-card/commit/b9c929727182e2101fb3747e0e82982450ffd9f6))
23
+
* Display non inverted numbers in legend/tooltip/datalabels when `invert: true` ([331fe04](https://github.com/RomRider/apexcharts-card/commit/331fe044f7c7cd1ed324c0be24a4469fcdfaaad1)), closes [#96](https://github.com/RomRider/apexcharts-card/issues/96)
24
+
* extremas was not working with `invert: true` ([4d06ef6](https://github.com/RomRider/apexcharts-card/commit/4d06ef68b72cd99777b18f6c7b7e0aa32cf32c1c)), closes [#96](https://github.com/RomRider/apexcharts-card/issues/96)
25
+
* Optimize `extend_to_end` when used with `group_by` ([591add8](https://github.com/RomRider/apexcharts-card/commit/591add86317a288c8935daa2264ae831ca392d29))
26
+
* Support for card-mod >= 3.0 ([8348119](https://github.com/RomRider/apexcharts-card/commit/8348119be517ad3cc90bbce1821d0e2d836fa2ed)), closes [#104](https://github.com/RomRider/apexcharts-card/issues/104)
27
+
***extremas:** Multi y-axis support ([#98](https://github.com/RomRider/apexcharts-card/issues/98)) ([5c7d742](https://github.com/RomRider/apexcharts-card/commit/5c7d7424e100b5a3327d94800e36f31e9931cfe8)), closes [#89](https://github.com/RomRider/apexcharts-card/issues/89)
@@ -92,7 +92,7 @@ If you configure Lovelace via YAML, add a reference to `apexcharts-card.js` insi
92
92
93
93
```yaml
94
94
resources:
95
-
- url: /local/apexcharts-card.js?v=1.7.1
95
+
- url: /local/apexcharts-card.js?v=1.8.0
96
96
type: module
97
97
```
98
98
@@ -133,7 +133,7 @@ The card stricly validates all the options available (but not for the `apex_conf
133
133
| `graph_span` | string | `24h` | v1.1.0 | The span of the graph as a time interval. Valid values are any time string, eg: `1h`, `12min`, `1d`, `1h25`, `10sec`, ... |
| `hours_12` | boolean | | NEXT_VERSION | If undefined, it will follow Home-Assistant's locale. If `true`, it will force time to be displayed in 12h format. If `false` it will force the time to be displayed in 24h format. |
136
+
| `hours_12` | boolean | | v1.8.0 | If undefined, it will follow Home-Assistant's locale. If `true`, it will force time to be displayed in 12h format. If `false` it will force the time to be displayed in 24h format. |
137
137
| `cache` | boolean | `true` | v1.0.0 | Use in-browser data caching to reduce the load on Home Assistant's server |
138
138
| `stacked` | boolean | `false` | v1.0.0 | Enable if you want the data to be stacked on the graph |
@@ -143,7 +143,7 @@ The card stricly validates all the options available (but not for the `apex_conf
143
143
| `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) |
| `locale` | string | | v1.7.0 | Default is to inherit from Home-Assistant's user configuration. This overrides it and forces the locale. Eg: `en`, or `fr`. Reverts to `en` if locale is unknown. |
@@ -178,15 +178,15 @@ The card stricly validates all the options available (but not for the `apex_conf
178
178
| ---- | :--: | :-----: | :---: | ----------- |
179
179
| `legend_value` | boolean | `true` | v1.3.0 | Show/Hide the state in the legend. Will still display the name |
180
180
| `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` |
181
-
| `in_header` | boolean or string | `true` | v1.4.0 | If `show_states` is enabled, this would show/hide this specific serie 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 NEXT_VERSION) |
182
-
| `name_in_header` | boolean | `true` | NEXT_VERSION | Only valid if `in_header: true`. If `false`, it will hide the name of the serie under the its state in the header |
181
+
| `in_header` | boolean or string | `true` | v1.4.0 | If `show_states` is enabled, this would show/hide this specific serie 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) |
182
+
| `name_in_header` | boolean | `true` | v1.8.0 | Only valid if `in_header: true`. If `false`, it will hide the name of the serie under the its state in the header |
183
183
| `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). |
184
184
| `in_chart` | boolean | `true` | v1.4.0 | If `false`, hides the serie from the chart |
185
185
| `datalabels` | boolean or string | `false` | v1.5.0 | If `true` will show the value of each point for this serie 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`) |
| `extremas` | boolean or string | `false` | v1.7.0 | If `true`, will show the min and the max of the serie in the chart. If the value is `time`, it will display also the time of the min/max value on top of the value. This feature doesn't work with `stacked: true`. |
| `duration` | string | `1h` | v1.0.0 | If `func` is **not** `raw` only. It builds buckets of states over `duration` period of time. Doesn't work for months. Eg of valid values: `2h`, `1d`, `10s`, `25min`, `1h30`, ... |
226
226
| `fill` | string | `last` | v1.0.0 | If `func` is **not** `raw` only. If there is any missing value in the buckets of history data (grouped by duration), `last` will replace them with the last non-empty state, `zero` will fill missing values with `0`, `'null'` will fill missing values with `null` |
227
-
| `start_with_last` | boolean | `false` | NEXT_VERSION | If `true`, each bucket of data will start with the last value from the previous bucket of data. Mostly useful only with `func: diff` |
227
+
| `start_with_last` | boolean | `false` | v1.8.0 | If `true`, each bucket of data will start with the last value from the previous bucket of data. Mostly useful only with `func: diff` |
228
228
229
229
### `func` Options
230
230
@@ -586,7 +586,7 @@ Generates the same result as repeating the configuration in each series:
586
586
| `color_threshold` | boolean | `false` | v1.6.0 | Will enable the color threshold feature. See [color_threshold](#color_threshold-experimental-feature) |
587
587
| `disable_config_validation` | boolean | `false` | v1.6.0 | If `true`, will disable the config validation. Useful if you have cards adding parameters to this one. Use at your own risk. |
588
588
| `hidden_by_default` | boolean | `false` | v1.6.0 | Will allow you to use the `hidden_by_default` option. See [hidden_by_default](#hidden_by_default-experimental-feature) |
589
-
| `brush` | boolean | `false` | NEXT_VERSION | Will display a brush which allows you to select a portion time to display on the main chart. See [brush](#brush-experimental-feature) |
589
+
| `brush` | boolean | `false` | v1.8.0 | Will display a brush which allows you to select a portion time to display on the main chart. See [brush](#brush-experimental-feature) |
0 commit comments