Skip to content

Commit

Permalink
chore(release): 1.9.0 [skip ci]
Browse files Browse the repository at this point in the history
## [1.9.0](v1.8.2...v1.9.0) (2021-05-24)

### Features

* make datagenerator async ([#157](#157)) ([b9049fc](b9049fc))
* Native multi y-axis support with auto-scale ([#160](#160)) ([e08aa14](e08aa14)), closes [#158](#158)
* soft bounds and extended bounds for yaxis min/max ([#161](#161)) ([c57278b](c57278b))
* **apex_config:** Support for functions in `apex_config` ([cebc03b](cebc03b)), closes [#81](#81)

### Bug Fixes

* always get all state changes, not only significant ones ([3b2f9c8](3b2f9c8))
* graph might be wrong when using `attributes` if value was 0 ([e200323](e200323))
* Support for custom views config parameters (`view_layout`) ([76a8023](76a8023))
* yaxis would always start at 0 ([50ef9e4](50ef9e4)), closes [#158](#158)
* **group_by:** `group_by` reporting erronerous values for the first bucket of data ([8303b84](8303b84)), closes [#110](#110)
* **group_by:** When group_by was used with lines, the end of the chart was showing an empty slot (display bug only) ([0163f9e](0163f9e))
  • Loading branch information
semantic-release-bot committed May 24, 2021
1 parent b198326 commit 76e5ba6
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 12 deletions.
20 changes: 20 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,23 @@
## [1.9.0](https://github.com/RomRider/apexcharts-card/compare/v1.8.2...v1.9.0) (2021-05-24)


### Features

* make datagenerator async ([#157](https://github.com/RomRider/apexcharts-card/issues/157)) ([b9049fc](https://github.com/RomRider/apexcharts-card/commit/b9049fcd70ba633575127a86de6982d6f46d8831))
* Native multi y-axis support with auto-scale ([#160](https://github.com/RomRider/apexcharts-card/issues/160)) ([e08aa14](https://github.com/RomRider/apexcharts-card/commit/e08aa14416fd1724fc379a7b0d991e6ed53cdc03)), closes [#158](https://github.com/RomRider/apexcharts-card/issues/158)
* soft bounds and extended bounds for yaxis min/max ([#161](https://github.com/RomRider/apexcharts-card/issues/161)) ([c57278b](https://github.com/RomRider/apexcharts-card/commit/c57278b59becef474264d2e0bf76a18a312a377f))
* **apex_config:** Support for functions in `apex_config` ([cebc03b](https://github.com/RomRider/apexcharts-card/commit/cebc03b53a0bbf3131076422dd11660d440209dd)), closes [#81](https://github.com/RomRider/apexcharts-card/issues/81)


### Bug Fixes

* always get all state changes, not only significant ones ([3b2f9c8](https://github.com/RomRider/apexcharts-card/commit/3b2f9c8670d55324019901556d1c50775807f505))
* graph might be wrong when using `attributes` if value was 0 ([e200323](https://github.com/RomRider/apexcharts-card/commit/e2003234f0b5a620c60a4a3e197c3b9577fd51ba))
* Support for custom views config parameters (`view_layout`) ([76a8023](https://github.com/RomRider/apexcharts-card/commit/76a8023a12fbdf920309ed1751e1e8d488e90ca1))
* yaxis would always start at 0 ([50ef9e4](https://github.com/RomRider/apexcharts-card/commit/50ef9e41d563d981b408382615c0939b7f330469)), closes [#158](https://github.com/RomRider/apexcharts-card/issues/158)
* **group_by:** `group_by` reporting erronerous values for the first bucket of data ([8303b84](https://github.com/RomRider/apexcharts-card/commit/8303b84a935ed3f1a7c72642777052c487003e0f)), closes [#110](https://github.com/RomRider/apexcharts-card/issues/110)
* **group_by:** When group_by was used with lines, the end of the chart was showing an empty slot (display bug only) ([0163f9e](https://github.com/RomRider/apexcharts-card/commit/0163f9ebbf511c809573c4f567a4e67750a99e38))

## [1.9.0-dev.4](https://github.com/RomRider/apexcharts-card/compare/v1.9.0-dev.3...v1.9.0-dev.4) (2021-05-24)


Expand Down
20 changes: 10 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ This card is available in [HACS](https://hacs.xyz/) (Home Assistant Community St
2. Grab `apexcharts-card.js`:

```
$ wget https://github.com/RomRider/apexcharts-card/releases/download/v1.8.2/apexcharts-card.js
$ wget https://github.com/RomRider/apexcharts-card/releases/download/v1.9.0/apexcharts-card.js
```

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

```yaml
resources:
- url: /local/apexcharts-card.js?v=1.8.2
- url: /local/apexcharts-card.js?v=1.9.0
type: module
```
Expand Down Expand Up @@ -143,7 +143,7 @@ The card stricly validates all the options available (but not for the `apex_conf
| `header` | object | | v1.0.0 | See [header](#header-options) |
| `now` | object | | v1.5.0 | See [now](#now-options) |
| `y_axis_precision` | number | `1` | v1.2.0 | The float precision used to display numbers on the Y axis. Only works if `yaxis` is undefined. |
| `yaxis` | array | | NEXT_VERSION | See [yaxis](#yaxis-options-multi-y-axis) |
| `yaxis` | array | | v1.9.0 | See [yaxis](#yaxis-options-multi-y-axis) |
| `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) |
| `experimental` | object | | v1.6.0 | See [experimental](#experimental-features) |
| `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. |
Expand Down Expand Up @@ -175,7 +175,7 @@ The card stricly validates all the options available (but not for the `apex_conf
| `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 |
| `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 |
| `color_threshold` | object | | v1.6.0 | See [experimental](#experimental-features) |
| `yaxis_id` | string | | NEXT_VERSION | The identification name of the y-axis which this serie should be associated to. See [yaxis](#yaxis-options-multi-y-axis) |
| `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) |
| `show` | object | | v1.3.0 | See [serie's show options](#series-show-options) |

### series' `show` Options
Expand Down Expand Up @@ -433,12 +433,12 @@ You can have as many y-axis as there are series defined in your configuration or

| Name | Type | Default | Since | Description |
| ---- | :--: | :-----: | :---: | ----------- |
| :white_check_mark: `id` | string | | NEXT_VERSION | The identification name of the yaxis used to map it to a serie. Needs to be unique. |
| `show` | boolean | `true` | NEXT_VERSION | Whether to show or not the axis on the chart |
| `opposite` | boolean | `false` | NEXT_VERSION | If `true`, the axis will be shown on the right side of the chart |
| `min` | `auto`, number or string | `auto` | NEXT_VERSION | 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. |
| `max` | `auto`, number or string | `auto` | NEXT_VERSION | 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. |
| `apex_config` | object | | NEXT_VERSION | Any configuration from https://apexcharts.com/docs/options/yaxis/, except `min`, `max`, `show` and `opposite` |
| :white_check_mark: `id` | string | | v1.9.0 | The identification name of the yaxis used to map it to a serie. Needs to be unique. |
| `show` | boolean | `true` | v1.9.0 | Whether to show or not the axis on the chart |
| `opposite` | boolean | `false` | v1.9.0 | If `true`, the axis will be shown on the right side of the chart |
| `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. |
| `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. |
| `apex_config` | object | | v1.9.0 | Any configuration from https://apexcharts.com/docs/options/yaxis/, except `min`, `max`, `show` and `opposite` |

#### Min/Max Format

Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "apexcharts-card",
"version": "1.9.0-dev.4",
"version": "1.9.0",
"description": "A Home Assistant Lovelace card using ApexCharts to render graphs",
"main": "src/apexcharts-card.ts",
"scripts": {
Expand Down

0 comments on commit 76e5ba6

Please sign in to comment.