Skip to content

Commit 337cb65

Browse files
chore(release): 1.8.0 [skip ci]
## [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)
1 parent cfa6871 commit 337cb65

File tree

4 files changed

+41
-13
lines changed

4 files changed

+41
-13
lines changed

CHANGELOG.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,31 @@
1+
## [1.8.0](https://github.com/RomRider/apexcharts-card/compare/v1.7.1...v1.8.0) (2021-03-03)
2+
3+
4+
### Features
5+
6+
* **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)
28+
129
## [1.8.0-dev.7](https://github.com/RomRider/apexcharts-card/compare/v1.8.0-dev.6...v1.8.0-dev.7) (2021-03-02)
230

331

README.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ This card is available in [HACS](https://hacs.xyz/) (Home Assistant Community St
8181
2. Grab `apexcharts-card.js`:
8282

8383
```
84-
$ wget https://github.com/RomRider/apexcharts-card/releases/download/v1.7.1/apexcharts-card.js
84+
$ wget https://github.com/RomRider/apexcharts-card/releases/download/v1.8.0/apexcharts-card.js
8585
```
8686

8787
3. Add the resource reference as decribed below.
@@ -92,7 +92,7 @@ If you configure Lovelace via YAML, add a reference to `apexcharts-card.js` insi
9292

9393
```yaml
9494
resources:
95-
- url: /local/apexcharts-card.js?v=1.7.1
95+
- url: /local/apexcharts-card.js?v=1.8.0
9696
type: module
9797
```
9898
@@ -133,7 +133,7 @@ The card stricly validates all the options available (but not for the `apex_conf
133133
| `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`, ... |
134134
| `span` | object | | v1.2.0 | See [span](#span-options) |
135135
| `show` | object | | v1.0.0 | See [show](#main-show-options) |
136-
| `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. |
137137
| `cache` | boolean | `true` | v1.0.0 | Use in-browser data caching to reduce the load on Home Assistant's server |
138138
| `stacked` | boolean | `false` | v1.0.0 | Enable if you want the data to be stacked on the graph |
139139
| `layout` | string | | v1.0.0 | See [layouts](#layouts) |
@@ -143,7 +143,7 @@ The card stricly validates all the options available (but not for the `apex_conf
143143
| `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) |
144144
| `experimental` | object | | v1.6.0 | See [experimental](#experimental-features) |
145145
| `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. |
146-
| `brush` | object | | NEXT_VERSION | See [brush](#brush-experimental-feature) |
146+
| `brush` | object | | v1.8.0 | See [brush](#brush-experimental-feature) |
147147

148148

149149

@@ -178,15 +178,15 @@ The card stricly validates all the options available (but not for the `apex_conf
178178
| ---- | :--: | :-----: | :---: | ----------- |
179179
| `legend_value` | boolean | `true` | v1.3.0 | Show/Hide the state in the legend. Will still display the name |
180180
| `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 |
183183
| `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). |
184184
| `in_chart` | boolean | `true` | v1.4.0 | If `false`, hides the serie from the chart |
185185
| `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`) |
186186
| `hidden_by_default` | boolean | `false` | v1.6.0 | See [experimental](#hidden_by_default-experimental-feature) |
187187
| `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`. |
188-
| `in_brush` | boolean | `false` | NEXT_VERSION | See [brush](#brush-experimental-feature) |
189-
| `offset_in_name` | boolean | `true` | NEXT_VERSION | If `true`, appends the offset information to the name of the serie. If `false`, it doesn't |
188+
| `in_brush` | boolean | `false` | v1.8.0 | See [brush](#brush-experimental-feature) |
189+
| `offset_in_name` | boolean | `true` | v1.8.0 | If `true`, appends the offset information to the name of the serie. If `false`, it doesn't |
190190

191191
### Main `show` Options
192192

@@ -203,7 +203,7 @@ The card stricly validates all the options available (but not for the `apex_conf
203203
| `floating` | boolean | `false` | v1.0.0 | Makes the header float above the graph. Positionning will be supported later |
204204
| `show_states` | boolean | `false` | v1.1.0 | Show or hide the states in the header |
205205
| `colorize_states` | boolean | `false` | v1.1.0 | Colorize the states based on the color of the serie |
206-
| `standard_format` | boolean | `false` | NEXT_VERSION | Display the title using the standard Home-Assistant card format |
206+
| `standard_format` | boolean | `false` | v1.8.0 | Display the title using the standard Home-Assistant card format |
207207

208208
### `now` Options
209209

@@ -224,7 +224,7 @@ The position of the marker will only update when the card updates (state change
224224
| `func` | string | `raw` | v1.0.0 | See [func](#func-options) |
225225
| `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`, ... |
226226
| `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` |
228228

229229
### `func` Options
230230

@@ -586,7 +586,7 @@ Generates the same result as repeating the configuration in each series:
586586
| `color_threshold` | boolean | `false` | v1.6.0 | Will enable the color threshold feature. See [color_threshold](#color_threshold-experimental-feature) |
587587
| `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. |
588588
| `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) |
590590

591591
### `color_threshold` experimental feature
592592

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "apexcharts-card",
3-
"version": "1.8.0-dev.7",
3+
"version": "1.8.0",
44
"description": "A Home Assistant Lovelace card using ApexCharts to render graphs",
55
"main": "src/apexcharts-card.ts",
66
"scripts": {

0 commit comments

Comments
 (0)