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.6.0](v1.5.0...v1.6.0) (2021-02-08)
### Features
* **config_tpl:** Create a config template and use it everywhere with `config_templates`, apply the same config to every series with `all_series_config` and add `color_list` to define your color list in one shot ([#64](#64)) ([17004a3](17004a3))
* **experimental:** `hidden_by_default` to toggle series on load ([#62](#62)) ([63717b7](63717b7)), closes [#60](#60)
* **series:** Define the `opacity` of the line or area ([8dfb3fd](8dfb3fd)), closes [#57](#57)
* add stroke_width and experimental color_threshold/disable_config_validation ([fcdfa88](fcdfa88)), closes [#58](#58)
### Bug Fixes
* **color_threshold:** opacity for color_threshold ([5a325f4](5a325f4))
* **func:** median was sometimes wrong ([c36dda7](c36dda7))
***config_tpl:** Create a config template and use it everywhere with `config_templates`, apply the same config to every series with `all_series_config` and add `color_list` to define your color list in one shot ([#64](https://github.com/RomRider/apexcharts-card/issues/64)) ([17004a3](https://github.com/RomRider/apexcharts-card/commit/17004a30b77733e5b09ebe7b4bbb4b7d3b265688))
7
+
***experimental:**`hidden_by_default` to toggle series on load ([#62](https://github.com/RomRider/apexcharts-card/issues/62)) ([63717b7](https://github.com/RomRider/apexcharts-card/commit/63717b7ae9648debdb1d11a17ddf61f95f7225d4)), closes [#60](https://github.com/RomRider/apexcharts-card/issues/60)
8
+
***series:** Define the `opacity` of the line or area ([8dfb3fd](https://github.com/RomRider/apexcharts-card/commit/8dfb3fd8839d7f93438b2273701bacd916d405c0)), closes [#57](https://github.com/RomRider/apexcharts-card/issues/57)
9
+
* add stroke_width and experimental color_threshold/disable_config_validation ([fcdfa88](https://github.com/RomRider/apexcharts-card/commit/fcdfa88fc357b64d7d958cfbc67695f58b53c69c)), closes [#58](https://github.com/RomRider/apexcharts-card/issues/58)
10
+
11
+
12
+
### Bug Fixes
13
+
14
+
***color_threshold:** opacity for color_threshold ([5a325f4](https://github.com/RomRider/apexcharts-card/commit/5a325f4507b165564f41fb2d86095ca6175b37dc))
15
+
***func:** median was sometimes wrong ([c36dda7](https://github.com/RomRider/apexcharts-card/commit/c36dda7b6121df9bcd924f5e5b5c9e543930e896))
| `config_templates` | array | | NEXT_VERSION | Define a configuration once and reuse it multiple times. See [config_templates](#configuration-templates) |
129
-
| `color_list` | array | | NEXT_VERSION | Define the array of colors applied to the series. Will be overriden by each serie's color if defined. Usefull for `config_templates` mainly. |
130
-
| `all_series_config` | object | | NEXT_VERSION | If something is defined here it will apply this config to all the series. It accepts the same options as a serie minus `entity`. It is useful to avoid repetition but the same thing can be achieve in each serie individually. See [series](#series-options) and [all_series_config](#all_series_config-options) for an example |
128
+
| `config_templates` | array | | v1.6.0 | Define a configuration once and reuse it multiple times. See [config_templates](#configuration-templates) |
129
+
| `color_list` | array | | v1.6.0 | Define the array of colors applied to the series. Will be overriden by each serie's color if defined. Usefull for `config_templates` mainly. |
130
+
| `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 serie minus `entity`. It is useful to avoid repetition but the same thing can be achieve in each serie individually. See [series](#series-options) and [all_series_config](#all_series_config-options) for an example |
| `update_interval` | string | | v1.1.0 | By default the card updates on every state change. Setting this overrides the behaviour. Valid values are any time string, eg: `1h`, `12min`, `1d`, `1h25`, `10sec`, ... |
133
133
| `update_delay` | string | `1500ms` | v1.4.0 | If the chart doesn't display the last state but the one before, you'll want to increase this value, don't go over `10s`, it's not necessary. You'll also want to increase this value if you are using `attribute` in the `series`. Valid values are any time strings. This is because of how Home-Assistant works with history, see [here](https://www.home-assistant.io/integrations/recorder/#commit_interval) |
@@ -142,7 +142,7 @@ The card stricly validates all the options available (but not for the `apex_conf
| `y_axis_precision` | numnber | `1` | v1.2.0 | The float precision used to display numbers on the Y axis |
144
144
| `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) |
@@ -154,8 +154,8 @@ The card stricly validates all the options available (but not for the `apex_conf
154
154
| `attribute` | string | | v1.4.0 | Instead of retrieving the state, it will retrieve an `attribute` of the entity. Make sure you increase `update_delay` if the chart doesn't reflect the last value of the attribute |
155
155
| `name` | string | | v1.0.0 | Override the name of the entity |
156
156
| `color` | string | | v1.1.0 | Color of the serie. Supported formats: `yellow`, `#aabbcc`, `rgb(128, 128, 128)` or `var(--css-color-variable)` |
157
-
| `opacity` | number | `0.7` for `area`<br/>else `1` | NEXT_VERSION | The opacity of the line or filled area, between `0` and `1` |
158
-
| `stroke_width` | number | `5` | NEXT_VERSION | Change the width of the line. Only works for `area` and `line` |
157
+
| `opacity` | number | `0.7` for `area`<br/>else `1` | v1.6.0 | The opacity of the line or filled area, between `0` and `1` |
158
+
| `stroke_width` | number | `5` | v1.6.0 | Change the width of the line. Only works for `area` and `line` |
159
159
| `type` | string | `line` | v1.0.0 | `line`, `area` or `column` are supported for now |
160
160
| `curve` | string | `smooth` | v1.0.0 | `smooth` (nice curve), `straight` (direct line between points) or `stepline` (flat line until next point then straight up or down) |
161
161
| `extend_to_end` | boolean | `true` | v1.0.0 | If the last data is older than the end time displayed on the graph, setting to true will extend the value until the end of the timeline. Only works for `line` and `area` types. |
@@ -169,7 +169,7 @@ The card stricly validates all the options available (but not for the `apex_conf
169
169
| `offset` | string | | v1.3.0 | This is different from the main `offset` parameter. This is at the series level. It is only usefull if you want to display data from for eg. yesterday on top of the data from today for the same sensor and compare the data. The time displayed in the tooltip will be wrong as will the x axis information. Valid values are any negative time string, eg: `-1h`, `-12min`, `-1d`, `-1h25`, `-10sec`, ... |
170
170
| `min` | number | `0` | v1.4.0 | Only used when `chart_type = radialBar`, see [chart_type](#chart_type-options). Used to convert the value into a percentage. Minimum value of the sensor |
171
171
| `max` | number | `100` | v1.4.0 | Only used when `chart_type = radialBar`, see [chart_type](#chart_type-options). Used to convert the value into a percentage. Maximum value of the sensor |
@@ -180,7 +180,7 @@ The card stricly validates all the options available (but not for the `apex_conf
180
180
| `in_header` | boolean | `true` | v1.4.0 | If `show_states` is enabled, this would show/hide this specific serie in the header |
181
181
| `in_chart` | boolean | `true` | v1.4.0 | If `false`, hides the serie from the chart |
182
182
| `datalabels` | boolean | `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 |
@@ -575,9 +575,9 @@ Generates the same result as repeating the configuration in each series:
575
575
576
576
| Name | Type | Default | Since | Description |
577
577
| ---- | :--: | :-----: | :---: | ----------- |
578
-
| `color_threshold` | boolean | `false` | NEXT_VERSION | Will enable the color threshold feature. See [color_threshold](#color_threshold-experimental-feature) |
579
-
| `disable_config_validation` | boolean | `false` | NEXT_VERSION | If `true`, will disable the config validation. Useful if you have cards adding parameters to this one. Use at your own risk. |
580
-
| `hidden_by_default` | boolean | `false` | NEXT_VERSION | Will allow you to use the `hidden_by_default` option. See [hidden_by_default](#hidden_by_default-experimental-feature) |
578
+
| `color_threshold` | boolean | `false` | v1.6.0 | Will enable the color threshold feature. See [color_threshold](#color_threshold-experimental-feature) |
579
+
| `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. |
580
+
| `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) |
0 commit comments