Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"color_threshold" + "type: line" broken in v1.7.0? #90

Closed
4 tasks done
mabahj opened this issue Feb 16, 2021 · 25 comments
Closed
4 tasks done

"color_threshold" + "type: line" broken in v1.7.0? #90

mabahj opened this issue Feb 16, 2021 · 25 comments
Labels
bug Something isn't working released on @dev released

Comments

@mabahj
Copy link

mabahj commented Feb 16, 2021

Checklist

  • I updated the card to the latest version available
  • I cleared the cache of my browser
  • I verified that I'm really running the lastest version in my browser console
  • I checked if there is another issue opened with the same problem

Describe the bug
(Thank you very much for this very useful card!) The problem:

  • "color_threshold" and "type: line" draws nothing in version 1.7.0. It worked before I updated to 1.7.0.
  • "color_threshold" and "type: column" draws as expected in version 1.7.0

Version of the card
Version: 1.7.0

To Reproduce

These are the two configuration I used, fetched from the documentation example:

Broken:

type: 'custom:apexcharts-card'
experimental:
  color_threshold: true
series:
  - entity: sensor.fake_temperature
    type: line
    color_threshold:
      - value: -10
        color: blue
        opacity: 1
      - value: 0
        color: cyan
      - value: 15
        color: green
      - value: 25
        color: orange

Works:

type: 'custom:apexcharts-card'
experimental:
  color_threshold: true
series:
  - entity: sensor.fake_temperature
    type: column
    color_threshold:
      - value: -10
        color: blue
        opacity: 1
      - value: 0
        color: cyan
      - value: 15
        color: green
      - value: 25
        color: orange

Screenshot: Works:
image

Screenshot: Broken:
image

Expected behavior
The documentation used the above yaml to describe an example on how to use color_threshold (I only changed the entity). It worked on the previous version (1.6.x?).

Desktop (please complete the following information):

  • Vivaldi 3.6.2165.36 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.151 Safari/537.36)
  • Firefox 85.0.2 (Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:85.0) Gecko/20100101 Firefox/85.0)

Smartphone (please complete the following information):
N/A

Additional context
Add any other context about the problem here.

@mabahj mabahj added the bug Something isn't working label Feb 16, 2021
@LouiS22
Copy link

LouiS22 commented Feb 16, 2021

+1 on the "line", it's broken for me as well.

@RomRider
Copy link
Owner

Interesting, works well for me and I didn't update that part of the code. Let me check!

@LouiS22
Copy link

LouiS22 commented Feb 16, 2021

Either I have to remove color_threshold: true from experimental, or from the series, then it's ok (except no color threshold of course).

@RomRider
Copy link
Owner

Any javascript console errors showing up?

@LouiS22
Copy link

LouiS22 commented Feb 16, 2021

Now, that you mention this, yes:

ncaught (in promise) TypeError: Cannot read property 'length' of null
at Function.value (apexcharts-card.js:1)
at t.value (apexcharts-card.js:1)
at t.value (apexcharts-card.js:1)
at t.value (apexcharts-card.js:1)
at t.value (apexcharts-card.js:1)
at t.value (apexcharts-card.js:1)
at t.value (apexcharts-card.js:1)
at t.value (apexcharts-card.js:1)
at t.create (apexcharts-card.js:1)
at apexcharts-card.js:1

@sajikur
Copy link

sajikur commented Feb 16, 2021

Hi, with this code (with threshold option) every browser goes out of memory or it's impossible to load apex graph page

#         - type: custom:apexcharts-card
#           experimental:
#             color_threshold: true
#           graph_span: 72h
#           header:
#             title: Valori esterni
#             show: true
#             show_states: true
#             colorize_states: true
#           all_series_config:
#             stroke_width: 2
#             opacity: 0.3
#             type: area
#           series:
#             - entity: sensor.temperature
#               invert: false
#             #   color: blue
#               color_threshold:
#                 - value: -10
#                 # color can be a color name, rgb(r, g, b), '#0000ff' or var(--color-variable)
#                 # default is: the default color of the serie
#                   color: blue
#                 # optional opacity, value from 0 to 1.
#                 # only for line and area
#                 # Default is 1 for 'type: line' and 0.7 for `type: area`
#                   opacity: 1
#                 - value: 0
#                   color: cyan
#                 - value: 15
#                   color: green
#                 - value: 20
#                   color: orange

any idea to solve?

thanx

@RomRider
Copy link
Owner

@LouiS22, I've just released a new beta version which is an attempt to fix the issue, mind trying it please?

@LouiS22
Copy link

LouiS22 commented Feb 16, 2021

@LouiS22, I've just released a new beta version which is an attempt to fix the issue, mind trying it please?

Hello, unfortunately it's the same, and the above error message is still present in the javascript console.

@RomRider
Copy link
Owner

RomRider commented Feb 16, 2021

@LouiS22, can you please share your config? And the min and the max value of the sensor your are charting?
I can't reproduce.
@mabahj, I can't reproduce either with the latest beta (nor with 1.7.0).
In an attempt to do the same graph as you, this is what I've used to generate the data.

          - type: custom:apexcharts-card
            experimental:
              color_threshold: true
            series:
              - entity: sensor.temperature
                type: line
                color_threshold:
                  - value: -10
                    color: blue
                    opacity: 1
                  - value: 0
                    color: cyan
                  - value: 15
                    color: green
                  - value: 25
                    color: orange
                data_generator: |
                  let res = [];
                  let i = -6;
                  start = new Date(start.getTime() - 4 * 1000 * 60 * 60);
                  Array.from(Array(28).keys()).forEach((entry, index) => {
                    res.push([new Date(start.getTime() + index * 1000 * 60 * 60).getTime(), i]);
                    i += 2;
                    if (i >= 28) i = -15;
                  });
                  return res;

image
image

@LouiS22
Copy link

LouiS22 commented Feb 16, 2021

Sure, there you go:

type: 'custom:apexcharts-card'
experimental:
  color_threshold: true
graph_span: 12h
header:
  show: true
  show_states: true
  colorize_states: true
series:
  - entity: sensor.netatmo_netatmo_co2
    show:
      header_color_threshold: true
    curve: smooth
    color_threshold:
      - value: 300
        color: green
      - value: 700
        color: '#82ed82'
      - value: 1100
        color: '#e8e041'
      - value: 1600
        color: '#e88941'
      - value: 2100
        color: '#e84141'
now:
  show: true
  label: now
apex_config:
  chart:
    height: 250px

@RomRider
Copy link
Owner

Also min and max which are supposed to be displayed currently in the chart (you can disable thresholds to be able to see them)

@LouiS22
Copy link

LouiS22 commented Feb 16, 2021

Also min and max which are supposed to be displayed currently in the chart (you can disable thresholds to be able to see them)

400-1400.

@RomRider
Copy link
Owner

RomRider commented Feb 16, 2021

@LouiS22, does that work for you (also make sure you are running the latest version really and not a cached one, you can see the actual version in the console):

          - type: 'custom:apexcharts-card'
            experimental:
              color_threshold: true
            graph_span: 12h
            header:
              show: true
              show_states: true
              colorize_states: true
            series:
              - entity: sensor.netatmo_netatmo_co2
                show:
                  header_color_threshold: true
                curve: smooth
                color_threshold:
                  - value: 300
                    color: green
                  - value: 700
                    color: '#82ed82'
                  - value: 1100
                    color: '#e8e041'
                  - value: 1600
                    color: '#e88941'
                  - value: 2100
                    color: '#e84141'
                data_generator: |
                  let res = [];
                  let i = 400;
                  start = new Date(start.getTime() - 4 * 1000 * 60 * 60);
                  Array.from(Array(28).keys()).forEach((entry, index) => {
                    res.push([new Date(start.getTime() + index * 1000 * 60 * 60).getTime(), i]);
                    i += 200;
                    if (i >= 1401) i = 400;
                  });
                  return res;
            now:
              show: true
              label: now
            apex_config:
              chart:
                height: 250px

image

@LouiS22
Copy link

LouiS22 commented Feb 16, 2021

@LouiS22, does that work for you (also make sure you are running the latest version really and not a cached one, you can see the actual version in the console):

          - type: 'custom:apexcharts-card'
            experimental:
              color_threshold: true
            graph_span: 12h
            header:
              show: true
              show_states: true
              colorize_states: true
            series:
              - entity: sensor.netatmo_netatmo_co2
                show:
                  header_color_threshold: true
                curve: smooth
                color_threshold:
                  - value: 300
                    color: green
                  - value: 700
                    color: '#82ed82'
                  - value: 1100
                    color: '#e8e041'
                  - value: 1600
                    color: '#e88941'
                  - value: 2100
                    color: '#e84141'
                data_generator: |
                  let res = [];
                  let i = 400;
                  start = new Date(start.getTime() - 4 * 1000 * 60 * 60);
                  Array.from(Array(28).keys()).forEach((entry, index) => {
                    res.push([new Date(start.getTime() + index * 1000 * 60 * 60).getTime(), i]);
                    i += 200;
                    if (i >= 1401) i = 400;
                  });
                  return res;
            now:
              show: true
              label: now
            apex_config:
              chart:
                height: 250px

image

No, just endless circle :(

FYI: I'm using Chrome (not that it matters, but it's strange you can generate data).

@RomRider
Copy link
Owner

I'm also using chrome. It's hard for me to fix it since I can't reproduce those errors :(

@RomRider
Copy link
Owner

So @LouiS22, for your error, I think I found the issue, but it seems unrelated to color_threshold which is surprising 🤷‍♂️ I'll a fix soon.

@LouiS22
Copy link

LouiS22 commented Feb 16, 2021

So @LouiS22, for your error, I think I found the issue, but it seems unrelated to color_threshold which is surprising 🤷‍♂️ I'll a fix soon.

Many thanks for your effort! Let me know if you need anything else!

@mabahj
Copy link
Author

mabahj commented Feb 16, 2021

So @LouiS22, for your error, I think I found the issue, but it seems unrelated to color_threshold which is surprising 🤷‍♂️ I'll a fix soon.

Wow! Things move fast here! Is that an upcoming fix for the problem I am seeing as well, the original bug report? Or would you still need some more info from me? (I downgraded to 1.6, but I can upgrade again if you want.)

@RomRider
Copy link
Owner

RomRider commented Feb 16, 2021

@mabahj it might be related yes, however, I'd still be interested in 2 things to validate that assumption:

  • If you could test the latest beta where I attempted to fix one of the issue
  • If you could provide the javascript console error log (if any) when the chart doesn't display (also on the latest beta)

github-actions bot pushed a commit that referenced this issue Feb 16, 2021
### [1.7.1-dev.2](v1.7.1-dev.1...v1.7.1-dev.2) (2021-02-16)

### Bug Fixes

* Disable support for colors with alpha channel ([#91](#91)) ([522363a](522363a)), closes [#90](#90)
@github-actions
Copy link

🎉 This issue has been resolved in version 1.7.1-dev.2 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@RomRider
Copy link
Owner

So I think I've figured out why it was breaking. If you both could give me feedback using the latest dev version that would help :) (make sure you are really running it by checking the JS console of your browser and not a cached version)

@LouiS22
Copy link

LouiS22 commented Feb 16, 2021

So I think I've figured out why it was breaking. If you both could give me feedback using the latest dev version that would help :) (make sure you are really running it by checking the JS console of your browser and not a cached version)

Hello! After upgrading it wasn't ok, but after a full browser cache delete helped me solve it, so now it seems ok!

@mabahj
Copy link
Author

mabahj commented Feb 17, 2021

I updated to v1.7.1-dev.2 and it works here as well! Thank you very much!

I do, however, see a lot of errors in the console. I have no idea if they are related and a concern. Or, most probably, because I have a wrong configuration somewhere. The visuals works great, so I'm happy as it is!

I'll attach them here is they are related and/or have value:

image

@RomRider
Copy link
Owner

Don't worry about those. There's an issue for that but it's not a problem, see #17

Happy that it works again for you also!

github-actions bot pushed a commit that referenced this issue Feb 17, 2021
### [1.7.1](v1.7.0...v1.7.1) (2021-02-17)

### Bug Fixes

* Disable support for colors with alpha channel ([#91](#91)) ([522363a](522363a)), closes [#90](#90)
* **color_threshold:** Sometimes it would break the card ([65b5419](65b5419))
@github-actions
Copy link

🎉 This issue has been resolved in version 1.7.1 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

github-actions bot pushed a commit to lobodart/apexcharts-card that referenced this issue Sep 26, 2022
## 1.0.0 (2022-09-26)

### ⚠ BREAKING CHANGES

* `extend_to_end` has been removed and replaced by `extend_to` with support for `now` and `end`.
* Replace `hours_to_show` with `graph_span`. Takes a time string instead of a number of hours.

### Features

* `extend_to` replaces `extend_to_end` with new options ([4bb1dd2](4bb1dd2)), closes [RomRider#318](https://github.com/lobodart/apexcharts-card/issues/318)
* **actions:** `header_actions` support for actions in header ([RomRider#171](https://github.com/lobodart/apexcharts-card/issues/171)) ([bd6a497](bd6a497)), closes [RomRider#61](https://github.com/lobodart/apexcharts-card/issues/61)
* Add `update_interval` config option ([357db9a](357db9a)), closes [RomRider#2](https://github.com/lobodart/apexcharts-card/issues/2)
* Add delta and median function ([4a77e55](4a77e55))
* Add spinner while data is loading ([39d4b8e](39d4b8e))
* add state type to long term statistics ([RomRider#329](https://github.com/lobodart/apexcharts-card/issues/329)) ([3fad4f0](3fad4f0))
* add stroke_width and experimental color_threshold/disable_config_validation ([fcdfa88](fcdfa88)), closes [RomRider#58](https://github.com/lobodart/apexcharts-card/issues/58)
* **apex_config:** Support for functions in `apex_config` ([cebc03b](cebc03b)), closes [RomRider#81](https://github.com/lobodart/apexcharts-card/issues/81)
* Apply a `time_delta` to all the datapoints of your serie ([435e381](435e381)), closes [RomRider#277](https://github.com/lobodart/apexcharts-card/issues/277)
* Better cache handling ([RomRider#1](https://github.com/lobodart/apexcharts-card/issues/1)) ([804415f](804415f))
* Bring back `hours_12` from the dead ([676bdb7](676bdb7))
* **brush:** Support for a timeframe selection chart ([RomRider#102](https://github.com/lobodart/apexcharts-card/issues/102)) ([c8dedf7](c8dedf7))
* **cache:** Invalidate cache on every new card version ([RomRider#12](https://github.com/lobodart/apexcharts-card/issues/12)) ([b1799d9](b1799d9))
* **card:** Support for pre-defined layouts ([c5987f8](c5987f8))
* **color:** Define your own `color` option for each `serie` ([RomRider#7](https://github.com/lobodart/apexcharts-card/issues/7)) ([3a15db2](3a15db2)), closes [RomRider#4](https://github.com/lobodart/apexcharts-card/issues/4)
* **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 ([RomRider#64](https://github.com/lobodart/apexcharts-card/issues/64)) ([17004a3](17004a3))
* **data_generator:** Build your own data based on the last state and attributes of your entity ([RomRider#14](https://github.com/lobodart/apexcharts-card/issues/14)) ([18284b5](18284b5)), closes [RomRider#6](https://github.com/lobodart/apexcharts-card/issues/6)
* **datalabels:** Option to display total when chart is stacked ([RomRider#75](https://github.com/lobodart/apexcharts-card/issues/75)) ([e1c5b01](e1c5b01)), closes [RomRider#73](https://github.com/lobodart/apexcharts-card/issues/73)
* Define your own float precision for legend, tooltip and Y axis ([7b0f30f](7b0f30f))
* display only the min or max extrema ([3db982b](3db982b)), closes [RomRider#319](https://github.com/lobodart/apexcharts-card/issues/319)
* display the chart's last update time using `last_updated` ([2dd84ff](2dd84ff))
* Display warning if sensor doesn't exist ([a69df3d](a69df3d))
* **editor:** Preview in the GUI card selector ([d4cd7a3](d4cd7a3))
* **experimental:** `hidden_by_default` to toggle series on load ([RomRider#62](https://github.com/lobodart/apexcharts-card/issues/62)) ([63717b7](63717b7)), closes [RomRider#60](https://github.com/lobodart/apexcharts-card/issues/60)
* **experimental:** Header color can now follow `color_threshold` ([RomRider#88](https://github.com/lobodart/apexcharts-card/issues/88)) ([074bfc3](074bfc3)), closes [RomRider#78](https://github.com/lobodart/apexcharts-card/issues/78)
* **extremas:** Display the time on top of your extremas ([RomRider#97](https://github.com/lobodart/apexcharts-card/issues/97)) ([d127b37](d127b37))
* Floating header ([1eccee8](1eccee8))
* follow Home Assistant number format ([9204de2](9204de2)), closes [RomRider#307](https://github.com/lobodart/apexcharts-card/issues/307)
* **graph:** Extends graph's last value to the current time ([bfe64c5](bfe64c5))
* **graph:** New chart types `scatter`, `donut`, `pie` and `radialBar` ([RomRider#24](https://github.com/lobodart/apexcharts-card/issues/24)) ([a0e4f85](a0e4f85))
* **group_by:** Add more functions and fix buckets ([c7324e0](c7324e0))
* **group_by:** Add new `diff` function ([57fd6a6](57fd6a6))
* **group_by:** With `start_with_last`, each bucket will start with the last data from the previous bucket ([8669411](8669411))
* **header:** More header options and title support ([RomRider#8](https://github.com/lobodart/apexcharts-card/issues/8)) ([2cbd769](2cbd769)), closes [RomRider#5](https://github.com/lobodart/apexcharts-card/issues/5)
* **header:** Standard header title home-assistant format using `standard_format` ([35c5391](35c5391)), closes [RomRider#35](https://github.com/lobodart/apexcharts-card/issues/35)
* Initial support for aggregating data ([13dfd89](13dfd89))
* **invert:** Negates/Inverts the data for a serie ([RomRider#13](https://github.com/lobodart/apexcharts-card/issues/13)) ([ab793c5](ab793c5))
* **locale:** Inherit locale from Home-Assistant, deprecate `hours_12` ([RomRider#70](https://github.com/lobodart/apexcharts-card/issues/70)) ([af2d201](af2d201)), closes [RomRider#68](https://github.com/lobodart/apexcharts-card/issues/68)
* make datagenerator async ([RomRider#157](https://github.com/lobodart/apexcharts-card/issues/157)) ([b9049fc](b9049fc))
* Native multi y-axis support with auto-scale ([RomRider#160](https://github.com/lobodart/apexcharts-card/issues/160)) ([e08aa14](e08aa14)), closes [RomRider#158](https://github.com/lobodart/apexcharts-card/issues/158)
* **now:** Add a marker at the current time on the chart ([9b6b83d](9b6b83d)), closes [RomRider#44](https://github.com/lobodart/apexcharts-card/issues/44)
* pie/donut now shows the value of the serie instead of the percentage. Old behavior with `datalabels: percent` ([7591aba](7591aba))
* Replace `hours_to_show` with `graph_span`. Takes a time string instead of a number of hours. ([e7ed408](e7ed408))
* **series.offset:** Compare data from another timeframe with the current timeframe ([RomRider#19](https://github.com/lobodart/apexcharts-card/issues/19)) ([af8ba81](af8ba81)), closes [RomRider#18](https://github.com/lobodart/apexcharts-card/issues/18)
* **series.show:** Display the value before/after the current time in the header ([2855403](2855403)), closes [RomRider#86](https://github.com/lobodart/apexcharts-card/issues/86)
* **series.show:** Display your serie's extremas on the chart ([RomRider#85](https://github.com/lobodart/apexcharts-card/issues/85)) ([f64169a](f64169a))
* **series.show:** Hide the name of a serie in the header ([b20133d](b20133d)), closes [RomRider#111](https://github.com/lobodart/apexcharts-card/issues/111)
* **series.show:** Hide the offset from the name of the serie ([a46c3f0](a46c3f0)), closes [RomRider#112](https://github.com/lobodart/apexcharts-card/issues/112)
* **series.show:** Option to show the raw data in the header ([RomRider#76](https://github.com/lobodart/apexcharts-card/issues/76)) ([87b56f5](87b56f5)), closes [RomRider#69](https://github.com/lobodart/apexcharts-card/issues/69)
* **series.show:** Show/hide dataLabels per serie ([9e28db3](9e28db3))
* **series:** `transform` the data the way you want ([RomRider#45](https://github.com/lobodart/apexcharts-card/issues/45)) ([1cb6bb5](1cb6bb5))
* **series:** Define the `opacity` of the line or area ([8dfb3fd](8dfb3fd)), closes [RomRider#57](https://github.com/lobodart/apexcharts-card/issues/57)
* **series:** Display values as a duration ([RomRider#21](https://github.com/lobodart/apexcharts-card/issues/21)) ([227f0ea](227f0ea))
* **series:** Hide the value of a serie in the legend ([RomRider#22](https://github.com/lobodart/apexcharts-card/issues/22)) ([1e8f748](1e8f748)), closes [RomRider#20](https://github.com/lobodart/apexcharts-card/issues/20)
* **series:** New `fill_raw` option to fill missing data in raw history ([e2433b6](e2433b6))
* **series:** Retrieve an attribute of your entity instead of the state ([RomRider#32](https://github.com/lobodart/apexcharts-card/issues/32)) ([b76bf16](b76bf16)), closes [RomRider#29](https://github.com/lobodart/apexcharts-card/issues/29)
* **series:** Show/Hide a specific serie from the header or the graph ([RomRider#36](https://github.com/lobodart/apexcharts-card/issues/36)) ([95c0433](95c0433))
* Show value in legend ([869a7f8](869a7f8))
* soft bounds and extended bounds for yaxis min/max ([RomRider#161](https://github.com/lobodart/apexcharts-card/issues/161)) ([c57278b](c57278b))
* **span:** Add `end` as an option to end the graph at the end of the day, minute, etc... ([RomRider#11](https://github.com/lobodart/apexcharts-card/issues/11)) ([1d0aca8](1d0aca8))
* **span:** Add support for `isoWeek` ([7abc750](7abc750)), closes [RomRider#106](https://github.com/lobodart/apexcharts-card/issues/106)
* **span:** Display the graph from the start of the hour, day, month,… with an offset or not ([RomRider#10](https://github.com/lobodart/apexcharts-card/issues/10)) ([bb6e88c](bb6e88c))
* support actions on the title with `title_actions` ([a9f406e](a9f406e)), closes [RomRider#323](https://github.com/lobodart/apexcharts-card/issues/323)
* Support for 12-hour format ([RomRider#55](https://github.com/lobodart/apexcharts-card/issues/55)) ([f38a18e](f38a18e)), closes [RomRider#48](https://github.com/lobodart/apexcharts-card/issues/48) [RomRider#53](https://github.com/lobodart/apexcharts-card/issues/53)
* Support for all ApexCharts options ([03efa8d](03efa8d))
* Support for auto-entities ([060e4c0](060e4c0))
* Support for HA long-term statistics ([RomRider#208](https://github.com/lobodart/apexcharts-card/issues/208)) ([29aaa7c](29aaa7c)), closes [RomRider#308](https://github.com/lobodart/apexcharts-card/issues/308)
* Support for header ([c5a8ee2](c5a8ee2))
* **transform:** Provide the full state as `entity` to the function ([RomRider#77](https://github.com/lobodart/apexcharts-card/issues/77)) ([9919c10](9919c10)), closes [RomRider#71](https://github.com/lobodart/apexcharts-card/issues/71)
* update from lit-html/lit-element to lit ([5a7d944](5a7d944))
* uses the time format defined in Home Assistant user profile ([78df800](78df800)), closes [RomRider#213](https://github.com/lobodart/apexcharts-card/issues/213)
* **yaxis:** `id` and `yaxis_id` no longer needed with only 1 yaxis defined ([e5e8904](e5e8904))
* **yaxis:** Align the extremas to the closest `align_to`  value. ([a46c812](a46c812)), closes [RomRider#170](https://github.com/lobodart/apexcharts-card/issues/170)
* **yaxis:** Set the number of decimals shown on the yaxis. Deprecate `y_axis_precision`. ([33fc474](33fc474)), closes [RomRider#164](https://github.com/lobodart/apexcharts-card/issues/164)

### Bug Fixes

* `bar` should be `column` ([ff188ee](ff188ee))
* `group_by` was extending values into the future ([2cb79d2](2cb79d2))
* `group_by` would sometimes not work with `data_generator` ([cfa6871](cfa6871))
* `last_updated` date format was not following the configuration ([3dd4904](3dd4904))
* `update_interval` was broken ([31d2fb7](31d2fb7))
* 1st color was not using transparency ([77a9c8d](77a9c8d))
* always get all state changes, not only significant ones ([3b2f9c8](3b2f9c8))
* annotations with time were not following the time format configuration ([5d08853](5d08853))
* another caching issue with statistics ([b93ee75](b93ee75))
* **axis:** X and Y Axis Tooltip color matches theme ([fb717ef](fb717ef))
* bug introduced by 591add ([b9c9297](b9c9297))
* **build:** Missing dependancy ([7d7d637](7d7d637))
* **build:** Remove comments from build ([268ef77](268ef77))
* caching issue for statistics ([8daff2f](8daff2f))
* Chart not displayed properly or at all with layout-card ([e5840fb](e5840fb)), closes [RomRider#121](https://github.com/lobodart/apexcharts-card/issues/121)
* color with alpha would render area opaque ([100b6d4](100b6d4))
* color_threshold would sometimes render weirdly ([d7063a5](d7063a5)), closes [RomRider#177](https://github.com/lobodart/apexcharts-card/issues/177)
* **color_threshold:** opacity for color_threshold ([5a325f4](5a325f4))
* **color_threshold:** Sometimes it would break the card ([65b5419](65b5419))
* **colorize_states:** Parameter was not applied ([28bb2e2](28bb2e2))
* **config_templates:** Was supposed to support a string ([f36d9b1](f36d9b1)), closes [RomRider#87](https://github.com/lobodart/apexcharts-card/issues/87)
* **config:** `style` was not a valid config option (card-mod/picture-element) ([0a38778](0a38778)), closes [RomRider#15](https://github.com/lobodart/apexcharts-card/issues/15)
* dataLabels would not follow `float_precision` ([cf9b63a](cf9b63a)), closes [RomRider#54](https://github.com/lobodart/apexcharts-card/issues/54)
* **datalabels:** Truncate floats to 1 digit after the decimal point ([f5f744f](f5f744f))
* Disable support for colors with alpha channel ([RomRider#91](https://github.com/lobodart/apexcharts-card/issues/91)) ([522363a](522363a)), closes [RomRider#90](https://github.com/lobodart/apexcharts-card/issues/90)
* Display non inverted numbers in legend/tooltip/datalabels when `invert: true` ([331fe04](331fe04)), closes [RomRider#96](https://github.com/lobodart/apexcharts-card/issues/96)
* Error was not displayed if duration couldn't be parsed ([2e2212f](2e2212f))
* extremas was not working with `invert: true` ([4d06ef6](4d06ef6)), closes [RomRider#96](https://github.com/lobodart/apexcharts-card/issues/96)
* extremas would not display with offset applied on series ([4d7d77a](4d7d77a)), closes [RomRider#177](https://github.com/lobodart/apexcharts-card/issues/177)
* **extremas:** Multi y-axis support ([RomRider#98](https://github.com/lobodart/apexcharts-card/issues/98)) ([5c7d742](5c7d742)), closes [RomRider#89](https://github.com/lobodart/apexcharts-card/issues/89)
* Float were not displayed in non-timeline charts ([e67d2d7](e67d2d7)), closes [RomRider#42](https://github.com/lobodart/apexcharts-card/issues/42)
* Floats were not truncated properly for radialBar ([0c789ff](0c789ff)), closes [RomRider#174](https://github.com/lobodart/apexcharts-card/issues/174)
* Friendly name wouldn't display anymore ([ef38724](ef38724))
* **func:** Filter `null` values in `diff` ([cfe736c](cfe736c))
* **func:** median was sometimes wrong ([c36dda7](c36dda7))
* Get rid of the initial load delay ([69f151b](69f151b))
* graph might be wrong when using `attributes` if value was 0 ([e200323](e200323))
* Graph stopped updating following ddf6ca9 ([bc54729](bc54729))
* **graph:** Loading message didn't appear ([ce3c45c](ce3c45c))
* **graph:** Not displaying the latest state in graph ([280e328](280e328))
* **group_by:** `group_by` reporting erronerous values for the first bucket of data ([8303b84](8303b84)), closes [RomRider#110](https://github.com/lobodart/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](0163f9e))
* header units for `radialBar` ([6883a8f](6883a8f)), closes [RomRider#105](https://github.com/lobodart/apexcharts-card/issues/105)
* **header:** Hide unit when `as_duration` is used ([5686931](5686931))
* **header:** State was sometimes multi-line ([4187104](4187104))
* **header:** Unit would sometimes be on a new line ([92fad1b](92fad1b))
* hidden by default would not work without a name ([9c75ce8](9c75ce8)), closes [RomRider#280](https://github.com/lobodart/apexcharts-card/issues/280)
* history data could be modified in some rare cases ([d38fd6e](d38fd6e))
* Ignore recorder when not required ([c28a7a6](c28a7a6)), closes [RomRider#169](https://github.com/lobodart/apexcharts-card/issues/169)
* **in_header:** `after/before_now` not working with offsetted series ([960b43c](960b43c))
* last caching issue with statistics ([2e528f7](2e528f7))
* Last computed history data shouldn't be null ([ec875d5](ec875d5))
* **legend:** Change ` - ` to `: ` between name and state ([4e3cdc6](4e3cdc6))
* **legend:** undefined was displayed for a hidden serie ([352c016](352c016))
* median function fails if it receives an empty table ([RomRider#316](https://github.com/lobodart/apexcharts-card/issues/316)) ([12f8d2e](12f8d2e))
* Name and units displayed ([fe5526b](fe5526b))
* Not releasing file ([e1dc473](e1dc473))
* Optimize `extend_to_end` when used with `group_by` ([591add8](591add8))
* **series.offset:** Fix bug introduced by [RomRider#19](https://github.com/lobodart/apexcharts-card/issues/19) ([f5c0d57](f5c0d57)), closes [RomRider#18](https://github.com/lobodart/apexcharts-card/issues/18)
* Sometimes card would stay in warning mode ([ddf6ca9](ddf6ca9))
* Sometimes the graph was empty when changing tabs ([9232044](9232044))
* **start_with_last:** `start_with_last` would sometimes throw ([f5aa2e3](f5aa2e3))
* **style:** Better default styling of toolbar ([4d0ef1c](4d0ef1c)), closes [RomRider#16](https://github.com/lobodart/apexcharts-card/issues/16)
* Support for `rgba` colors ([7ecfafd](7ecfafd))
* Support for card-mod >= 3.0 ([8348119](8348119)), closes [RomRider#104](https://github.com/lobodart/apexcharts-card/issues/104)
* Support for custom views config parameters (`view_layout`) ([76a8023](76a8023))
* Support for fire-dom-event with browser-mod ([3dc9625](3dc9625)), closes [RomRider#196](https://github.com/lobodart/apexcharts-card/issues/196)
* the hass object could sometimes be null ([ff27baf](ff27baf)), closes [RomRider#191](https://github.com/lobodart/apexcharts-card/issues/191)
* Tooltip should not be in a fixed position ([1762049](1762049))
* **tooltip:** Use colors from the theme ([5c263f1](5c263f1))
* **tooltip:** Values where following the selected point ([0145ca2](0145ca2))
* truncate floats in total datalabels ([917a20a](917a20a)), closes [RomRider#73](https://github.com/lobodart/apexcharts-card/issues/73)
* Update apexcharts.js to the the latest version ([dd0bf6f](dd0bf6f))
* When recorder was skipped, attributes were ignored ([15e5372](15e5372))
* Wrong labels in tooltip in some cases ([8f0aca1](8f0aca1))
* **xasis:** Better handling of graph end time if everything is `column` and `group_by` is enabled ([b5b85a6](b5b85a6))
* yaxis would always start at 0 ([50ef9e4](50ef9e4)), closes [RomRider#158](https://github.com/lobodart/apexcharts-card/issues/158)
* **yaxis:** apex_config.yaxis was not taken into account properly ([ce04230](ce04230))
* **yaxis:** auto scale was not taking the serie's offset into account ([f82f7e0](f82f7e0)), closes [RomRider#172](https://github.com/lobodart/apexcharts-card/issues/172)
* **yaxis:** Fixed + unfixed bounds on the same yaxis is now working ([f7e4668](f7e4668))

### Documentation

* `align_to` description update ([4471469](4471469))
* Add an example to change the line thickness ([fd4a495](fd4a495))
* Add examples and fix documentation ([c71b76a](c71b76a))
* Add more example ([ffaa5df](ffaa5df))
* Better info about month and year as offset units ([c194f87](c194f87)), closes [RomRider#65](https://github.com/lobodart/apexcharts-card/issues/65)
* Card is now available in HACS by default ([1200abd](1200abd))
* **config_templates:** Fix wrong config example ([ea1fef4](ea1fef4))
* Fix ApexCharts link ([9394dee](9394dee))
* Fix error `data_generator` example ([6d1c7a0](6d1c7a0)), closes [RomRider#34](https://github.com/lobodart/apexcharts-card/issues/34)
* Fix HACS doc (not yet available by default) ([53fece2](53fece2))
* fix some README glitches ([3dd8b48](3dd8b48))
* Fix some typos ([3df6aed](3df6aed))
* Fix typo in doc ([89ed3c5](89ed3c5))
* Fix typos and broken links ([7789b8f](7789b8f))
* Initial README release ([7a87694](7a87694))
* Missing `title` documentation in the header section ([ff7f35b](ff7f35b))
* Missing doc for `last_updated` ([93ae54a](93ae54a))
* Missing link to the `now` section ([9747257](9747257))
* Update README.md ([b9d49ab](b9d49ab))
github-actions bot pushed a commit to TheBrain8791/apexcharts-card that referenced this issue Jan 15, 2023
## 1.0.0 (2023-01-15)

### ⚠ BREAKING CHANGES

* `extend_to_end` has been removed and replaced by `extend_to` with support for `now` and `end`.
* Replace `hours_to_show` with `graph_span`. Takes a time string instead of a number of hours.

### Features

* `extend_to` replaces `extend_to_end` with new options ([4bb1dd2](4bb1dd2)), closes [RomRider#318](https://github.com/TheBrain8791/apexcharts-card/issues/318)
* **actions:** `header_actions` support for actions in header ([RomRider#171](https://github.com/TheBrain8791/apexcharts-card/issues/171)) ([bd6a497](bd6a497)), closes [RomRider#61](https://github.com/TheBrain8791/apexcharts-card/issues/61)
* Add `update_interval` config option ([357db9a](357db9a)), closes [#2](#2)
* Add delta and median function ([4a77e55](4a77e55))
* Add spinner while data is loading ([39d4b8e](39d4b8e))
* add state type to long term statistics ([RomRider#329](https://github.com/TheBrain8791/apexcharts-card/issues/329)) ([3fad4f0](3fad4f0))
* add stroke_width and experimental color_threshold/disable_config_validation ([fcdfa88](fcdfa88)), closes [RomRider#58](https://github.com/TheBrain8791/apexcharts-card/issues/58)
* **apex_config:** Support for functions in `apex_config` ([cebc03b](cebc03b)), closes [RomRider#81](https://github.com/TheBrain8791/apexcharts-card/issues/81)
* Apply a `time_delta` to all the datapoints of your serie ([435e381](435e381)), closes [RomRider#277](https://github.com/TheBrain8791/apexcharts-card/issues/277)
* Better cache handling ([#1](#1)) ([804415f](804415f))
* Bring back `hours_12` from the dead ([676bdb7](676bdb7))
* **brush:** Support for a timeframe selection chart ([RomRider#102](https://github.com/TheBrain8791/apexcharts-card/issues/102)) ([c8dedf7](c8dedf7))
* **cache:** Invalidate cache on every new card version ([RomRider#12](https://github.com/TheBrain8791/apexcharts-card/issues/12)) ([b1799d9](b1799d9))
* **card:** Support for pre-defined layouts ([c5987f8](c5987f8))
* **color:** Define your own `color` option for each `serie` ([#7](#7)) ([3a15db2](3a15db2)), closes [#4](#4)
* **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 ([RomRider#64](https://github.com/TheBrain8791/apexcharts-card/issues/64)) ([17004a3](17004a3))
* **data_generator:** Build your own data based on the last state and attributes of your entity ([RomRider#14](https://github.com/TheBrain8791/apexcharts-card/issues/14)) ([18284b5](18284b5)), closes [#6](#6)
* **datalabels:** Option to display total when chart is stacked ([RomRider#75](https://github.com/TheBrain8791/apexcharts-card/issues/75)) ([e1c5b01](e1c5b01)), closes [RomRider#73](https://github.com/TheBrain8791/apexcharts-card/issues/73)
* Define your own float precision for legend, tooltip and Y axis ([7b0f30f](7b0f30f))
* display only the min or max extrema ([3db982b](3db982b)), closes [RomRider#319](https://github.com/TheBrain8791/apexcharts-card/issues/319)
* display the chart's last update time using `last_updated` ([2dd84ff](2dd84ff))
* Display warning if sensor doesn't exist ([a69df3d](a69df3d))
* **editor:** Preview in the GUI card selector ([d4cd7a3](d4cd7a3))
* **experimental:** `hidden_by_default` to toggle series on load ([RomRider#62](https://github.com/TheBrain8791/apexcharts-card/issues/62)) ([63717b7](63717b7)), closes [RomRider#60](https://github.com/TheBrain8791/apexcharts-card/issues/60)
* **experimental:** Header color can now follow `color_threshold` ([RomRider#88](https://github.com/TheBrain8791/apexcharts-card/issues/88)) ([074bfc3](074bfc3)), closes [RomRider#78](https://github.com/TheBrain8791/apexcharts-card/issues/78)
* **extremas:** Display the time on top of your extremas ([RomRider#97](https://github.com/TheBrain8791/apexcharts-card/issues/97)) ([d127b37](d127b37))
* Floating header ([1eccee8](1eccee8))
* follow Home Assistant number format ([9204de2](9204de2)), closes [RomRider#307](https://github.com/TheBrain8791/apexcharts-card/issues/307)
* **graph:** Extends graph's last value to the current time ([bfe64c5](bfe64c5))
* **graph:** New chart types `scatter`, `donut`, `pie` and `radialBar` ([RomRider#24](https://github.com/TheBrain8791/apexcharts-card/issues/24)) ([a0e4f85](a0e4f85))
* **group_by:** Add more functions and fix buckets ([c7324e0](c7324e0))
* **group_by:** Add new `diff` function ([57fd6a6](57fd6a6))
* **group_by:** With `start_with_last`, each bucket will start with the last data from the previous bucket ([8669411](8669411))
* **header:** More header options and title support ([#8](#8)) ([2cbd769](2cbd769)), closes [#5](#5)
* **header:** Standard header title home-assistant format using `standard_format` ([35c5391](35c5391)), closes [RomRider#35](https://github.com/TheBrain8791/apexcharts-card/issues/35)
* Initial support for aggregating data ([13dfd89](13dfd89))
* **invert:** Negates/Inverts the data for a serie ([RomRider#13](https://github.com/TheBrain8791/apexcharts-card/issues/13)) ([ab793c5](ab793c5))
* **locale:** Inherit locale from Home-Assistant, deprecate `hours_12` ([RomRider#70](https://github.com/TheBrain8791/apexcharts-card/issues/70)) ([af2d201](af2d201)), closes [RomRider#68](https://github.com/TheBrain8791/apexcharts-card/issues/68)
* make datagenerator async ([RomRider#157](https://github.com/TheBrain8791/apexcharts-card/issues/157)) ([b9049fc](b9049fc))
* Native multi y-axis support with auto-scale ([RomRider#160](https://github.com/TheBrain8791/apexcharts-card/issues/160)) ([e08aa14](e08aa14)), closes [RomRider#158](https://github.com/TheBrain8791/apexcharts-card/issues/158)
* **now:** Add a marker at the current time on the chart ([9b6b83d](9b6b83d)), closes [RomRider#44](https://github.com/TheBrain8791/apexcharts-card/issues/44)
* pie/donut now shows the value of the serie instead of the percentage. Old behavior with `datalabels: percent` ([7591aba](7591aba))
* Replace `hours_to_show` with `graph_span`. Takes a time string instead of a number of hours. ([e7ed408](e7ed408))
* **series.offset:** Compare data from another timeframe with the current timeframe ([RomRider#19](https://github.com/TheBrain8791/apexcharts-card/issues/19)) ([af8ba81](af8ba81)), closes [RomRider#18](https://github.com/TheBrain8791/apexcharts-card/issues/18)
* **series.show:** Display the value before/after the current time in the header ([2855403](2855403)), closes [RomRider#86](https://github.com/TheBrain8791/apexcharts-card/issues/86)
* **series.show:** Display your serie's extremas on the chart ([RomRider#85](https://github.com/TheBrain8791/apexcharts-card/issues/85)) ([f64169a](f64169a))
* **series.show:** Hide the name of a serie in the header ([b20133d](b20133d)), closes [RomRider#111](https://github.com/TheBrain8791/apexcharts-card/issues/111)
* **series.show:** Hide the offset from the name of the serie ([a46c3f0](a46c3f0)), closes [RomRider#112](https://github.com/TheBrain8791/apexcharts-card/issues/112)
* **series.show:** Option to show the raw data in the header ([RomRider#76](https://github.com/TheBrain8791/apexcharts-card/issues/76)) ([87b56f5](87b56f5)), closes [RomRider#69](https://github.com/TheBrain8791/apexcharts-card/issues/69)
* **series.show:** Show/hide dataLabels per serie ([9e28db3](9e28db3))
* **series:** `transform` the data the way you want ([RomRider#45](https://github.com/TheBrain8791/apexcharts-card/issues/45)) ([1cb6bb5](1cb6bb5))
* **series:** Define the `opacity` of the line or area ([8dfb3fd](8dfb3fd)), closes [RomRider#57](https://github.com/TheBrain8791/apexcharts-card/issues/57)
* **series:** Display values as a duration ([RomRider#21](https://github.com/TheBrain8791/apexcharts-card/issues/21)) ([227f0ea](227f0ea))
* **series:** Hide the value of a serie in the legend ([RomRider#22](https://github.com/TheBrain8791/apexcharts-card/issues/22)) ([1e8f748](1e8f748)), closes [RomRider#20](https://github.com/TheBrain8791/apexcharts-card/issues/20)
* **series:** New `fill_raw` option to fill missing data in raw history ([e2433b6](e2433b6))
* **series:** Retrieve an attribute of your entity instead of the state ([RomRider#32](https://github.com/TheBrain8791/apexcharts-card/issues/32)) ([b76bf16](b76bf16)), closes [RomRider#29](https://github.com/TheBrain8791/apexcharts-card/issues/29)
* **series:** Show/Hide a specific serie from the header or the graph ([RomRider#36](https://github.com/TheBrain8791/apexcharts-card/issues/36)) ([95c0433](95c0433))
* Show value in legend ([869a7f8](869a7f8))
* soft bounds and extended bounds for yaxis min/max ([RomRider#161](https://github.com/TheBrain8791/apexcharts-card/issues/161)) ([c57278b](c57278b))
* **span:** Add `end` as an option to end the graph at the end of the day, minute, etc... ([RomRider#11](https://github.com/TheBrain8791/apexcharts-card/issues/11)) ([1d0aca8](1d0aca8))
* **span:** Add support for `isoWeek` ([7abc750](7abc750)), closes [RomRider#106](https://github.com/TheBrain8791/apexcharts-card/issues/106)
* **span:** Display the graph from the start of the hour, day, month,… with an offset or not ([RomRider#10](https://github.com/TheBrain8791/apexcharts-card/issues/10)) ([bb6e88c](bb6e88c))
* support actions on the title with `title_actions` ([a9f406e](a9f406e)), closes [RomRider#323](https://github.com/TheBrain8791/apexcharts-card/issues/323)
* Support for 12-hour format ([RomRider#55](https://github.com/TheBrain8791/apexcharts-card/issues/55)) ([f38a18e](f38a18e)), closes [RomRider#48](https://github.com/TheBrain8791/apexcharts-card/issues/48) [RomRider#53](https://github.com/TheBrain8791/apexcharts-card/issues/53)
* Support for all ApexCharts options ([03efa8d](03efa8d))
* Support for auto-entities ([060e4c0](060e4c0))
* Support for HA long-term statistics ([RomRider#208](https://github.com/TheBrain8791/apexcharts-card/issues/208)) ([29aaa7c](29aaa7c)), closes [RomRider#308](https://github.com/TheBrain8791/apexcharts-card/issues/308)
* Support for header ([c5a8ee2](c5a8ee2))
* **transform:** Provide the full state as `entity` to the function ([RomRider#77](https://github.com/TheBrain8791/apexcharts-card/issues/77)) ([9919c10](9919c10)), closes [RomRider#71](https://github.com/TheBrain8791/apexcharts-card/issues/71)
* update from lit-html/lit-element to lit ([5a7d944](5a7d944))
* uses the time format defined in Home Assistant user profile ([78df800](78df800)), closes [RomRider#213](https://github.com/TheBrain8791/apexcharts-card/issues/213)
* **yaxis:** `id` and `yaxis_id` no longer needed with only 1 yaxis defined ([e5e8904](e5e8904))
* **yaxis:** Align the extremas to the closest `align_to`  value. ([a46c812](a46c812)), closes [RomRider#170](https://github.com/TheBrain8791/apexcharts-card/issues/170)
* **yaxis:** Set the number of decimals shown on the yaxis. Deprecate `y_axis_precision`. ([33fc474](33fc474)), closes [RomRider#164](https://github.com/TheBrain8791/apexcharts-card/issues/164)

### Bug Fixes

* `bar` should be `column` ([ff188ee](ff188ee))
* `group_by` was extending values into the future ([2cb79d2](2cb79d2))
* `group_by` would sometimes not work with `data_generator` ([cfa6871](cfa6871))
* `last_updated` date format was not following the configuration ([3dd4904](3dd4904))
* `update_interval` was broken ([31d2fb7](31d2fb7))
* 1st color was not using transparency ([77a9c8d](77a9c8d))
* always get all state changes, not only significant ones ([3b2f9c8](3b2f9c8))
* annotations with time were not following the time format configuration ([5d08853](5d08853))
* another caching issue with statistics ([b93ee75](b93ee75))
* **axis:** X and Y Axis Tooltip color matches theme ([fb717ef](fb717ef))
* bug introduced by 591add ([b9c9297](b9c9297))
* **build:** Missing dependancy ([7d7d637](7d7d637))
* **build:** Remove comments from build ([268ef77](268ef77))
* caching issue for statistics ([8daff2f](8daff2f))
* Chart not displayed properly or at all with layout-card ([e5840fb](e5840fb)), closes [RomRider#121](https://github.com/TheBrain8791/apexcharts-card/issues/121)
* color with alpha would render area opaque ([100b6d4](100b6d4))
* color_threshold would sometimes render weirdly ([d7063a5](d7063a5)), closes [RomRider#177](https://github.com/TheBrain8791/apexcharts-card/issues/177)
* **color_threshold:** opacity for color_threshold ([5a325f4](5a325f4))
* **color_threshold:** Sometimes it would break the card ([65b5419](65b5419))
* **colorize_states:** Parameter was not applied ([28bb2e2](28bb2e2))
* **config_templates:** Was supposed to support a string ([f36d9b1](f36d9b1)), closes [RomRider#87](https://github.com/TheBrain8791/apexcharts-card/issues/87)
* **config:** `style` was not a valid config option (card-mod/picture-element) ([0a38778](0a38778)), closes [RomRider#15](https://github.com/TheBrain8791/apexcharts-card/issues/15)
* dataLabels would not follow `float_precision` ([cf9b63a](cf9b63a)), closes [RomRider#54](https://github.com/TheBrain8791/apexcharts-card/issues/54)
* **datalabels:** Truncate floats to 1 digit after the decimal point ([f5f744f](f5f744f))
* Disable support for colors with alpha channel ([RomRider#91](https://github.com/TheBrain8791/apexcharts-card/issues/91)) ([522363a](522363a)), closes [RomRider#90](https://github.com/TheBrain8791/apexcharts-card/issues/90)
* Display non inverted numbers in legend/tooltip/datalabels when `invert: true` ([331fe04](331fe04)), closes [RomRider#96](https://github.com/TheBrain8791/apexcharts-card/issues/96)
* Error was not displayed if duration couldn't be parsed ([2e2212f](2e2212f))
* extremas was not working with `invert: true` ([4d06ef6](4d06ef6)), closes [RomRider#96](https://github.com/TheBrain8791/apexcharts-card/issues/96)
* extremas would not display with offset applied on series ([4d7d77a](4d7d77a)), closes [RomRider#177](https://github.com/TheBrain8791/apexcharts-card/issues/177)
* **extremas:** Multi y-axis support ([RomRider#98](https://github.com/TheBrain8791/apexcharts-card/issues/98)) ([5c7d742](5c7d742)), closes [RomRider#89](https://github.com/TheBrain8791/apexcharts-card/issues/89)
* Float were not displayed in non-timeline charts ([e67d2d7](e67d2d7)), closes [RomRider#42](https://github.com/TheBrain8791/apexcharts-card/issues/42)
* Floats were not truncated properly for radialBar ([0c789ff](0c789ff)), closes [RomRider#174](https://github.com/TheBrain8791/apexcharts-card/issues/174)
* Friendly name wouldn't display anymore ([ef38724](ef38724))
* **func:** Filter `null` values in `diff` ([cfe736c](cfe736c))
* **func:** median was sometimes wrong ([c36dda7](c36dda7))
* Get rid of the initial load delay ([69f151b](69f151b))
* graph might be wrong when using `attributes` if value was 0 ([e200323](e200323))
* Graph stopped updating following ddf6ca9 ([bc54729](bc54729))
* **graph:** Loading message didn't appear ([ce3c45c](ce3c45c))
* **graph:** Not displaying the latest state in graph ([280e328](280e328))
* **group_by:** `group_by` reporting erronerous values for the first bucket of data ([8303b84](8303b84)), closes [RomRider#110](https://github.com/TheBrain8791/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](0163f9e))
* header units for `radialBar` ([6883a8f](6883a8f)), closes [RomRider#105](https://github.com/TheBrain8791/apexcharts-card/issues/105)
* **header:** Hide unit when `as_duration` is used ([5686931](5686931))
* **header:** State was sometimes multi-line ([4187104](4187104))
* **header:** Unit would sometimes be on a new line ([92fad1b](92fad1b))
* hidden by default would not work without a name ([9c75ce8](9c75ce8)), closes [RomRider#280](https://github.com/TheBrain8791/apexcharts-card/issues/280)
* history data could be modified in some rare cases ([d38fd6e](d38fd6e))
* Home Assistant API deprecation warning ([1449c7f](1449c7f)), closes [RomRider#417](https://github.com/TheBrain8791/apexcharts-card/issues/417)
* Ignore recorder when not required ([c28a7a6](c28a7a6)), closes [RomRider#169](https://github.com/TheBrain8791/apexcharts-card/issues/169)
* **in_header:** `after/before_now` not working with offsetted series ([960b43c](960b43c))
* last caching issue with statistics ([2e528f7](2e528f7))
* Last computed history data shouldn't be null ([ec875d5](ec875d5))
* **legend:** Change ` - ` to `: ` between name and state ([4e3cdc6](4e3cdc6))
* **legend:** undefined was displayed for a hidden serie ([352c016](352c016))
* median function fails if it receives an empty table ([RomRider#316](https://github.com/TheBrain8791/apexcharts-card/issues/316)) ([12f8d2e](12f8d2e))
* Name and units displayed ([fe5526b](fe5526b))
* Not releasing file ([e1dc473](e1dc473))
* Optimize `extend_to_end` when used with `group_by` ([591add8](591add8))
* **series.offset:** Fix bug introduced by [RomRider#19](https://github.com/TheBrain8791/apexcharts-card/issues/19) ([f5c0d57](f5c0d57)), closes [RomRider#18](https://github.com/TheBrain8791/apexcharts-card/issues/18)
* Sometimes card would stay in warning mode ([ddf6ca9](ddf6ca9))
* Sometimes the graph was empty when changing tabs ([9232044](9232044))
* **start_with_last:** `start_with_last` would sometimes throw ([f5aa2e3](f5aa2e3))
* **style:** Better default styling of toolbar ([4d0ef1c](4d0ef1c)), closes [RomRider#16](https://github.com/TheBrain8791/apexcharts-card/issues/16)
* Support for `rgba` colors ([7ecfafd](7ecfafd))
* Support for card-mod >= 3.0 ([8348119](8348119)), closes [RomRider#104](https://github.com/TheBrain8791/apexcharts-card/issues/104)
* Support for custom views config parameters (`view_layout`) ([76a8023](76a8023))
* Support for fire-dom-event with browser-mod ([3dc9625](3dc9625)), closes [RomRider#196](https://github.com/TheBrain8791/apexcharts-card/issues/196)
* the hass object could sometimes be null ([ff27baf](ff27baf)), closes [RomRider#191](https://github.com/TheBrain8791/apexcharts-card/issues/191)
* Tooltip should not be in a fixed position ([1762049](1762049))
* **tooltip:** Use colors from the theme ([5c263f1](5c263f1))
* **tooltip:** Values where following the selected point ([0145ca2](0145ca2))
* truncate floats in total datalabels ([917a20a](917a20a)), closes [RomRider#73](https://github.com/TheBrain8791/apexcharts-card/issues/73)
* Update apexcharts.js to the the latest version ([dd0bf6f](dd0bf6f))
* When recorder was skipped, attributes were ignored ([15e5372](15e5372))
* Wrong labels in tooltip in some cases ([8f0aca1](8f0aca1))
* **xasis:** Better handling of graph end time if everything is `column` and `group_by` is enabled ([b5b85a6](b5b85a6))
* yaxis would always start at 0 ([50ef9e4](50ef9e4)), closes [RomRider#158](https://github.com/TheBrain8791/apexcharts-card/issues/158)
* **yaxis:** apex_config.yaxis was not taken into account properly ([ce04230](ce04230))
* **yaxis:** auto scale was not taking the serie's offset into account ([f82f7e0](f82f7e0)), closes [RomRider#172](https://github.com/TheBrain8791/apexcharts-card/issues/172)
* **yaxis:** Fixed + unfixed bounds on the same yaxis is now working ([f7e4668](f7e4668))

### Documentation

* `align_to` description update ([4471469](4471469))
* Add an example to change the line thickness ([fd4a495](fd4a495))
* Add examples and fix documentation ([c71b76a](c71b76a))
* Add more example ([ffaa5df](ffaa5df))
* Better info about month and year as offset units ([c194f87](c194f87)), closes [RomRider#65](https://github.com/TheBrain8791/apexcharts-card/issues/65)
* Card is now available in HACS by default ([1200abd](1200abd))
* **config_templates:** Fix wrong config example ([ea1fef4](ea1fef4))
* Fix ApexCharts link ([9394dee](9394dee))
* Fix error `data_generator` example ([6d1c7a0](6d1c7a0)), closes [RomRider#34](https://github.com/TheBrain8791/apexcharts-card/issues/34)
* Fix HACS doc (not yet available by default) ([53fece2](53fece2))
* fix some README glitches ([3dd8b48](3dd8b48))
* Fix some typos ([3df6aed](3df6aed))
* Fix typo in doc ([89ed3c5](89ed3c5))
* Fix typos and broken links ([7789b8f](7789b8f))
* Initial README release ([7a87694](7a87694))
* Missing `title` documentation in the header section ([ff7f35b](ff7f35b))
* Missing doc for `last_updated` ([93ae54a](93ae54a))
* Missing link to the `now` section ([9747257](9747257))
* Update README.md ([b9d49ab](b9d49ab))
github-actions bot pushed a commit to TheBrain8791/apexcharts-card that referenced this issue Jan 15, 2023
## 1.0.0 (2023-01-15)

### ⚠ BREAKING CHANGES

* `extend_to_end` has been removed and replaced by `extend_to` with support for `now` and `end`.
* Replace `hours_to_show` with `graph_span`. Takes a time string instead of a number of hours.

### Features

* `extend_to` replaces `extend_to_end` with new options ([4bb1dd2](4bb1dd2)), closes [RomRider#318](https://github.com/TheBrain8791/apexcharts-card/issues/318)
* **actions:** `header_actions` support for actions in header ([RomRider#171](https://github.com/TheBrain8791/apexcharts-card/issues/171)) ([bd6a497](bd6a497)), closes [RomRider#61](https://github.com/TheBrain8791/apexcharts-card/issues/61)
* Add `update_interval` config option ([357db9a](357db9a)), closes [#2](#2)
* Add delta and median function ([4a77e55](4a77e55))
* Add spinner while data is loading ([39d4b8e](39d4b8e))
* add state type to long term statistics ([RomRider#329](https://github.com/TheBrain8791/apexcharts-card/issues/329)) ([3fad4f0](3fad4f0))
* add stroke_width and experimental color_threshold/disable_config_validation ([fcdfa88](fcdfa88)), closes [RomRider#58](https://github.com/TheBrain8791/apexcharts-card/issues/58)
* **apex_config:** Support for functions in `apex_config` ([cebc03b](cebc03b)), closes [RomRider#81](https://github.com/TheBrain8791/apexcharts-card/issues/81)
* Apply a `time_delta` to all the datapoints of your serie ([435e381](435e381)), closes [RomRider#277](https://github.com/TheBrain8791/apexcharts-card/issues/277)
* Better cache handling ([#1](#1)) ([804415f](804415f))
* Bring back `hours_12` from the dead ([676bdb7](676bdb7))
* **brush:** Support for a timeframe selection chart ([RomRider#102](https://github.com/TheBrain8791/apexcharts-card/issues/102)) ([c8dedf7](c8dedf7))
* **cache:** Invalidate cache on every new card version ([RomRider#12](https://github.com/TheBrain8791/apexcharts-card/issues/12)) ([b1799d9](b1799d9))
* **card:** Support for pre-defined layouts ([c5987f8](c5987f8))
* **color:** Define your own `color` option for each `serie` ([#7](#7)) ([3a15db2](3a15db2)), closes [#4](#4)
* **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 ([RomRider#64](https://github.com/TheBrain8791/apexcharts-card/issues/64)) ([17004a3](17004a3))
* **data_generator:** Build your own data based on the last state and attributes of your entity ([RomRider#14](https://github.com/TheBrain8791/apexcharts-card/issues/14)) ([18284b5](18284b5)), closes [#6](#6)
* **datalabels:** Option to display total when chart is stacked ([RomRider#75](https://github.com/TheBrain8791/apexcharts-card/issues/75)) ([e1c5b01](e1c5b01)), closes [RomRider#73](https://github.com/TheBrain8791/apexcharts-card/issues/73)
* Define your own float precision for legend, tooltip and Y axis ([7b0f30f](7b0f30f))
* display only the min or max extrema ([3db982b](3db982b)), closes [RomRider#319](https://github.com/TheBrain8791/apexcharts-card/issues/319)
* display the chart's last update time using `last_updated` ([2dd84ff](2dd84ff))
* Display warning if sensor doesn't exist ([a69df3d](a69df3d))
* **editor:** Preview in the GUI card selector ([d4cd7a3](d4cd7a3))
* **experimental:** `hidden_by_default` to toggle series on load ([RomRider#62](https://github.com/TheBrain8791/apexcharts-card/issues/62)) ([63717b7](63717b7)), closes [RomRider#60](https://github.com/TheBrain8791/apexcharts-card/issues/60)
* **experimental:** Header color can now follow `color_threshold` ([RomRider#88](https://github.com/TheBrain8791/apexcharts-card/issues/88)) ([074bfc3](074bfc3)), closes [RomRider#78](https://github.com/TheBrain8791/apexcharts-card/issues/78)
* **extremas:** Display the time on top of your extremas ([RomRider#97](https://github.com/TheBrain8791/apexcharts-card/issues/97)) ([d127b37](d127b37))
* Floating header ([1eccee8](1eccee8))
* follow Home Assistant number format ([9204de2](9204de2)), closes [RomRider#307](https://github.com/TheBrain8791/apexcharts-card/issues/307)
* **graph:** Extends graph's last value to the current time ([bfe64c5](bfe64c5))
* **graph:** New chart types `scatter`, `donut`, `pie` and `radialBar` ([RomRider#24](https://github.com/TheBrain8791/apexcharts-card/issues/24)) ([a0e4f85](a0e4f85))
* **group_by:** Add more functions and fix buckets ([c7324e0](c7324e0))
* **group_by:** Add new `diff` function ([57fd6a6](57fd6a6))
* **group_by:** With `start_with_last`, each bucket will start with the last data from the previous bucket ([8669411](8669411))
* **header:** More header options and title support ([#8](#8)) ([2cbd769](2cbd769)), closes [#5](#5)
* **header:** Standard header title home-assistant format using `standard_format` ([35c5391](35c5391)), closes [RomRider#35](https://github.com/TheBrain8791/apexcharts-card/issues/35)
* Initial support for aggregating data ([13dfd89](13dfd89))
* **invert:** Negates/Inverts the data for a serie ([RomRider#13](https://github.com/TheBrain8791/apexcharts-card/issues/13)) ([ab793c5](ab793c5))
* **locale:** Inherit locale from Home-Assistant, deprecate `hours_12` ([RomRider#70](https://github.com/TheBrain8791/apexcharts-card/issues/70)) ([af2d201](af2d201)), closes [RomRider#68](https://github.com/TheBrain8791/apexcharts-card/issues/68)
* make datagenerator async ([RomRider#157](https://github.com/TheBrain8791/apexcharts-card/issues/157)) ([b9049fc](b9049fc))
* Native multi y-axis support with auto-scale ([RomRider#160](https://github.com/TheBrain8791/apexcharts-card/issues/160)) ([e08aa14](e08aa14)), closes [RomRider#158](https://github.com/TheBrain8791/apexcharts-card/issues/158)
* **now:** Add a marker at the current time on the chart ([9b6b83d](9b6b83d)), closes [RomRider#44](https://github.com/TheBrain8791/apexcharts-card/issues/44)
* pie/donut now shows the value of the serie instead of the percentage. Old behavior with `datalabels: percent` ([7591aba](7591aba))
* Replace `hours_to_show` with `graph_span`. Takes a time string instead of a number of hours. ([e7ed408](e7ed408))
* **series.offset:** Compare data from another timeframe with the current timeframe ([RomRider#19](https://github.com/TheBrain8791/apexcharts-card/issues/19)) ([af8ba81](af8ba81)), closes [RomRider#18](https://github.com/TheBrain8791/apexcharts-card/issues/18)
* **series.show:** Display the value before/after the current time in the header ([2855403](2855403)), closes [RomRider#86](https://github.com/TheBrain8791/apexcharts-card/issues/86)
* **series.show:** Display your serie's extremas on the chart ([RomRider#85](https://github.com/TheBrain8791/apexcharts-card/issues/85)) ([f64169a](f64169a))
* **series.show:** Hide the name of a serie in the header ([b20133d](b20133d)), closes [RomRider#111](https://github.com/TheBrain8791/apexcharts-card/issues/111)
* **series.show:** Hide the offset from the name of the serie ([a46c3f0](a46c3f0)), closes [RomRider#112](https://github.com/TheBrain8791/apexcharts-card/issues/112)
* **series.show:** Option to show the raw data in the header ([RomRider#76](https://github.com/TheBrain8791/apexcharts-card/issues/76)) ([87b56f5](87b56f5)), closes [RomRider#69](https://github.com/TheBrain8791/apexcharts-card/issues/69)
* **series.show:** Show/hide dataLabels per serie ([9e28db3](9e28db3))
* **series:** `transform` the data the way you want ([RomRider#45](https://github.com/TheBrain8791/apexcharts-card/issues/45)) ([1cb6bb5](1cb6bb5))
* **series:** Define the `opacity` of the line or area ([8dfb3fd](8dfb3fd)), closes [RomRider#57](https://github.com/TheBrain8791/apexcharts-card/issues/57)
* **series:** Display values as a duration ([RomRider#21](https://github.com/TheBrain8791/apexcharts-card/issues/21)) ([227f0ea](227f0ea))
* **series:** Hide the value of a serie in the legend ([RomRider#22](https://github.com/TheBrain8791/apexcharts-card/issues/22)) ([1e8f748](1e8f748)), closes [RomRider#20](https://github.com/TheBrain8791/apexcharts-card/issues/20)
* **series:** New `fill_raw` option to fill missing data in raw history ([e2433b6](e2433b6))
* **series:** Retrieve an attribute of your entity instead of the state ([RomRider#32](https://github.com/TheBrain8791/apexcharts-card/issues/32)) ([b76bf16](b76bf16)), closes [RomRider#29](https://github.com/TheBrain8791/apexcharts-card/issues/29)
* **series:** Show/Hide a specific serie from the header or the graph ([RomRider#36](https://github.com/TheBrain8791/apexcharts-card/issues/36)) ([95c0433](95c0433))
* Show value in legend ([869a7f8](869a7f8))
* soft bounds and extended bounds for yaxis min/max ([RomRider#161](https://github.com/TheBrain8791/apexcharts-card/issues/161)) ([c57278b](c57278b))
* **span:** Add `end` as an option to end the graph at the end of the day, minute, etc... ([RomRider#11](https://github.com/TheBrain8791/apexcharts-card/issues/11)) ([1d0aca8](1d0aca8))
* **span:** Add support for `isoWeek` ([7abc750](7abc750)), closes [RomRider#106](https://github.com/TheBrain8791/apexcharts-card/issues/106)
* **span:** Display the graph from the start of the hour, day, month,… with an offset or not ([RomRider#10](https://github.com/TheBrain8791/apexcharts-card/issues/10)) ([bb6e88c](bb6e88c))
* support actions on the title with `title_actions` ([a9f406e](a9f406e)), closes [RomRider#323](https://github.com/TheBrain8791/apexcharts-card/issues/323)
* Support for 12-hour format ([RomRider#55](https://github.com/TheBrain8791/apexcharts-card/issues/55)) ([f38a18e](f38a18e)), closes [RomRider#48](https://github.com/TheBrain8791/apexcharts-card/issues/48) [RomRider#53](https://github.com/TheBrain8791/apexcharts-card/issues/53)
* Support for all ApexCharts options ([03efa8d](03efa8d))
* Support for auto-entities ([060e4c0](060e4c0))
* Support for HA long-term statistics ([RomRider#208](https://github.com/TheBrain8791/apexcharts-card/issues/208)) ([29aaa7c](29aaa7c)), closes [RomRider#308](https://github.com/TheBrain8791/apexcharts-card/issues/308)
* Support for header ([c5a8ee2](c5a8ee2))
* **transform:** Provide the full state as `entity` to the function ([RomRider#77](https://github.com/TheBrain8791/apexcharts-card/issues/77)) ([9919c10](9919c10)), closes [RomRider#71](https://github.com/TheBrain8791/apexcharts-card/issues/71)
* update from lit-html/lit-element to lit ([5a7d944](5a7d944))
* uses the time format defined in Home Assistant user profile ([78df800](78df800)), closes [RomRider#213](https://github.com/TheBrain8791/apexcharts-card/issues/213)
* **yaxis:** `id` and `yaxis_id` no longer needed with only 1 yaxis defined ([e5e8904](e5e8904))
* **yaxis:** Align the extremas to the closest `align_to`  value. ([a46c812](a46c812)), closes [RomRider#170](https://github.com/TheBrain8791/apexcharts-card/issues/170)
* **yaxis:** Set the number of decimals shown on the yaxis. Deprecate `y_axis_precision`. ([33fc474](33fc474)), closes [RomRider#164](https://github.com/TheBrain8791/apexcharts-card/issues/164)

### Bug Fixes

* `bar` should be `column` ([ff188ee](ff188ee))
* `group_by` was extending values into the future ([2cb79d2](2cb79d2))
* `group_by` would sometimes not work with `data_generator` ([cfa6871](cfa6871))
* `last_updated` date format was not following the configuration ([3dd4904](3dd4904))
* `update_interval` was broken ([31d2fb7](31d2fb7))
* 1st color was not using transparency ([77a9c8d](77a9c8d))
* always get all state changes, not only significant ones ([3b2f9c8](3b2f9c8))
* annotations with time were not following the time format configuration ([5d08853](5d08853))
* another caching issue with statistics ([b93ee75](b93ee75))
* **axis:** X and Y Axis Tooltip color matches theme ([fb717ef](fb717ef))
* bug introduced by 591add ([b9c9297](b9c9297))
* **build:** Missing dependancy ([7d7d637](7d7d637))
* **build:** Remove comments from build ([268ef77](268ef77))
* caching issue for statistics ([8daff2f](8daff2f))
* Chart not displayed properly or at all with layout-card ([e5840fb](e5840fb)), closes [RomRider#121](https://github.com/TheBrain8791/apexcharts-card/issues/121)
* color with alpha would render area opaque ([100b6d4](100b6d4))
* color_threshold would sometimes render weirdly ([d7063a5](d7063a5)), closes [RomRider#177](https://github.com/TheBrain8791/apexcharts-card/issues/177)
* **color_threshold:** opacity for color_threshold ([5a325f4](5a325f4))
* **color_threshold:** Sometimes it would break the card ([65b5419](65b5419))
* **colorize_states:** Parameter was not applied ([28bb2e2](28bb2e2))
* **config_templates:** Was supposed to support a string ([f36d9b1](f36d9b1)), closes [RomRider#87](https://github.com/TheBrain8791/apexcharts-card/issues/87)
* **config:** `style` was not a valid config option (card-mod/picture-element) ([0a38778](0a38778)), closes [RomRider#15](https://github.com/TheBrain8791/apexcharts-card/issues/15)
* dataLabels would not follow `float_precision` ([cf9b63a](cf9b63a)), closes [RomRider#54](https://github.com/TheBrain8791/apexcharts-card/issues/54)
* **datalabels:** Truncate floats to 1 digit after the decimal point ([f5f744f](f5f744f))
* Disable support for colors with alpha channel ([RomRider#91](https://github.com/TheBrain8791/apexcharts-card/issues/91)) ([522363a](522363a)), closes [RomRider#90](https://github.com/TheBrain8791/apexcharts-card/issues/90)
* Display non inverted numbers in legend/tooltip/datalabels when `invert: true` ([331fe04](331fe04)), closes [RomRider#96](https://github.com/TheBrain8791/apexcharts-card/issues/96)
* Error was not displayed if duration couldn't be parsed ([2e2212f](2e2212f))
* extremas was not working with `invert: true` ([4d06ef6](4d06ef6)), closes [RomRider#96](https://github.com/TheBrain8791/apexcharts-card/issues/96)
* extremas would not display with offset applied on series ([4d7d77a](4d7d77a)), closes [RomRider#177](https://github.com/TheBrain8791/apexcharts-card/issues/177)
* **extremas:** Multi y-axis support ([RomRider#98](https://github.com/TheBrain8791/apexcharts-card/issues/98)) ([5c7d742](5c7d742)), closes [RomRider#89](https://github.com/TheBrain8791/apexcharts-card/issues/89)
* Float were not displayed in non-timeline charts ([e67d2d7](e67d2d7)), closes [RomRider#42](https://github.com/TheBrain8791/apexcharts-card/issues/42)
* Floats were not truncated properly for radialBar ([0c789ff](0c789ff)), closes [RomRider#174](https://github.com/TheBrain8791/apexcharts-card/issues/174)
* Friendly name wouldn't display anymore ([ef38724](ef38724))
* **func:** Filter `null` values in `diff` ([cfe736c](cfe736c))
* **func:** median was sometimes wrong ([c36dda7](c36dda7))
* Get rid of the initial load delay ([69f151b](69f151b))
* graph might be wrong when using `attributes` if value was 0 ([e200323](e200323))
* Graph stopped updating following ddf6ca9 ([bc54729](bc54729))
* **graph:** Loading message didn't appear ([ce3c45c](ce3c45c))
* **graph:** Not displaying the latest state in graph ([280e328](280e328))
* **group_by:** `group_by` reporting erronerous values for the first bucket of data ([8303b84](8303b84)), closes [RomRider#110](https://github.com/TheBrain8791/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](0163f9e))
* header units for `radialBar` ([6883a8f](6883a8f)), closes [RomRider#105](https://github.com/TheBrain8791/apexcharts-card/issues/105)
* **header:** Hide unit when `as_duration` is used ([5686931](5686931))
* **header:** State was sometimes multi-line ([4187104](4187104))
* **header:** Unit would sometimes be on a new line ([92fad1b](92fad1b))
* hidden by default would not work without a name ([9c75ce8](9c75ce8)), closes [RomRider#280](https://github.com/TheBrain8791/apexcharts-card/issues/280)
* history data could be modified in some rare cases ([d38fd6e](d38fd6e))
* Home Assistant API deprecation warning ([1449c7f](1449c7f)), closes [RomRider#417](https://github.com/TheBrain8791/apexcharts-card/issues/417)
* Ignore recorder when not required ([c28a7a6](c28a7a6)), closes [RomRider#169](https://github.com/TheBrain8791/apexcharts-card/issues/169)
* **in_header:** `after/before_now` not working with offsetted series ([960b43c](960b43c))
* last caching issue with statistics ([2e528f7](2e528f7))
* Last computed history data shouldn't be null ([ec875d5](ec875d5))
* **legend:** Change ` - ` to `: ` between name and state ([4e3cdc6](4e3cdc6))
* **legend:** undefined was displayed for a hidden serie ([352c016](352c016))
* median function fails if it receives an empty table ([RomRider#316](https://github.com/TheBrain8791/apexcharts-card/issues/316)) ([12f8d2e](12f8d2e))
* Name and units displayed ([fe5526b](fe5526b))
* Not releasing file ([e1dc473](e1dc473))
* Optimize `extend_to_end` when used with `group_by` ([591add8](591add8))
* **series.offset:** Fix bug introduced by [RomRider#19](https://github.com/TheBrain8791/apexcharts-card/issues/19) ([f5c0d57](f5c0d57)), closes [RomRider#18](https://github.com/TheBrain8791/apexcharts-card/issues/18)
* Sometimes card would stay in warning mode ([ddf6ca9](ddf6ca9))
* Sometimes the graph was empty when changing tabs ([9232044](9232044))
* **start_with_last:** `start_with_last` would sometimes throw ([f5aa2e3](f5aa2e3))
* **style:** Better default styling of toolbar ([4d0ef1c](4d0ef1c)), closes [RomRider#16](https://github.com/TheBrain8791/apexcharts-card/issues/16)
* Support for `rgba` colors ([7ecfafd](7ecfafd))
* Support for card-mod >= 3.0 ([8348119](8348119)), closes [RomRider#104](https://github.com/TheBrain8791/apexcharts-card/issues/104)
* Support for custom views config parameters (`view_layout`) ([76a8023](76a8023))
* Support for fire-dom-event with browser-mod ([3dc9625](3dc9625)), closes [RomRider#196](https://github.com/TheBrain8791/apexcharts-card/issues/196)
* the hass object could sometimes be null ([ff27baf](ff27baf)), closes [RomRider#191](https://github.com/TheBrain8791/apexcharts-card/issues/191)
* Tooltip should not be in a fixed position ([1762049](1762049))
* **tooltip:** Use colors from the theme ([5c263f1](5c263f1))
* **tooltip:** Values where following the selected point ([0145ca2](0145ca2))
* truncate floats in total datalabels ([917a20a](917a20a)), closes [RomRider#73](https://github.com/TheBrain8791/apexcharts-card/issues/73)
* Update apexcharts.js to the the latest version ([dd0bf6f](dd0bf6f))
* When recorder was skipped, attributes were ignored ([15e5372](15e5372))
* Wrong labels in tooltip in some cases ([8f0aca1](8f0aca1))
* **xasis:** Better handling of graph end time if everything is `column` and `group_by` is enabled ([b5b85a6](b5b85a6))
* yaxis would always start at 0 ([50ef9e4](50ef9e4)), closes [RomRider#158](https://github.com/TheBrain8791/apexcharts-card/issues/158)
* **yaxis:** apex_config.yaxis was not taken into account properly ([ce04230](ce04230))
* **yaxis:** auto scale was not taking the serie's offset into account ([f82f7e0](f82f7e0)), closes [RomRider#172](https://github.com/TheBrain8791/apexcharts-card/issues/172)
* **yaxis:** Fixed + unfixed bounds on the same yaxis is now working ([f7e4668](f7e4668))

### Documentation

* `align_to` description update ([4471469](4471469))
* Add an example to change the line thickness ([fd4a495](fd4a495))
* Add examples and fix documentation ([c71b76a](c71b76a))
* Add more example ([ffaa5df](ffaa5df))
* Better info about month and year as offset units ([c194f87](c194f87)), closes [RomRider#65](https://github.com/TheBrain8791/apexcharts-card/issues/65)
* Card is now available in HACS by default ([1200abd](1200abd))
* **config_templates:** Fix wrong config example ([ea1fef4](ea1fef4))
* Fix ApexCharts link ([9394dee](9394dee))
* Fix error `data_generator` example ([6d1c7a0](6d1c7a0)), closes [RomRider#34](https://github.com/TheBrain8791/apexcharts-card/issues/34)
* Fix HACS doc (not yet available by default) ([53fece2](53fece2))
* fix some README glitches ([3dd8b48](3dd8b48))
* Fix some typos ([3df6aed](3df6aed))
* Fix typo in doc ([89ed3c5](89ed3c5))
* Fix typos and broken links ([7789b8f](7789b8f))
* Initial README release ([7a87694](7a87694))
* Missing `title` documentation in the header section ([ff7f35b](ff7f35b))
* Missing doc for `last_updated` ([93ae54a](93ae54a))
* Missing link to the `now` section ([9747257](9747257))
* Update README.md ([b9d49ab](b9d49ab))
github-actions bot pushed a commit to ka0n/apexcharts-card that referenced this issue Jun 1, 2023
## 1.0.0 (2023-06-01)

### ⚠ BREAKING CHANGES

* `extend_to_end` has been removed and replaced by `extend_to` with support for `now` and `end`.
* Replace `hours_to_show` with `graph_span`. Takes a time string instead of a number of hours.

### Features

* `extend_to` replaces `extend_to_end` with new options ([4bb1dd2](4bb1dd2)), closes [RomRider#318](https://github.com/ka0n/apexcharts-card/issues/318)
* **actions:** `header_actions` support for actions in header ([RomRider#171](https://github.com/ka0n/apexcharts-card/issues/171)) ([bd6a497](bd6a497)), closes [RomRider#61](https://github.com/ka0n/apexcharts-card/issues/61)
* Add `update_interval` config option ([357db9a](357db9a)), closes [RomRider#2](https://github.com/ka0n/apexcharts-card/issues/2)
* Add delta and median function ([4a77e55](4a77e55))
* Add spinner while data is loading ([39d4b8e](39d4b8e))
* add state type to long term statistics ([RomRider#329](https://github.com/ka0n/apexcharts-card/issues/329)) ([3fad4f0](3fad4f0))
* add stroke_width and experimental color_threshold/disable_config_validation ([fcdfa88](fcdfa88)), closes [RomRider#58](https://github.com/ka0n/apexcharts-card/issues/58)
* **apex_config:** Support for functions in `apex_config` ([cebc03b](cebc03b)), closes [RomRider#81](https://github.com/ka0n/apexcharts-card/issues/81)
* Apply a `time_delta` to all the datapoints of your serie ([435e381](435e381)), closes [RomRider#277](https://github.com/ka0n/apexcharts-card/issues/277)
* Better cache handling ([#1](#1)) ([804415f](804415f))
* Bring back `hours_12` from the dead ([676bdb7](676bdb7))
* **brush:** Support for a timeframe selection chart ([RomRider#102](https://github.com/ka0n/apexcharts-card/issues/102)) ([c8dedf7](c8dedf7))
* **cache:** Invalidate cache on every new card version ([RomRider#12](https://github.com/ka0n/apexcharts-card/issues/12)) ([b1799d9](b1799d9))
* **card:** Support for pre-defined layouts ([c5987f8](c5987f8))
* **color:** Define your own `color` option for each `serie` ([RomRider#7](https://github.com/ka0n/apexcharts-card/issues/7)) ([3a15db2](3a15db2)), closes [RomRider#4](https://github.com/ka0n/apexcharts-card/issues/4)
* **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 ([RomRider#64](https://github.com/ka0n/apexcharts-card/issues/64)) ([17004a3](17004a3))
* **data_generator:** Build your own data based on the last state and attributes of your entity ([RomRider#14](https://github.com/ka0n/apexcharts-card/issues/14)) ([18284b5](18284b5)), closes [RomRider#6](https://github.com/ka0n/apexcharts-card/issues/6)
* **datalabels:** Option to display total when chart is stacked ([RomRider#75](https://github.com/ka0n/apexcharts-card/issues/75)) ([e1c5b01](e1c5b01)), closes [RomRider#73](https://github.com/ka0n/apexcharts-card/issues/73)
* Define your own float precision for legend, tooltip and Y axis ([7b0f30f](7b0f30f))
* display only the min or max extrema ([3db982b](3db982b)), closes [RomRider#319](https://github.com/ka0n/apexcharts-card/issues/319)
* display the chart's last update time using `last_updated` ([2dd84ff](2dd84ff))
* Display warning if sensor doesn't exist ([a69df3d](a69df3d))
* **editor:** Preview in the GUI card selector ([d4cd7a3](d4cd7a3))
* **experimental:** `hidden_by_default` to toggle series on load ([RomRider#62](https://github.com/ka0n/apexcharts-card/issues/62)) ([63717b7](63717b7)), closes [RomRider#60](https://github.com/ka0n/apexcharts-card/issues/60)
* **experimental:** Header color can now follow `color_threshold` ([RomRider#88](https://github.com/ka0n/apexcharts-card/issues/88)) ([074bfc3](074bfc3)), closes [RomRider#78](https://github.com/ka0n/apexcharts-card/issues/78)
* **extremas:** Display the time on top of your extremas ([RomRider#97](https://github.com/ka0n/apexcharts-card/issues/97)) ([d127b37](d127b37))
* Floating header ([1eccee8](1eccee8))
* follow Home Assistant number format ([9204de2](9204de2)), closes [RomRider#307](https://github.com/ka0n/apexcharts-card/issues/307)
* **graph:** Extends graph's last value to the current time ([bfe64c5](bfe64c5))
* **graph:** New chart types `scatter`, `donut`, `pie` and `radialBar` ([RomRider#24](https://github.com/ka0n/apexcharts-card/issues/24)) ([a0e4f85](a0e4f85))
* **group_by:** Add more functions and fix buckets ([c7324e0](c7324e0))
* **group_by:** Add new `diff` function ([57fd6a6](57fd6a6))
* **group_by:** With `start_with_last`, each bucket will start with the last data from the previous bucket ([8669411](8669411))
* **header:** More header options and title support ([RomRider#8](https://github.com/ka0n/apexcharts-card/issues/8)) ([2cbd769](2cbd769)), closes [RomRider#5](https://github.com/ka0n/apexcharts-card/issues/5)
* **header:** Standard header title home-assistant format using `standard_format` ([35c5391](35c5391)), closes [RomRider#35](https://github.com/ka0n/apexcharts-card/issues/35)
* Initial support for aggregating data ([13dfd89](13dfd89))
* **invert:** Negates/Inverts the data for a serie ([RomRider#13](https://github.com/ka0n/apexcharts-card/issues/13)) ([ab793c5](ab793c5))
* **locale:** Inherit locale from Home-Assistant, deprecate `hours_12` ([RomRider#70](https://github.com/ka0n/apexcharts-card/issues/70)) ([af2d201](af2d201)), closes [RomRider#68](https://github.com/ka0n/apexcharts-card/issues/68)
* make datagenerator async ([RomRider#157](https://github.com/ka0n/apexcharts-card/issues/157)) ([b9049fc](b9049fc))
* Native multi y-axis support with auto-scale ([RomRider#160](https://github.com/ka0n/apexcharts-card/issues/160)) ([e08aa14](e08aa14)), closes [RomRider#158](https://github.com/ka0n/apexcharts-card/issues/158)
* **now:** Add a marker at the current time on the chart ([9b6b83d](9b6b83d)), closes [RomRider#44](https://github.com/ka0n/apexcharts-card/issues/44)
* pie/donut now shows the value of the serie instead of the percentage. Old behavior with `datalabels: percent` ([7591aba](7591aba))
* Replace `hours_to_show` with `graph_span`. Takes a time string instead of a number of hours. ([e7ed408](e7ed408))
* **series.offset:** Compare data from another timeframe with the current timeframe ([RomRider#19](https://github.com/ka0n/apexcharts-card/issues/19)) ([af8ba81](af8ba81)), closes [RomRider#18](https://github.com/ka0n/apexcharts-card/issues/18)
* **series.show:** Display the value before/after the current time in the header ([2855403](2855403)), closes [RomRider#86](https://github.com/ka0n/apexcharts-card/issues/86)
* **series.show:** Display your serie's extremas on the chart ([RomRider#85](https://github.com/ka0n/apexcharts-card/issues/85)) ([f64169a](f64169a))
* **series.show:** Hide the name of a serie in the header ([b20133d](b20133d)), closes [RomRider#111](https://github.com/ka0n/apexcharts-card/issues/111)
* **series.show:** Hide the offset from the name of the serie ([a46c3f0](a46c3f0)), closes [RomRider#112](https://github.com/ka0n/apexcharts-card/issues/112)
* **series.show:** Option to show the raw data in the header ([RomRider#76](https://github.com/ka0n/apexcharts-card/issues/76)) ([87b56f5](87b56f5)), closes [RomRider#69](https://github.com/ka0n/apexcharts-card/issues/69)
* **series.show:** Show/hide dataLabels per serie ([9e28db3](9e28db3))
* **series:** `transform` the data the way you want ([RomRider#45](https://github.com/ka0n/apexcharts-card/issues/45)) ([1cb6bb5](1cb6bb5))
* **series:** Define the `opacity` of the line or area ([8dfb3fd](8dfb3fd)), closes [RomRider#57](https://github.com/ka0n/apexcharts-card/issues/57)
* **series:** Display values as a duration ([RomRider#21](https://github.com/ka0n/apexcharts-card/issues/21)) ([227f0ea](227f0ea))
* **series:** Hide the value of a serie in the legend ([RomRider#22](https://github.com/ka0n/apexcharts-card/issues/22)) ([1e8f748](1e8f748)), closes [RomRider#20](https://github.com/ka0n/apexcharts-card/issues/20)
* **series:** New `fill_raw` option to fill missing data in raw history ([e2433b6](e2433b6))
* **series:** Retrieve an attribute of your entity instead of the state ([RomRider#32](https://github.com/ka0n/apexcharts-card/issues/32)) ([b76bf16](b76bf16)), closes [RomRider#29](https://github.com/ka0n/apexcharts-card/issues/29)
* **series:** Show/Hide a specific serie from the header or the graph ([RomRider#36](https://github.com/ka0n/apexcharts-card/issues/36)) ([95c0433](95c0433))
* Show value in legend ([869a7f8](869a7f8))
* soft bounds and extended bounds for yaxis min/max ([RomRider#161](https://github.com/ka0n/apexcharts-card/issues/161)) ([c57278b](c57278b))
* **span:** Add `end` as an option to end the graph at the end of the day, minute, etc... ([RomRider#11](https://github.com/ka0n/apexcharts-card/issues/11)) ([1d0aca8](1d0aca8))
* **span:** Add support for `isoWeek` ([7abc750](7abc750)), closes [RomRider#106](https://github.com/ka0n/apexcharts-card/issues/106)
* **span:** Display the graph from the start of the hour, day, month,… with an offset or not ([RomRider#10](https://github.com/ka0n/apexcharts-card/issues/10)) ([bb6e88c](bb6e88c))
* support actions on the title with `title_actions` ([a9f406e](a9f406e)), closes [RomRider#323](https://github.com/ka0n/apexcharts-card/issues/323)
* Support for 12-hour format ([RomRider#55](https://github.com/ka0n/apexcharts-card/issues/55)) ([f38a18e](f38a18e)), closes [RomRider#48](https://github.com/ka0n/apexcharts-card/issues/48) [RomRider#53](https://github.com/ka0n/apexcharts-card/issues/53)
* Support for all ApexCharts options ([03efa8d](03efa8d))
* Support for auto-entities ([060e4c0](060e4c0))
* Support for HA long-term statistics ([RomRider#208](https://github.com/ka0n/apexcharts-card/issues/208)) ([29aaa7c](29aaa7c)), closes [RomRider#308](https://github.com/ka0n/apexcharts-card/issues/308)
* Support for header ([c5a8ee2](c5a8ee2))
* **transform:** Provide the full state as `entity` to the function ([RomRider#77](https://github.com/ka0n/apexcharts-card/issues/77)) ([9919c10](9919c10)), closes [RomRider#71](https://github.com/ka0n/apexcharts-card/issues/71)
* update from lit-html/lit-element to lit ([5a7d944](5a7d944))
* uses the time format defined in Home Assistant user profile ([78df800](78df800)), closes [RomRider#213](https://github.com/ka0n/apexcharts-card/issues/213)
* **yaxis:** `id` and `yaxis_id` no longer needed with only 1 yaxis defined ([e5e8904](e5e8904))
* **yaxis:** Align the extremas to the closest `align_to`  value. ([a46c812](a46c812)), closes [RomRider#170](https://github.com/ka0n/apexcharts-card/issues/170)
* **yaxis:** Set the number of decimals shown on the yaxis. Deprecate `y_axis_precision`. ([33fc474](33fc474)), closes [RomRider#164](https://github.com/ka0n/apexcharts-card/issues/164)

### Bug Fixes

* `bar` should be `column` ([ff188ee](ff188ee))
* `group_by` was extending values into the future ([2cb79d2](2cb79d2))
* `group_by` would sometimes not work with `data_generator` ([cfa6871](cfa6871))
* `last_updated` date format was not following the configuration ([3dd4904](3dd4904))
* `update_interval` was broken ([31d2fb7](31d2fb7))
* 1st color was not using transparency ([77a9c8d](77a9c8d))
* actually really fix the issue with HA 2023.4 beta and above ([972f2c0](972f2c0)), closes [RomRider#529](https://github.com/ka0n/apexcharts-card/issues/529)
* always get all state changes, not only significant ones ([3b2f9c8](3b2f9c8))
* annotations with time were not following the time format configuration ([5d08853](5d08853))
* another caching issue with statistics ([b93ee75](b93ee75))
* **axis:** X and Y Axis Tooltip color matches theme ([fb717ef](fb717ef))
* bug introduced by 591add ([b9c9297](b9c9297))
* **build:** Missing dependancy ([7d7d637](7d7d637))
* **build:** Remove comments from build ([268ef77](268ef77))
* caching issue for statistics ([8daff2f](8daff2f))
* card broken with HA 2023.4.0bXX and above ([e1aaf69](e1aaf69)), closes [RomRider#527](https://github.com/ka0n/apexcharts-card/issues/527)
* Chart not displayed properly or at all with layout-card ([e5840fb](e5840fb)), closes [RomRider#121](https://github.com/ka0n/apexcharts-card/issues/121)
* color with alpha would render area opaque ([100b6d4](100b6d4))
* color_threshold would sometimes render weirdly ([d7063a5](d7063a5)), closes [RomRider#177](https://github.com/ka0n/apexcharts-card/issues/177)
* **color_threshold:** opacity for color_threshold ([5a325f4](5a325f4))
* **color_threshold:** Sometimes it would break the card ([65b5419](65b5419))
* **colorize_states:** Parameter was not applied ([28bb2e2](28bb2e2))
* **config_templates:** Was supposed to support a string ([f36d9b1](f36d9b1)), closes [RomRider#87](https://github.com/ka0n/apexcharts-card/issues/87)
* **config:** `style` was not a valid config option (card-mod/picture-element) ([0a38778](0a38778)), closes [RomRider#15](https://github.com/ka0n/apexcharts-card/issues/15)
* dataLabels would not follow `float_precision` ([cf9b63a](cf9b63a)), closes [RomRider#54](https://github.com/ka0n/apexcharts-card/issues/54)
* **datalabels:** Truncate floats to 1 digit after the decimal point ([f5f744f](f5f744f))
* Disable support for colors with alpha channel ([RomRider#91](https://github.com/ka0n/apexcharts-card/issues/91)) ([522363a](522363a)), closes [RomRider#90](https://github.com/ka0n/apexcharts-card/issues/90)
* Display non inverted numbers in legend/tooltip/datalabels when `invert: true` ([331fe04](331fe04)), closes [RomRider#96](https://github.com/ka0n/apexcharts-card/issues/96)
* Error was not displayed if duration couldn't be parsed ([2e2212f](2e2212f))
* extra space at bottom because of the card's action-handler ([533a784](533a784))
* extremas was not working with `invert: true` ([4d06ef6](4d06ef6)), closes [RomRider#96](https://github.com/ka0n/apexcharts-card/issues/96)
* extremas would not display with offset applied on series ([4d7d77a](4d7d77a)), closes [RomRider#177](https://github.com/ka0n/apexcharts-card/issues/177)
* **extremas:** Multi y-axis support ([RomRider#98](https://github.com/ka0n/apexcharts-card/issues/98)) ([5c7d742](5c7d742)), closes [RomRider#89](https://github.com/ka0n/apexcharts-card/issues/89)
* Float were not displayed in non-timeline charts ([e67d2d7](e67d2d7)), closes [RomRider#42](https://github.com/ka0n/apexcharts-card/issues/42)
* Floats were not truncated properly for radialBar ([0c789ff](0c789ff)), closes [RomRider#174](https://github.com/ka0n/apexcharts-card/issues/174)
* Friendly name wouldn't display anymore ([ef38724](ef38724))
* **func:** Filter `null` values in `diff` ([cfe736c](cfe736c))
* **func:** median was sometimes wrong ([c36dda7](c36dda7))
* Get rid of the initial load delay ([69f151b](69f151b))
* graph might be wrong when using `attributes` if value was 0 ([e200323](e200323))
* Graph stopped updating following ddf6ca9 ([bc54729](bc54729))
* **graph:** Loading message didn't appear ([ce3c45c](ce3c45c))
* **graph:** Not displaying the latest state in graph ([280e328](280e328))
* **group_by:** `group_by` reporting erronerous values for the first bucket of data ([8303b84](8303b84)), closes [RomRider#110](https://github.com/ka0n/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](0163f9e))
* header units for `radialBar` ([6883a8f](6883a8f)), closes [RomRider#105](https://github.com/ka0n/apexcharts-card/issues/105)
* **header:** Hide unit when `as_duration` is used ([5686931](5686931))
* **header:** State was sometimes multi-line ([4187104](4187104))
* **header:** Unit would sometimes be on a new line ([92fad1b](92fad1b))
* hidden by default would not work without a name ([9c75ce8](9c75ce8)), closes [RomRider#280](https://github.com/ka0n/apexcharts-card/issues/280)
* history data could be modified in some rare cases ([d38fd6e](d38fd6e))
* Home Assistant API deprecation warning ([1449c7f](1449c7f)), closes [RomRider#417](https://github.com/ka0n/apexcharts-card/issues/417)
* Ignore recorder when not required ([c28a7a6](c28a7a6)), closes [RomRider#169](https://github.com/ka0n/apexcharts-card/issues/169)
* **in_header:** `after/before_now` not working with offsetted series ([960b43c](960b43c))
* last caching issue with statistics ([2e528f7](2e528f7))
* Last computed history data shouldn't be null ([ec875d5](ec875d5))
* **legend:** Change ` - ` to `: ` between name and state ([4e3cdc6](4e3cdc6))
* **legend:** undefined was displayed for a hidden serie ([352c016](352c016))
* median function fails if it receives an empty table ([RomRider#316](https://github.com/ka0n/apexcharts-card/issues/316)) ([12f8d2e](12f8d2e))
* Name and units displayed ([fe5526b](fe5526b))
* Not releasing file ([e1dc473](e1dc473))
* Optimize `extend_to_end` when used with `group_by` ([591add8](591add8))
* **series.offset:** Fix bug introduced by [RomRider#19](https://github.com/ka0n/apexcharts-card/issues/19) ([f5c0d57](f5c0d57)), closes [RomRider#18](https://github.com/ka0n/apexcharts-card/issues/18)
* Sometimes card would stay in warning mode ([ddf6ca9](ddf6ca9))
* Sometimes the graph was empty when changing tabs ([9232044](9232044))
* **start_with_last:** `start_with_last` would sometimes throw ([f5aa2e3](f5aa2e3))
* **style:** Better default styling of toolbar ([4d0ef1c](4d0ef1c)), closes [RomRider#16](https://github.com/ka0n/apexcharts-card/issues/16)
* Support for `rgba` colors ([7ecfafd](7ecfafd))
* Support for card-mod >= 3.0 ([8348119](8348119)), closes [RomRider#104](https://github.com/ka0n/apexcharts-card/issues/104)
* Support for custom views config parameters (`view_layout`) ([76a8023](76a8023))
* Support for fire-dom-event with browser-mod ([3dc9625](3dc9625)), closes [RomRider#196](https://github.com/ka0n/apexcharts-card/issues/196)
* the hass object could sometimes be null ([ff27baf](ff27baf)), closes [RomRider#191](https://github.com/ka0n/apexcharts-card/issues/191)
* Tooltip should not be in a fixed position ([1762049](1762049))
* **tooltip:** Use colors from the theme ([5c263f1](5c263f1))
* **tooltip:** Values where following the selected point ([0145ca2](0145ca2))
* truncate floats in total datalabels ([917a20a](917a20a)), closes [RomRider#73](https://github.com/ka0n/apexcharts-card/issues/73)
* Update apexcharts.js to the the latest version ([dd0bf6f](dd0bf6f))
* When recorder was skipped, attributes were ignored ([15e5372](15e5372))
* Wrong labels in tooltip in some cases ([8f0aca1](8f0aca1))
* **xasis:** Better handling of graph end time if everything is `column` and `group_by` is enabled ([b5b85a6](b5b85a6))
* yaxis would always start at 0 ([50ef9e4](50ef9e4)), closes [RomRider#158](https://github.com/ka0n/apexcharts-card/issues/158)
* **yaxis:** apex_config.yaxis was not taken into account properly ([ce04230](ce04230))
* **yaxis:** auto scale was not taking the serie's offset into account ([f82f7e0](f82f7e0)), closes [RomRider#172](https://github.com/ka0n/apexcharts-card/issues/172)
* **yaxis:** Fixed + unfixed bounds on the same yaxis is now working ([f7e4668](f7e4668))

### Documentation

* `align_to` description update ([4471469](4471469))
* Add an example to change the line thickness ([fd4a495](fd4a495))
* Add examples and fix documentation ([c71b76a](c71b76a))
* Add more example ([ffaa5df](ffaa5df))
* Better info about month and year as offset units ([c194f87](c194f87)), closes [RomRider#65](https://github.com/ka0n/apexcharts-card/issues/65)
* Card is now available in HACS by default ([1200abd](1200abd))
* **config_templates:** Fix wrong config example ([ea1fef4](ea1fef4))
* Fix ApexCharts link ([9394dee](9394dee))
* Fix error `data_generator` example ([6d1c7a0](6d1c7a0)), closes [RomRider#34](https://github.com/ka0n/apexcharts-card/issues/34)
* Fix HACS doc (not yet available by default) ([53fece2](53fece2))
* fix some README glitches ([3dd8b48](3dd8b48))
* Fix some typos ([3df6aed](3df6aed))
* Fix typo in doc ([89ed3c5](89ed3c5))
* Fix typos and broken links ([7789b8f](7789b8f))
* Initial README release ([7a87694](7a87694))
* Missing `title` documentation in the header section ([ff7f35b](ff7f35b))
* Missing doc for `last_updated` ([93ae54a](93ae54a))
* Missing link to the `now` section ([9747257](9747257))
* Update README.md ([b9d49ab](b9d49ab))
github-actions bot pushed a commit to georgepauna/apexcharts-card that referenced this issue May 14, 2024
## 1.0.0 (2024-05-14)

### ⚠ BREAKING CHANGES

* `extend_to_end` has been removed and replaced by `extend_to` with support for `now` and `end`.
* Replace `hours_to_show` with `graph_span`. Takes a time string instead of a number of hours.

### Features

* `extend_to` replaces `extend_to_end` with new options ([4bb1dd2](4bb1dd2)), closes [RomRider#318](https://github.com/georgepauna/apexcharts-card/issues/318)
* **actions:** `header_actions` support for actions in header ([RomRider#171](https://github.com/georgepauna/apexcharts-card/issues/171)) ([bd6a497](bd6a497)), closes [RomRider#61](https://github.com/georgepauna/apexcharts-card/issues/61)
* Add `update_interval` config option ([357db9a](357db9a)), closes [RomRider#2](https://github.com/georgepauna/apexcharts-card/issues/2)
* Add delta and median function ([4a77e55](4a77e55))
* Add spinner while data is loading ([39d4b8e](39d4b8e))
* add state type to long term statistics ([RomRider#329](https://github.com/georgepauna/apexcharts-card/issues/329)) ([3fad4f0](3fad4f0))
* add stroke_width and experimental color_threshold/disable_config_validation ([fcdfa88](fcdfa88)), closes [RomRider#58](https://github.com/georgepauna/apexcharts-card/issues/58)
* **apex_config:** Support for functions in `apex_config` ([cebc03b](cebc03b)), closes [RomRider#81](https://github.com/georgepauna/apexcharts-card/issues/81)
* Apply a `time_delta` to all the datapoints of your serie ([435e381](435e381)), closes [RomRider#277](https://github.com/georgepauna/apexcharts-card/issues/277)
* Better cache handling ([RomRider#1](https://github.com/georgepauna/apexcharts-card/issues/1)) ([804415f](804415f))
* Bring back `hours_12` from the dead ([676bdb7](676bdb7))
* **brush:** Support for a timeframe selection chart ([RomRider#102](https://github.com/georgepauna/apexcharts-card/issues/102)) ([c8dedf7](c8dedf7))
* **cache:** Invalidate cache on every new card version ([RomRider#12](https://github.com/georgepauna/apexcharts-card/issues/12)) ([b1799d9](b1799d9))
* **card:** Support for pre-defined layouts ([c5987f8](c5987f8))
* **color:** Define your own `color` option for each `serie` ([RomRider#7](https://github.com/georgepauna/apexcharts-card/issues/7)) ([3a15db2](3a15db2)), closes [RomRider#4](https://github.com/georgepauna/apexcharts-card/issues/4)
* **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 ([RomRider#64](https://github.com/georgepauna/apexcharts-card/issues/64)) ([17004a3](17004a3))
* **data_generator:** Build your own data based on the last state and attributes of your entity ([RomRider#14](https://github.com/georgepauna/apexcharts-card/issues/14)) ([18284b5](18284b5)), closes [RomRider#6](https://github.com/georgepauna/apexcharts-card/issues/6)
* **datalabels:** Option to display total when chart is stacked ([RomRider#75](https://github.com/georgepauna/apexcharts-card/issues/75)) ([e1c5b01](e1c5b01)), closes [RomRider#73](https://github.com/georgepauna/apexcharts-card/issues/73)
* Define your own float precision for legend, tooltip and Y axis ([7b0f30f](7b0f30f))
* display only the min or max extrema ([3db982b](3db982b)), closes [RomRider#319](https://github.com/georgepauna/apexcharts-card/issues/319)
* display the chart's last update time using `last_updated` ([2dd84ff](2dd84ff))
* Display warning if sensor doesn't exist ([a69df3d](a69df3d))
* **editor:** Preview in the GUI card selector ([d4cd7a3](d4cd7a3))
* **experimental:** `hidden_by_default` to toggle series on load ([RomRider#62](https://github.com/georgepauna/apexcharts-card/issues/62)) ([63717b7](63717b7)), closes [RomRider#60](https://github.com/georgepauna/apexcharts-card/issues/60)
* **experimental:** Header color can now follow `color_threshold` ([RomRider#88](https://github.com/georgepauna/apexcharts-card/issues/88)) ([074bfc3](074bfc3)), closes [RomRider#78](https://github.com/georgepauna/apexcharts-card/issues/78)
* **extremas:** Display the time on top of your extremas ([RomRider#97](https://github.com/georgepauna/apexcharts-card/issues/97)) ([d127b37](d127b37))
* Floating header ([1eccee8](1eccee8))
* follow Home Assistant number format ([9204de2](9204de2)), closes [RomRider#307](https://github.com/georgepauna/apexcharts-card/issues/307)
* **graph:** Extends graph's last value to the current time ([bfe64c5](bfe64c5))
* **graph:** New chart types `scatter`, `donut`, `pie` and `radialBar` ([RomRider#24](https://github.com/georgepauna/apexcharts-card/issues/24)) ([a0e4f85](a0e4f85))
* **group_by:** Add more functions and fix buckets ([c7324e0](c7324e0))
* **group_by:** Add new `diff` function ([57fd6a6](57fd6a6))
* **group_by:** With `start_with_last`, each bucket will start with the last data from the previous bucket ([8669411](8669411))
* **header:** More header options and title support ([RomRider#8](https://github.com/georgepauna/apexcharts-card/issues/8)) ([2cbd769](2cbd769)), closes [RomRider#5](https://github.com/georgepauna/apexcharts-card/issues/5)
* **header:** Standard header title home-assistant format using `standard_format` ([35c5391](35c5391)), closes [RomRider#35](https://github.com/georgepauna/apexcharts-card/issues/35)
* Initial support for aggregating data ([13dfd89](13dfd89))
* **invert:** Negates/Inverts the data for a serie ([RomRider#13](https://github.com/georgepauna/apexcharts-card/issues/13)) ([ab793c5](ab793c5))
* **locale:** Inherit locale from Home-Assistant, deprecate `hours_12` ([RomRider#70](https://github.com/georgepauna/apexcharts-card/issues/70)) ([af2d201](af2d201)), closes [RomRider#68](https://github.com/georgepauna/apexcharts-card/issues/68)
* make datagenerator async ([RomRider#157](https://github.com/georgepauna/apexcharts-card/issues/157)) ([b9049fc](b9049fc))
* Native multi y-axis support with auto-scale ([RomRider#160](https://github.com/georgepauna/apexcharts-card/issues/160)) ([e08aa14](e08aa14)), closes [RomRider#158](https://github.com/georgepauna/apexcharts-card/issues/158)
* **now:** Add a marker at the current time on the chart ([9b6b83d](9b6b83d)), closes [RomRider#44](https://github.com/georgepauna/apexcharts-card/issues/44)
* pie/donut now shows the value of the serie instead of the percentage. Old behavior with `datalabels: percent` ([7591aba](7591aba))
* Replace `hours_to_show` with `graph_span`. Takes a time string instead of a number of hours. ([e7ed408](e7ed408))
* **series.offset:** Compare data from another timeframe with the current timeframe ([RomRider#19](https://github.com/georgepauna/apexcharts-card/issues/19)) ([af8ba81](af8ba81)), closes [RomRider#18](https://github.com/georgepauna/apexcharts-card/issues/18)
* **series.show:** Display the value before/after the current time in the header ([2855403](2855403)), closes [RomRider#86](https://github.com/georgepauna/apexcharts-card/issues/86)
* **series.show:** Display your serie's extremas on the chart ([RomRider#85](https://github.com/georgepauna/apexcharts-card/issues/85)) ([f64169a](f64169a))
* **series.show:** Hide the name of a serie in the header ([b20133d](b20133d)), closes [RomRider#111](https://github.com/georgepauna/apexcharts-card/issues/111)
* **series.show:** Hide the offset from the name of the serie ([a46c3f0](a46c3f0)), closes [RomRider#112](https://github.com/georgepauna/apexcharts-card/issues/112)
* **series.show:** Option to show the raw data in the header ([RomRider#76](https://github.com/georgepauna/apexcharts-card/issues/76)) ([87b56f5](87b56f5)), closes [RomRider#69](https://github.com/georgepauna/apexcharts-card/issues/69)
* **series.show:** Show/hide dataLabels per serie ([9e28db3](9e28db3))
* **series:** `transform` the data the way you want ([RomRider#45](https://github.com/georgepauna/apexcharts-card/issues/45)) ([1cb6bb5](1cb6bb5))
* **series:** Define the `opacity` of the line or area ([8dfb3fd](8dfb3fd)), closes [RomRider#57](https://github.com/georgepauna/apexcharts-card/issues/57)
* **series:** Display values as a duration ([RomRider#21](https://github.com/georgepauna/apexcharts-card/issues/21)) ([227f0ea](227f0ea))
* **series:** Hide the value of a serie in the legend ([RomRider#22](https://github.com/georgepauna/apexcharts-card/issues/22)) ([1e8f748](1e8f748)), closes [RomRider#20](https://github.com/georgepauna/apexcharts-card/issues/20)
* **series:** New `fill_raw` option to fill missing data in raw history ([e2433b6](e2433b6))
* **series:** Retrieve an attribute of your entity instead of the state ([RomRider#32](https://github.com/georgepauna/apexcharts-card/issues/32)) ([b76bf16](b76bf16)), closes [RomRider#29](https://github.com/georgepauna/apexcharts-card/issues/29)
* **series:** Show/Hide a specific serie from the header or the graph ([RomRider#36](https://github.com/georgepauna/apexcharts-card/issues/36)) ([95c0433](95c0433))
* Show value in legend ([869a7f8](869a7f8))
* soft bounds and extended bounds for yaxis min/max ([RomRider#161](https://github.com/georgepauna/apexcharts-card/issues/161)) ([c57278b](c57278b))
* **span:** Add `end` as an option to end the graph at the end of the day, minute, etc... ([RomRider#11](https://github.com/georgepauna/apexcharts-card/issues/11)) ([1d0aca8](1d0aca8))
* **span:** Add support for `isoWeek` ([7abc750](7abc750)), closes [RomRider#106](https://github.com/georgepauna/apexcharts-card/issues/106)
* **span:** Display the graph from the start of the hour, day, month,… with an offset or not ([RomRider#10](https://github.com/georgepauna/apexcharts-card/issues/10)) ([bb6e88c](bb6e88c))
* support actions on the title with `title_actions` ([a9f406e](a9f406e)), closes [RomRider#323](https://github.com/georgepauna/apexcharts-card/issues/323)
* Support for 12-hour format ([RomRider#55](https://github.com/georgepauna/apexcharts-card/issues/55)) ([f38a18e](f38a18e)), closes [RomRider#48](https://github.com/georgepauna/apexcharts-card/issues/48) [RomRider#53](https://github.com/georgepauna/apexcharts-card/issues/53)
* Support for all ApexCharts options ([03efa8d](03efa8d))
* Support for auto-entities ([060e4c0](060e4c0))
* Support for HA long-term statistics ([RomRider#208](https://github.com/georgepauna/apexcharts-card/issues/208)) ([29aaa7c](29aaa7c)), closes [RomRider#308](https://github.com/georgepauna/apexcharts-card/issues/308)
* Support for header ([c5a8ee2](c5a8ee2))
* **transform:** Provide the full state as `entity` to the function ([RomRider#77](https://github.com/georgepauna/apexcharts-card/issues/77)) ([9919c10](9919c10)), closes [RomRider#71](https://github.com/georgepauna/apexcharts-card/issues/71)
* update from lit-html/lit-element to lit ([5a7d944](5a7d944))
* uses the time format defined in Home Assistant user profile ([78df800](78df800)), closes [RomRider#213](https://github.com/georgepauna/apexcharts-card/issues/213)
* **yaxis:** `id` and `yaxis_id` no longer needed with only 1 yaxis defined ([e5e8904](e5e8904))
* **yaxis:** Align the extremas to the closest `align_to`  value. ([a46c812](a46c812)), closes [RomRider#170](https://github.com/georgepauna/apexcharts-card/issues/170)
* **yaxis:** Set the number of decimals shown on the yaxis. Deprecate `y_axis_precision`. ([33fc474](33fc474)), closes [RomRider#164](https://github.com/georgepauna/apexcharts-card/issues/164)

### Bug Fixes

* `bar` should be `column` ([ff188ee](ff188ee))
* `group_by` was extending values into the future ([2cb79d2](2cb79d2))
* `group_by` would sometimes not work with `data_generator` ([cfa6871](cfa6871))
* `last_updated` date format was not following the configuration ([3dd4904](3dd4904))
* `update_interval` was broken ([31d2fb7](31d2fb7))
* 1st color was not using transparency ([77a9c8d](77a9c8d))
* actually really fix the issue with HA 2023.4 beta and above ([972f2c0](972f2c0)), closes [RomRider#529](https://github.com/georgepauna/apexcharts-card/issues/529)
* always get all state changes, not only significant ones ([3b2f9c8](3b2f9c8))
* annotations with time were not following the time format configuration ([5d08853](5d08853))
* another caching issue with statistics ([b93ee75](b93ee75))
* **axis:** X and Y Axis Tooltip color matches theme ([fb717ef](fb717ef))
* bug introduced by 591add ([b9c9297](b9c9297))
* **build:** Missing dependancy ([7d7d637](7d7d637))
* **build:** Remove comments from build ([268ef77](268ef77))
* caching issue for statistics ([8daff2f](8daff2f))
* card broken with HA 2023.4.0bXX and above ([e1aaf69](e1aaf69)), closes [RomRider#527](https://github.com/georgepauna/apexcharts-card/issues/527)
* Chart not displayed properly or at all with layout-card ([e5840fb](e5840fb)), closes [RomRider#121](https://github.com/georgepauna/apexcharts-card/issues/121)
* color with alpha would render area opaque ([100b6d4](100b6d4))
* color_threshold would sometimes render weirdly ([d7063a5](d7063a5)), closes [RomRider#177](https://github.com/georgepauna/apexcharts-card/issues/177)
* **color_threshold:** opacity for color_threshold ([5a325f4](5a325f4))
* **color_threshold:** Sometimes it would break the card ([65b5419](65b5419))
* **colorize_states:** Parameter was not applied ([28bb2e2](28bb2e2))
* **config_templates:** Was supposed to support a string ([f36d9b1](f36d9b1)), closes [RomRider#87](https://github.com/georgepauna/apexcharts-card/issues/87)
* **config:** `style` was not a valid config option (card-mod/picture-element) ([0a38778](0a38778)), closes [RomRider#15](https://github.com/georgepauna/apexcharts-card/issues/15)
* dataLabels would not follow `float_precision` ([cf9b63a](cf9b63a)), closes [RomRider#54](https://github.com/georgepauna/apexcharts-card/issues/54)
* **datalabels:** Truncate floats to 1 digit after the decimal point ([f5f744f](f5f744f))
* Disable support for colors with alpha channel ([RomRider#91](https://github.com/georgepauna/apexcharts-card/issues/91)) ([522363a](522363a)), closes [RomRider#90](https://github.com/georgepauna/apexcharts-card/issues/90)
* Display non inverted numbers in legend/tooltip/datalabels when `invert: true` ([331fe04](331fe04)), closes [RomRider#96](https://github.com/georgepauna/apexcharts-card/issues/96)
* Error was not displayed if duration couldn't be parsed ([2e2212f](2e2212f))
* extra space at bottom because of the card's action-handler ([533a784](533a784))
* extremas was not working with `invert: true` ([4d06ef6](4d06ef6)), closes [RomRider#96](https://github.com/georgepauna/apexcharts-card/issues/96)
* extremas would not display with offset applied on series ([4d7d77a](4d7d77a)), closes [RomRider#177](https://github.com/georgepauna/apexcharts-card/issues/177)
* **extremas:** Multi y-axis support ([RomRider#98](https://github.com/georgepauna/apexcharts-card/issues/98)) ([5c7d742](5c7d742)), closes [RomRider#89](https://github.com/georgepauna/apexcharts-card/issues/89)
* Float were not displayed in non-timeline charts ([e67d2d7](e67d2d7)), closes [RomRider#42](https://github.com/georgepauna/apexcharts-card/issues/42)
* Floats were not truncated properly for radialBar ([0c789ff](0c789ff)), closes [RomRider#174](https://github.com/georgepauna/apexcharts-card/issues/174)
* Friendly name wouldn't display anymore ([ef38724](ef38724))
* **func:** Filter `null` values in `diff` ([cfe736c](cfe736c))
* **func:** median was sometimes wrong ([c36dda7](c36dda7))
* Get rid of the initial load delay ([69f151b](69f151b))
* graph might be wrong when using `attributes` if value was 0 ([e200323](e200323))
* Graph stopped updating following ddf6ca9 ([bc54729](bc54729))
* **graph:** Loading message didn't appear ([ce3c45c](ce3c45c))
* **graph:** Not displaying the latest state in graph ([280e328](280e328))
* **group_by:** `group_by` reporting erronerous values for the first bucket of data ([8303b84](8303b84)), closes [RomRider#110](https://github.com/georgepauna/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](0163f9e))
* header units for `radialBar` ([6883a8f](6883a8f)), closes [RomRider#105](https://github.com/georgepauna/apexcharts-card/issues/105)
* **header:** Hide unit when `as_duration` is used ([5686931](5686931))
* **header:** State was sometimes multi-line ([4187104](4187104))
* **header:** Unit would sometimes be on a new line ([92fad1b](92fad1b))
* hidden by default would not work without a name ([9c75ce8](9c75ce8)), closes [RomRider#280](https://github.com/georgepauna/apexcharts-card/issues/280)
* history data could be modified in some rare cases ([d38fd6e](d38fd6e))
* Home Assistant API deprecation warning ([1449c7f](1449c7f)), closes [RomRider#417](https://github.com/georgepauna/apexcharts-card/issues/417)
* Ignore recorder when not required ([c28a7a6](c28a7a6)), closes [RomRider#169](https://github.com/georgepauna/apexcharts-card/issues/169)
* **in_header:** `after/before_now` not working with offsetted series ([960b43c](960b43c))
* last caching issue with statistics ([2e528f7](2e528f7))
* Last computed history data shouldn't be null ([ec875d5](ec875d5))
* **legend:** Change ` - ` to `: ` between name and state ([4e3cdc6](4e3cdc6))
* **legend:** undefined was displayed for a hidden serie ([352c016](352c016))
* median function fails if it receives an empty table ([RomRider#316](https://github.com/georgepauna/apexcharts-card/issues/316)) ([12f8d2e](12f8d2e))
* Name and units displayed ([fe5526b](fe5526b))
* Not releasing file ([e1dc473](e1dc473))
* Optimize `extend_to_end` when used with `group_by` ([591add8](591add8))
* **series.offset:** Fix bug introduced by [RomRider#19](https://github.com/georgepauna/apexcharts-card/issues/19) ([f5c0d57](f5c0d57)), closes [RomRider#18](https://github.com/georgepauna/apexcharts-card/issues/18)
* Sometimes card would stay in warning mode ([ddf6ca9](ddf6ca9))
* Sometimes the graph was empty when changing tabs ([9232044](9232044))
* **start_with_last:** `start_with_last` would sometimes throw ([f5aa2e3](f5aa2e3))
* **style:** Better default styling of toolbar ([4d0ef1c](4d0ef1c)), closes [RomRider#16](https://github.com/georgepauna/apexcharts-card/issues/16)
* Support for `rgba` colors ([7ecfafd](7ecfafd))
* Support for card-mod >= 3.0 ([8348119](8348119)), closes [RomRider#104](https://github.com/georgepauna/apexcharts-card/issues/104)
* Support for custom views config parameters (`view_layout`) ([76a8023](76a8023))
* Support for fire-dom-event with browser-mod ([3dc9625](3dc9625)), closes [RomRider#196](https://github.com/georgepauna/apexcharts-card/issues/196)
* the hass object could sometimes be null ([ff27baf](ff27baf)), closes [RomRider#191](https://github.com/georgepauna/apexcharts-card/issues/191)
* Tooltip should not be in a fixed position ([1762049](1762049))
* **tooltip:** Use colors from the theme ([5c263f1](5c263f1))
* **tooltip:** Values where following the selected point ([0145ca2](0145ca2))
* truncate floats in total datalabels ([917a20a](917a20a)), closes [RomRider#73](https://github.com/georgepauna/apexcharts-card/issues/73)
* Update apexcharts.js to the the latest version ([dd0bf6f](dd0bf6f))
* When recorder was skipped, attributes were ignored ([15e5372](15e5372))
* Wrong labels in tooltip in some cases ([8f0aca1](8f0aca1))
* **xasis:** Better handling of graph end time if everything is `column` and `group_by` is enabled ([b5b85a6](b5b85a6))
* yaxis would always start at 0 ([50ef9e4](50ef9e4)), closes [RomRider#158](https://github.com/georgepauna/apexcharts-card/issues/158)
* **yaxis:** apex_config.yaxis was not taken into account properly ([ce04230](ce04230))
* **yaxis:** auto scale was not taking the serie's offset into account ([f82f7e0](f82f7e0)), closes [RomRider#172](https://github.com/georgepauna/apexcharts-card/issues/172)
* **yaxis:** Fixed + unfixed bounds on the same yaxis is now working ([f7e4668](f7e4668))

### Documentation

* `align_to` description update ([4471469](4471469))
* Add an example to change the line thickness ([fd4a495](fd4a495))
* Add examples and fix documentation ([c71b76a](c71b76a))
* Add more example ([ffaa5df](ffaa5df))
* Better info about month and year as offset units ([c194f87](c194f87)), closes [RomRider#65](https://github.com/georgepauna/apexcharts-card/issues/65)
* Card is now available in HACS by default ([1200abd](1200abd))
* **config_templates:** Fix wrong config example ([ea1fef4](ea1fef4))
* Fix ApexCharts link ([9394dee](9394dee))
* Fix error `data_generator` example ([6d1c7a0](6d1c7a0)), closes [RomRider#34](https://github.com/georgepauna/apexcharts-card/issues/34)
* Fix HACS doc (not yet available by default) ([53fece2](53fece2))
* fix some README glitches ([3dd8b48](3dd8b48))
* Fix some typos ([3df6aed](3df6aed))
* Fix typo in doc ([89ed3c5](89ed3c5))
* Fix typos and broken links ([7789b8f](7789b8f))
* Initial README release ([7a87694](7a87694))
* Missing `title` documentation in the header section ([ff7f35b](ff7f35b))
* Missing doc for `last_updated` ([93ae54a](93ae54a))
* Missing link to the `now` section ([9747257](9747257))
* Update README.md ([b9d49ab](b9d49ab))
github-actions bot pushed a commit to georgepauna/apexcharts-card that referenced this issue May 14, 2024
## 1.0.0 (2024-05-14)

### ⚠ BREAKING CHANGES

* `extend_to_end` has been removed and replaced by `extend_to` with support for `now` and `end`.
* Replace `hours_to_show` with `graph_span`. Takes a time string instead of a number of hours.

### Features

* `extend_to` replaces `extend_to_end` with new options ([4bb1dd2](4bb1dd2)), closes [RomRider#318](https://github.com/georgepauna/apexcharts-card/issues/318)
* **actions:** `header_actions` support for actions in header ([RomRider#171](https://github.com/georgepauna/apexcharts-card/issues/171)) ([bd6a497](bd6a497)), closes [RomRider#61](https://github.com/georgepauna/apexcharts-card/issues/61)
* Add `update_interval` config option ([357db9a](357db9a)), closes [RomRider#2](https://github.com/georgepauna/apexcharts-card/issues/2)
* Add delta and median function ([4a77e55](4a77e55))
* Add spinner while data is loading ([39d4b8e](39d4b8e))
* add state type to long term statistics ([RomRider#329](https://github.com/georgepauna/apexcharts-card/issues/329)) ([3fad4f0](3fad4f0))
* add stroke_width and experimental color_threshold/disable_config_validation ([fcdfa88](fcdfa88)), closes [RomRider#58](https://github.com/georgepauna/apexcharts-card/issues/58)
* **apex_config:** Support for functions in `apex_config` ([cebc03b](cebc03b)), closes [RomRider#81](https://github.com/georgepauna/apexcharts-card/issues/81)
* Apply a `time_delta` to all the datapoints of your serie ([435e381](435e381)), closes [RomRider#277](https://github.com/georgepauna/apexcharts-card/issues/277)
* Better cache handling ([RomRider#1](https://github.com/georgepauna/apexcharts-card/issues/1)) ([804415f](804415f))
* Bring back `hours_12` from the dead ([676bdb7](676bdb7))
* **brush:** Support for a timeframe selection chart ([RomRider#102](https://github.com/georgepauna/apexcharts-card/issues/102)) ([c8dedf7](c8dedf7))
* **cache:** Invalidate cache on every new card version ([RomRider#12](https://github.com/georgepauna/apexcharts-card/issues/12)) ([b1799d9](b1799d9))
* **card:** Support for pre-defined layouts ([c5987f8](c5987f8))
* **color:** Define your own `color` option for each `serie` ([RomRider#7](https://github.com/georgepauna/apexcharts-card/issues/7)) ([3a15db2](3a15db2)), closes [RomRider#4](https://github.com/georgepauna/apexcharts-card/issues/4)
* **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 ([RomRider#64](https://github.com/georgepauna/apexcharts-card/issues/64)) ([17004a3](17004a3))
* **data_generator:** Build your own data based on the last state and attributes of your entity ([RomRider#14](https://github.com/georgepauna/apexcharts-card/issues/14)) ([18284b5](18284b5)), closes [RomRider#6](https://github.com/georgepauna/apexcharts-card/issues/6)
* **datalabels:** Option to display total when chart is stacked ([RomRider#75](https://github.com/georgepauna/apexcharts-card/issues/75)) ([e1c5b01](e1c5b01)), closes [RomRider#73](https://github.com/georgepauna/apexcharts-card/issues/73)
* Define your own float precision for legend, tooltip and Y axis ([7b0f30f](7b0f30f))
* display only the min or max extrema ([3db982b](3db982b)), closes [RomRider#319](https://github.com/georgepauna/apexcharts-card/issues/319)
* display the chart's last update time using `last_updated` ([2dd84ff](2dd84ff))
* Display warning if sensor doesn't exist ([a69df3d](a69df3d))
* **editor:** Preview in the GUI card selector ([d4cd7a3](d4cd7a3))
* **experimental:** `hidden_by_default` to toggle series on load ([RomRider#62](https://github.com/georgepauna/apexcharts-card/issues/62)) ([63717b7](63717b7)), closes [RomRider#60](https://github.com/georgepauna/apexcharts-card/issues/60)
* **experimental:** Header color can now follow `color_threshold` ([RomRider#88](https://github.com/georgepauna/apexcharts-card/issues/88)) ([074bfc3](074bfc3)), closes [RomRider#78](https://github.com/georgepauna/apexcharts-card/issues/78)
* **extremas:** Display the time on top of your extremas ([RomRider#97](https://github.com/georgepauna/apexcharts-card/issues/97)) ([d127b37](d127b37))
* Floating header ([1eccee8](1eccee8))
* follow Home Assistant number format ([9204de2](9204de2)), closes [RomRider#307](https://github.com/georgepauna/apexcharts-card/issues/307)
* **graph:** Extends graph's last value to the current time ([bfe64c5](bfe64c5))
* **graph:** New chart types `scatter`, `donut`, `pie` and `radialBar` ([RomRider#24](https://github.com/georgepauna/apexcharts-card/issues/24)) ([a0e4f85](a0e4f85))
* **group_by:** Add more functions and fix buckets ([c7324e0](c7324e0))
* **group_by:** Add new `diff` function ([57fd6a6](57fd6a6))
* **group_by:** With `start_with_last`, each bucket will start with the last data from the previous bucket ([8669411](8669411))
* **header:** More header options and title support ([RomRider#8](https://github.com/georgepauna/apexcharts-card/issues/8)) ([2cbd769](2cbd769)), closes [RomRider#5](https://github.com/georgepauna/apexcharts-card/issues/5)
* **header:** Standard header title home-assistant format using `standard_format` ([35c5391](35c5391)), closes [RomRider#35](https://github.com/georgepauna/apexcharts-card/issues/35)
* Initial support for aggregating data ([13dfd89](13dfd89))
* **invert:** Negates/Inverts the data for a serie ([RomRider#13](https://github.com/georgepauna/apexcharts-card/issues/13)) ([ab793c5](ab793c5))
* **locale:** Inherit locale from Home-Assistant, deprecate `hours_12` ([RomRider#70](https://github.com/georgepauna/apexcharts-card/issues/70)) ([af2d201](af2d201)), closes [RomRider#68](https://github.com/georgepauna/apexcharts-card/issues/68)
* make datagenerator async ([RomRider#157](https://github.com/georgepauna/apexcharts-card/issues/157)) ([b9049fc](b9049fc))
* Native multi y-axis support with auto-scale ([RomRider#160](https://github.com/georgepauna/apexcharts-card/issues/160)) ([e08aa14](e08aa14)), closes [RomRider#158](https://github.com/georgepauna/apexcharts-card/issues/158)
* **now:** Add a marker at the current time on the chart ([9b6b83d](9b6b83d)), closes [RomRider#44](https://github.com/georgepauna/apexcharts-card/issues/44)
* pie/donut now shows the value of the serie instead of the percentage. Old behavior with `datalabels: percent` ([7591aba](7591aba))
* Replace `hours_to_show` with `graph_span`. Takes a time string instead of a number of hours. ([e7ed408](e7ed408))
* **series.offset:** Compare data from another timeframe with the current timeframe ([RomRider#19](https://github.com/georgepauna/apexcharts-card/issues/19)) ([af8ba81](af8ba81)), closes [RomRider#18](https://github.com/georgepauna/apexcharts-card/issues/18)
* **series.show:** Display the value before/after the current time in the header ([2855403](2855403)), closes [RomRider#86](https://github.com/georgepauna/apexcharts-card/issues/86)
* **series.show:** Display your serie's extremas on the chart ([RomRider#85](https://github.com/georgepauna/apexcharts-card/issues/85)) ([f64169a](f64169a))
* **series.show:** Hide the name of a serie in the header ([b20133d](b20133d)), closes [RomRider#111](https://github.com/georgepauna/apexcharts-card/issues/111)
* **series.show:** Hide the offset from the name of the serie ([a46c3f0](a46c3f0)), closes [RomRider#112](https://github.com/georgepauna/apexcharts-card/issues/112)
* **series.show:** Option to show the raw data in the header ([RomRider#76](https://github.com/georgepauna/apexcharts-card/issues/76)) ([87b56f5](87b56f5)), closes [RomRider#69](https://github.com/georgepauna/apexcharts-card/issues/69)
* **series.show:** Show/hide dataLabels per serie ([9e28db3](9e28db3))
* **series:** `transform` the data the way you want ([RomRider#45](https://github.com/georgepauna/apexcharts-card/issues/45)) ([1cb6bb5](1cb6bb5))
* **series:** Define the `opacity` of the line or area ([8dfb3fd](8dfb3fd)), closes [RomRider#57](https://github.com/georgepauna/apexcharts-card/issues/57)
* **series:** Display values as a duration ([RomRider#21](https://github.com/georgepauna/apexcharts-card/issues/21)) ([227f0ea](227f0ea))
* **series:** Hide the value of a serie in the legend ([RomRider#22](https://github.com/georgepauna/apexcharts-card/issues/22)) ([1e8f748](1e8f748)), closes [RomRider#20](https://github.com/georgepauna/apexcharts-card/issues/20)
* **series:** New `fill_raw` option to fill missing data in raw history ([e2433b6](e2433b6))
* **series:** Retrieve an attribute of your entity instead of the state ([RomRider#32](https://github.com/georgepauna/apexcharts-card/issues/32)) ([b76bf16](b76bf16)), closes [RomRider#29](https://github.com/georgepauna/apexcharts-card/issues/29)
* **series:** Show/Hide a specific serie from the header or the graph ([RomRider#36](https://github.com/georgepauna/apexcharts-card/issues/36)) ([95c0433](95c0433))
* Show value in legend ([869a7f8](869a7f8))
* soft bounds and extended bounds for yaxis min/max ([RomRider#161](https://github.com/georgepauna/apexcharts-card/issues/161)) ([c57278b](c57278b))
* **span:** Add `end` as an option to end the graph at the end of the day, minute, etc... ([RomRider#11](https://github.com/georgepauna/apexcharts-card/issues/11)) ([1d0aca8](1d0aca8))
* **span:** Add support for `isoWeek` ([7abc750](7abc750)), closes [RomRider#106](https://github.com/georgepauna/apexcharts-card/issues/106)
* **span:** Display the graph from the start of the hour, day, month,… with an offset or not ([RomRider#10](https://github.com/georgepauna/apexcharts-card/issues/10)) ([bb6e88c](bb6e88c))
* support actions on the title with `title_actions` ([a9f406e](a9f406e)), closes [RomRider#323](https://github.com/georgepauna/apexcharts-card/issues/323)
* Support for 12-hour format ([RomRider#55](https://github.com/georgepauna/apexcharts-card/issues/55)) ([f38a18e](f38a18e)), closes [RomRider#48](https://github.com/georgepauna/apexcharts-card/issues/48) [RomRider#53](https://github.com/georgepauna/apexcharts-card/issues/53)
* Support for all ApexCharts options ([03efa8d](03efa8d))
* Support for auto-entities ([060e4c0](060e4c0))
* Support for HA long-term statistics ([RomRider#208](https://github.com/georgepauna/apexcharts-card/issues/208)) ([29aaa7c](29aaa7c)), closes [RomRider#308](https://github.com/georgepauna/apexcharts-card/issues/308)
* Support for header ([c5a8ee2](c5a8ee2))
* **transform:** Provide the full state as `entity` to the function ([RomRider#77](https://github.com/georgepauna/apexcharts-card/issues/77)) ([9919c10](9919c10)), closes [RomRider#71](https://github.com/georgepauna/apexcharts-card/issues/71)
* update from lit-html/lit-element to lit ([5a7d944](5a7d944))
* uses the time format defined in Home Assistant user profile ([78df800](78df800)), closes [RomRider#213](https://github.com/georgepauna/apexcharts-card/issues/213)
* **yaxis:** `id` and `yaxis_id` no longer needed with only 1 yaxis defined ([e5e8904](e5e8904))
* **yaxis:** Align the extremas to the closest `align_to`  value. ([a46c812](a46c812)), closes [RomRider#170](https://github.com/georgepauna/apexcharts-card/issues/170)
* **yaxis:** Set the number of decimals shown on the yaxis. Deprecate `y_axis_precision`. ([33fc474](33fc474)), closes [RomRider#164](https://github.com/georgepauna/apexcharts-card/issues/164)

### Bug Fixes

* `bar` should be `column` ([ff188ee](ff188ee))
* `group_by` was extending values into the future ([2cb79d2](2cb79d2))
* `group_by` would sometimes not work with `data_generator` ([cfa6871](cfa6871))
* `last_updated` date format was not following the configuration ([3dd4904](3dd4904))
* `update_interval` was broken ([31d2fb7](31d2fb7))
* 1st color was not using transparency ([77a9c8d](77a9c8d))
* actually really fix the issue with HA 2023.4 beta and above ([972f2c0](972f2c0)), closes [RomRider#529](https://github.com/georgepauna/apexcharts-card/issues/529)
* always get all state changes, not only significant ones ([3b2f9c8](3b2f9c8))
* annotations with time were not following the time format configuration ([5d08853](5d08853))
* another caching issue with statistics ([b93ee75](b93ee75))
* **axis:** X and Y Axis Tooltip color matches theme ([fb717ef](fb717ef))
* bug introduced by 591add ([b9c9297](b9c9297))
* **build:** Missing dependancy ([7d7d637](7d7d637))
* **build:** Remove comments from build ([268ef77](268ef77))
* caching issue for statistics ([8daff2f](8daff2f))
* card broken with HA 2023.4.0bXX and above ([e1aaf69](e1aaf69)), closes [RomRider#527](https://github.com/georgepauna/apexcharts-card/issues/527)
* Chart not displayed properly or at all with layout-card ([e5840fb](e5840fb)), closes [RomRider#121](https://github.com/georgepauna/apexcharts-card/issues/121)
* color with alpha would render area opaque ([100b6d4](100b6d4))
* color_threshold would sometimes render weirdly ([d7063a5](d7063a5)), closes [RomRider#177](https://github.com/georgepauna/apexcharts-card/issues/177)
* **color_threshold:** opacity for color_threshold ([5a325f4](5a325f4))
* **color_threshold:** Sometimes it would break the card ([65b5419](65b5419))
* **colorize_states:** Parameter was not applied ([28bb2e2](28bb2e2))
* **config_templates:** Was supposed to support a string ([f36d9b1](f36d9b1)), closes [RomRider#87](https://github.com/georgepauna/apexcharts-card/issues/87)
* **config:** `style` was not a valid config option (card-mod/picture-element) ([0a38778](0a38778)), closes [RomRider#15](https://github.com/georgepauna/apexcharts-card/issues/15)
* dataLabels would not follow `float_precision` ([cf9b63a](cf9b63a)), closes [RomRider#54](https://github.com/georgepauna/apexcharts-card/issues/54)
* **datalabels:** Truncate floats to 1 digit after the decimal point ([f5f744f](f5f744f))
* Disable support for colors with alpha channel ([RomRider#91](https://github.com/georgepauna/apexcharts-card/issues/91)) ([522363a](522363a)), closes [RomRider#90](https://github.com/georgepauna/apexcharts-card/issues/90)
* Display non inverted numbers in legend/tooltip/datalabels when `invert: true` ([331fe04](331fe04)), closes [RomRider#96](https://github.com/georgepauna/apexcharts-card/issues/96)
* Error was not displayed if duration couldn't be parsed ([2e2212f](2e2212f))
* extra space at bottom because of the card's action-handler ([533a784](533a784))
* extremas was not working with `invert: true` ([4d06ef6](4d06ef6)), closes [RomRider#96](https://github.com/georgepauna/apexcharts-card/issues/96)
* extremas would not display with offset applied on series ([4d7d77a](4d7d77a)), closes [RomRider#177](https://github.com/georgepauna/apexcharts-card/issues/177)
* **extremas:** Multi y-axis support ([RomRider#98](https://github.com/georgepauna/apexcharts-card/issues/98)) ([5c7d742](5c7d742)), closes [RomRider#89](https://github.com/georgepauna/apexcharts-card/issues/89)
* Float were not displayed in non-timeline charts ([e67d2d7](e67d2d7)), closes [RomRider#42](https://github.com/georgepauna/apexcharts-card/issues/42)
* Floats were not truncated properly for radialBar ([0c789ff](0c789ff)), closes [RomRider#174](https://github.com/georgepauna/apexcharts-card/issues/174)
* Friendly name wouldn't display anymore ([ef38724](ef38724))
* **func:** Filter `null` values in `diff` ([cfe736c](cfe736c))
* **func:** median was sometimes wrong ([c36dda7](c36dda7))
* Get rid of the initial load delay ([69f151b](69f151b))
* graph might be wrong when using `attributes` if value was 0 ([e200323](e200323))
* Graph stopped updating following ddf6ca9 ([bc54729](bc54729))
* **graph:** Loading message didn't appear ([ce3c45c](ce3c45c))
* **graph:** Not displaying the latest state in graph ([280e328](280e328))
* **group_by:** `group_by` reporting erronerous values for the first bucket of data ([8303b84](8303b84)), closes [RomRider#110](https://github.com/georgepauna/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](0163f9e))
* header units for `radialBar` ([6883a8f](6883a8f)), closes [RomRider#105](https://github.com/georgepauna/apexcharts-card/issues/105)
* **header:** Hide unit when `as_duration` is used ([5686931](5686931))
* **header:** State was sometimes multi-line ([4187104](4187104))
* **header:** Unit would sometimes be on a new line ([92fad1b](92fad1b))
* hidden by default would not work without a name ([9c75ce8](9c75ce8)), closes [RomRider#280](https://github.com/georgepauna/apexcharts-card/issues/280)
* history data could be modified in some rare cases ([d38fd6e](d38fd6e))
* Home Assistant API deprecation warning ([1449c7f](1449c7f)), closes [RomRider#417](https://github.com/georgepauna/apexcharts-card/issues/417)
* Ignore recorder when not required ([c28a7a6](c28a7a6)), closes [RomRider#169](https://github.com/georgepauna/apexcharts-card/issues/169)
* **in_header:** `after/before_now` not working with offsetted series ([960b43c](960b43c))
* last caching issue with statistics ([2e528f7](2e528f7))
* Last computed history data shouldn't be null ([ec875d5](ec875d5))
* **legend:** Change ` - ` to `: ` between name and state ([4e3cdc6](4e3cdc6))
* **legend:** undefined was displayed for a hidden serie ([352c016](352c016))
* median function fails if it receives an empty table ([RomRider#316](https://github.com/georgepauna/apexcharts-card/issues/316)) ([12f8d2e](12f8d2e))
* Name and units displayed ([fe5526b](fe5526b))
* Not releasing file ([e1dc473](e1dc473))
* Optimize `extend_to_end` when used with `group_by` ([591add8](591add8))
* **series.offset:** Fix bug introduced by [RomRider#19](https://github.com/georgepauna/apexcharts-card/issues/19) ([f5c0d57](f5c0d57)), closes [RomRider#18](https://github.com/georgepauna/apexcharts-card/issues/18)
* Sometimes card would stay in warning mode ([ddf6ca9](ddf6ca9))
* Sometimes the graph was empty when changing tabs ([9232044](9232044))
* **start_with_last:** `start_with_last` would sometimes throw ([f5aa2e3](f5aa2e3))
* **style:** Better default styling of toolbar ([4d0ef1c](4d0ef1c)), closes [RomRider#16](https://github.com/georgepauna/apexcharts-card/issues/16)
* Support for `rgba` colors ([7ecfafd](7ecfafd))
* Support for card-mod >= 3.0 ([8348119](8348119)), closes [RomRider#104](https://github.com/georgepauna/apexcharts-card/issues/104)
* Support for custom views config parameters (`view_layout`) ([76a8023](76a8023))
* Support for fire-dom-event with browser-mod ([3dc9625](3dc9625)), closes [RomRider#196](https://github.com/georgepauna/apexcharts-card/issues/196)
* the hass object could sometimes be null ([ff27baf](ff27baf)), closes [RomRider#191](https://github.com/georgepauna/apexcharts-card/issues/191)
* Tooltip should not be in a fixed position ([1762049](1762049))
* **tooltip:** Use colors from the theme ([5c263f1](5c263f1))
* **tooltip:** Values where following the selected point ([0145ca2](0145ca2))
* truncate floats in total datalabels ([917a20a](917a20a)), closes [RomRider#73](https://github.com/georgepauna/apexcharts-card/issues/73)
* Update apexcharts.js to the the latest version ([dd0bf6f](dd0bf6f))
* When recorder was skipped, attributes were ignored ([15e5372](15e5372))
* Wrong labels in tooltip in some cases ([8f0aca1](8f0aca1))
* **xasis:** Better handling of graph end time if everything is `column` and `group_by` is enabled ([b5b85a6](b5b85a6))
* yaxis would always start at 0 ([50ef9e4](50ef9e4)), closes [RomRider#158](https://github.com/georgepauna/apexcharts-card/issues/158)
* **yaxis:** apex_config.yaxis was not taken into account properly ([ce04230](ce04230))
* **yaxis:** auto scale was not taking the serie's offset into account ([f82f7e0](f82f7e0)), closes [RomRider#172](https://github.com/georgepauna/apexcharts-card/issues/172)
* **yaxis:** Fixed + unfixed bounds on the same yaxis is now working ([f7e4668](f7e4668))

### Documentation

* `align_to` description update ([4471469](4471469))
* Add an example to change the line thickness ([fd4a495](fd4a495))
* Add examples and fix documentation ([c71b76a](c71b76a))
* Add more example ([ffaa5df](ffaa5df))
* Better info about month and year as offset units ([c194f87](c194f87)), closes [RomRider#65](https://github.com/georgepauna/apexcharts-card/issues/65)
* Card is now available in HACS by default ([1200abd](1200abd))
* **config_templates:** Fix wrong config example ([ea1fef4](ea1fef4))
* Fix ApexCharts link ([9394dee](9394dee))
* Fix error `data_generator` example ([6d1c7a0](6d1c7a0)), closes [RomRider#34](https://github.com/georgepauna/apexcharts-card/issues/34)
* Fix HACS doc (not yet available by default) ([53fece2](53fece2))
* fix some README glitches ([3dd8b48](3dd8b48))
* Fix some typos ([3df6aed](3df6aed))
* Fix typo in doc ([89ed3c5](89ed3c5))
* Fix typos and broken links ([7789b8f](7789b8f))
* Initial README release ([7a87694](7a87694))
* Missing `title` documentation in the header section ([ff7f35b](ff7f35b))
* Missing doc for `last_updated` ([93ae54a](93ae54a))
* Missing link to the `now` section ([9747257](9747257))
* Update README.md ([b9d49ab](b9d49ab))
github-actions bot pushed a commit to georgepauna/apexcharts-card that referenced this issue May 14, 2024
## 1.0.0 (2024-05-14)

### ⚠ BREAKING CHANGES

* `extend_to_end` has been removed and replaced by `extend_to` with support for `now` and `end`.
* Replace `hours_to_show` with `graph_span`. Takes a time string instead of a number of hours.

### Features

* `extend_to` replaces `extend_to_end` with new options ([4bb1dd2](4bb1dd2)), closes [RomRider#318](https://github.com/georgepauna/apexcharts-card/issues/318)
* **actions:** `header_actions` support for actions in header ([RomRider#171](https://github.com/georgepauna/apexcharts-card/issues/171)) ([bd6a497](bd6a497)), closes [RomRider#61](https://github.com/georgepauna/apexcharts-card/issues/61)
* Add `update_interval` config option ([357db9a](357db9a)), closes [RomRider#2](https://github.com/georgepauna/apexcharts-card/issues/2)
* Add delta and median function ([4a77e55](4a77e55))
* Add spinner while data is loading ([39d4b8e](39d4b8e))
* add state type to long term statistics ([RomRider#329](https://github.com/georgepauna/apexcharts-card/issues/329)) ([3fad4f0](3fad4f0))
* add stroke_width and experimental color_threshold/disable_config_validation ([fcdfa88](fcdfa88)), closes [RomRider#58](https://github.com/georgepauna/apexcharts-card/issues/58)
* **apex_config:** Support for functions in `apex_config` ([cebc03b](cebc03b)), closes [RomRider#81](https://github.com/georgepauna/apexcharts-card/issues/81)
* Apply a `time_delta` to all the datapoints of your serie ([435e381](435e381)), closes [RomRider#277](https://github.com/georgepauna/apexcharts-card/issues/277)
* Better cache handling ([RomRider#1](https://github.com/georgepauna/apexcharts-card/issues/1)) ([804415f](804415f))
* Bring back `hours_12` from the dead ([676bdb7](676bdb7))
* **brush:** Support for a timeframe selection chart ([RomRider#102](https://github.com/georgepauna/apexcharts-card/issues/102)) ([c8dedf7](c8dedf7))
* **cache:** Invalidate cache on every new card version ([RomRider#12](https://github.com/georgepauna/apexcharts-card/issues/12)) ([b1799d9](b1799d9))
* **card:** Support for pre-defined layouts ([c5987f8](c5987f8))
* **color:** Define your own `color` option for each `serie` ([RomRider#7](https://github.com/georgepauna/apexcharts-card/issues/7)) ([3a15db2](3a15db2)), closes [RomRider#4](https://github.com/georgepauna/apexcharts-card/issues/4)
* **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 ([RomRider#64](https://github.com/georgepauna/apexcharts-card/issues/64)) ([17004a3](17004a3))
* **data_generator:** Build your own data based on the last state and attributes of your entity ([RomRider#14](https://github.com/georgepauna/apexcharts-card/issues/14)) ([18284b5](18284b5)), closes [RomRider#6](https://github.com/georgepauna/apexcharts-card/issues/6)
* **datalabels:** Option to display total when chart is stacked ([RomRider#75](https://github.com/georgepauna/apexcharts-card/issues/75)) ([e1c5b01](e1c5b01)), closes [RomRider#73](https://github.com/georgepauna/apexcharts-card/issues/73)
* Define your own float precision for legend, tooltip and Y axis ([7b0f30f](7b0f30f))
* display only the min or max extrema ([3db982b](3db982b)), closes [RomRider#319](https://github.com/georgepauna/apexcharts-card/issues/319)
* display the chart's last update time using `last_updated` ([2dd84ff](2dd84ff))
* Display warning if sensor doesn't exist ([a69df3d](a69df3d))
* **editor:** Preview in the GUI card selector ([d4cd7a3](d4cd7a3))
* **experimental:** `hidden_by_default` to toggle series on load ([RomRider#62](https://github.com/georgepauna/apexcharts-card/issues/62)) ([63717b7](63717b7)), closes [RomRider#60](https://github.com/georgepauna/apexcharts-card/issues/60)
* **experimental:** Header color can now follow `color_threshold` ([RomRider#88](https://github.com/georgepauna/apexcharts-card/issues/88)) ([074bfc3](074bfc3)), closes [RomRider#78](https://github.com/georgepauna/apexcharts-card/issues/78)
* **extremas:** Display the time on top of your extremas ([RomRider#97](https://github.com/georgepauna/apexcharts-card/issues/97)) ([d127b37](d127b37))
* Floating header ([1eccee8](1eccee8))
* follow Home Assistant number format ([9204de2](9204de2)), closes [RomRider#307](https://github.com/georgepauna/apexcharts-card/issues/307)
* **graph:** Extends graph's last value to the current time ([bfe64c5](bfe64c5))
* **graph:** New chart types `scatter`, `donut`, `pie` and `radialBar` ([RomRider#24](https://github.com/georgepauna/apexcharts-card/issues/24)) ([a0e4f85](a0e4f85))
* **group_by:** Add more functions and fix buckets ([c7324e0](c7324e0))
* **group_by:** Add new `diff` function ([57fd6a6](57fd6a6))
* **group_by:** With `start_with_last`, each bucket will start with the last data from the previous bucket ([8669411](8669411))
* **header:** More header options and title support ([RomRider#8](https://github.com/georgepauna/apexcharts-card/issues/8)) ([2cbd769](2cbd769)), closes [RomRider#5](https://github.com/georgepauna/apexcharts-card/issues/5)
* **header:** Standard header title home-assistant format using `standard_format` ([35c5391](35c5391)), closes [RomRider#35](https://github.com/georgepauna/apexcharts-card/issues/35)
* Initial support for aggregating data ([13dfd89](13dfd89))
* **invert:** Negates/Inverts the data for a serie ([RomRider#13](https://github.com/georgepauna/apexcharts-card/issues/13)) ([ab793c5](ab793c5))
* **locale:** Inherit locale from Home-Assistant, deprecate `hours_12` ([RomRider#70](https://github.com/georgepauna/apexcharts-card/issues/70)) ([af2d201](af2d201)), closes [RomRider#68](https://github.com/georgepauna/apexcharts-card/issues/68)
* make datagenerator async ([RomRider#157](https://github.com/georgepauna/apexcharts-card/issues/157)) ([b9049fc](b9049fc))
* Native multi y-axis support with auto-scale ([RomRider#160](https://github.com/georgepauna/apexcharts-card/issues/160)) ([e08aa14](e08aa14)), closes [RomRider#158](https://github.com/georgepauna/apexcharts-card/issues/158)
* **now:** Add a marker at the current time on the chart ([9b6b83d](9b6b83d)), closes [RomRider#44](https://github.com/georgepauna/apexcharts-card/issues/44)
* pie/donut now shows the value of the serie instead of the percentage. Old behavior with `datalabels: percent` ([7591aba](7591aba))
* Replace `hours_to_show` with `graph_span`. Takes a time string instead of a number of hours. ([e7ed408](e7ed408))
* **series.offset:** Compare data from another timeframe with the current timeframe ([RomRider#19](https://github.com/georgepauna/apexcharts-card/issues/19)) ([af8ba81](af8ba81)), closes [RomRider#18](https://github.com/georgepauna/apexcharts-card/issues/18)
* **series.show:** Display the value before/after the current time in the header ([2855403](2855403)), closes [RomRider#86](https://github.com/georgepauna/apexcharts-card/issues/86)
* **series.show:** Display your serie's extremas on the chart ([RomRider#85](https://github.com/georgepauna/apexcharts-card/issues/85)) ([f64169a](f64169a))
* **series.show:** Hide the name of a serie in the header ([b20133d](b20133d)), closes [RomRider#111](https://github.com/georgepauna/apexcharts-card/issues/111)
* **series.show:** Hide the offset from the name of the serie ([a46c3f0](a46c3f0)), closes [RomRider#112](https://github.com/georgepauna/apexcharts-card/issues/112)
* **series.show:** Option to show the raw data in the header ([RomRider#76](https://github.com/georgepauna/apexcharts-card/issues/76)) ([87b56f5](87b56f5)), closes [RomRider#69](https://github.com/georgepauna/apexcharts-card/issues/69)
* **series.show:** Show/hide dataLabels per serie ([9e28db3](9e28db3))
* **series:** `transform` the data the way you want ([RomRider#45](https://github.com/georgepauna/apexcharts-card/issues/45)) ([1cb6bb5](1cb6bb5))
* **series:** Define the `opacity` of the line or area ([8dfb3fd](8dfb3fd)), closes [RomRider#57](https://github.com/georgepauna/apexcharts-card/issues/57)
* **series:** Display values as a duration ([RomRider#21](https://github.com/georgepauna/apexcharts-card/issues/21)) ([227f0ea](227f0ea))
* **series:** Hide the value of a serie in the legend ([RomRider#22](https://github.com/georgepauna/apexcharts-card/issues/22)) ([1e8f748](1e8f748)), closes [RomRider#20](https://github.com/georgepauna/apexcharts-card/issues/20)
* **series:** New `fill_raw` option to fill missing data in raw history ([e2433b6](e2433b6))
* **series:** Retrieve an attribute of your entity instead of the state ([RomRider#32](https://github.com/georgepauna/apexcharts-card/issues/32)) ([b76bf16](b76bf16)), closes [RomRider#29](https://github.com/georgepauna/apexcharts-card/issues/29)
* **series:** Show/Hide a specific serie from the header or the graph ([RomRider#36](https://github.com/georgepauna/apexcharts-card/issues/36)) ([95c0433](95c0433))
* Show value in legend ([869a7f8](869a7f8))
* soft bounds and extended bounds for yaxis min/max ([RomRider#161](https://github.com/georgepauna/apexcharts-card/issues/161)) ([c57278b](c57278b))
* **span:** Add `end` as an option to end the graph at the end of the day, minute, etc... ([RomRider#11](https://github.com/georgepauna/apexcharts-card/issues/11)) ([1d0aca8](1d0aca8))
* **span:** Add support for `isoWeek` ([7abc750](7abc750)), closes [RomRider#106](https://github.com/georgepauna/apexcharts-card/issues/106)
* **span:** Display the graph from the start of the hour, day, month,… with an offset or not ([RomRider#10](https://github.com/georgepauna/apexcharts-card/issues/10)) ([bb6e88c](bb6e88c))
* support actions on the title with `title_actions` ([a9f406e](a9f406e)), closes [RomRider#323](https://github.com/georgepauna/apexcharts-card/issues/323)
* Support for 12-hour format ([RomRider#55](https://github.com/georgepauna/apexcharts-card/issues/55)) ([f38a18e](f38a18e)), closes [RomRider#48](https://github.com/georgepauna/apexcharts-card/issues/48) [RomRider#53](https://github.com/georgepauna/apexcharts-card/issues/53)
* Support for all ApexCharts options ([03efa8d](03efa8d))
* Support for auto-entities ([060e4c0](060e4c0))
* Support for HA long-term statistics ([RomRider#208](https://github.com/georgepauna/apexcharts-card/issues/208)) ([29aaa7c](29aaa7c)), closes [RomRider#308](https://github.com/georgepauna/apexcharts-card/issues/308)
* Support for header ([c5a8ee2](c5a8ee2))
* **transform:** Provide the full state as `entity` to the function ([RomRider#77](https://github.com/georgepauna/apexcharts-card/issues/77)) ([9919c10](9919c10)), closes [RomRider#71](https://github.com/georgepauna/apexcharts-card/issues/71)
* update from lit-html/lit-element to lit ([5a7d944](5a7d944))
* uses the time format defined in Home Assistant user profile ([78df800](78df800)), closes [RomRider#213](https://github.com/georgepauna/apexcharts-card/issues/213)
* **yaxis:** `id` and `yaxis_id` no longer needed with only 1 yaxis defined ([e5e8904](e5e8904))
* **yaxis:** Align the extremas to the closest `align_to`  value. ([a46c812](a46c812)), closes [RomRider#170](https://github.com/georgepauna/apexcharts-card/issues/170)
* **yaxis:** Set the number of decimals shown on the yaxis. Deprecate `y_axis_precision`. ([33fc474](33fc474)), closes [RomRider#164](https://github.com/georgepauna/apexcharts-card/issues/164)

### Bug Fixes

* `bar` should be `column` ([ff188ee](ff188ee))
* `group_by` was extending values into the future ([2cb79d2](2cb79d2))
* `group_by` would sometimes not work with `data_generator` ([cfa6871](cfa6871))
* `last_updated` date format was not following the configuration ([3dd4904](3dd4904))
* `update_interval` was broken ([31d2fb7](31d2fb7))
* 1st color was not using transparency ([77a9c8d](77a9c8d))
* actually really fix the issue with HA 2023.4 beta and above ([972f2c0](972f2c0)), closes [RomRider#529](https://github.com/georgepauna/apexcharts-card/issues/529)
* always get all state changes, not only significant ones ([3b2f9c8](3b2f9c8))
* annotations with time were not following the time format configuration ([5d08853](5d08853))
* another caching issue with statistics ([b93ee75](b93ee75))
* **axis:** X and Y Axis Tooltip color matches theme ([fb717ef](fb717ef))
* bug introduced by 591add ([b9c9297](b9c9297))
* **build:** Missing dependancy ([7d7d637](7d7d637))
* **build:** Remove comments from build ([268ef77](268ef77))
* caching issue for statistics ([8daff2f](8daff2f))
* card broken with HA 2023.4.0bXX and above ([e1aaf69](e1aaf69)), closes [RomRider#527](https://github.com/georgepauna/apexcharts-card/issues/527)
* Chart not displayed properly or at all with layout-card ([e5840fb](e5840fb)), closes [RomRider#121](https://github.com/georgepauna/apexcharts-card/issues/121)
* color with alpha would render area opaque ([100b6d4](100b6d4))
* color_threshold would sometimes render weirdly ([d7063a5](d7063a5)), closes [RomRider#177](https://github.com/georgepauna/apexcharts-card/issues/177)
* **color_threshold:** opacity for color_threshold ([5a325f4](5a325f4))
* **color_threshold:** Sometimes it would break the card ([65b5419](65b5419))
* **colorize_states:** Parameter was not applied ([28bb2e2](28bb2e2))
* **config_templates:** Was supposed to support a string ([f36d9b1](f36d9b1)), closes [RomRider#87](https://github.com/georgepauna/apexcharts-card/issues/87)
* **config:** `style` was not a valid config option (card-mod/picture-element) ([0a38778](0a38778)), closes [RomRider#15](https://github.com/georgepauna/apexcharts-card/issues/15)
* dataLabels would not follow `float_precision` ([cf9b63a](cf9b63a)), closes [RomRider#54](https://github.com/georgepauna/apexcharts-card/issues/54)
* **datalabels:** Truncate floats to 1 digit after the decimal point ([f5f744f](f5f744f))
* Disable support for colors with alpha channel ([RomRider#91](https://github.com/georgepauna/apexcharts-card/issues/91)) ([522363a](522363a)), closes [RomRider#90](https://github.com/georgepauna/apexcharts-card/issues/90)
* Display non inverted numbers in legend/tooltip/datalabels when `invert: true` ([331fe04](331fe04)), closes [RomRider#96](https://github.com/georgepauna/apexcharts-card/issues/96)
* Error was not displayed if duration couldn't be parsed ([2e2212f](2e2212f))
* extra space at bottom because of the card's action-handler ([533a784](533a784))
* extremas was not working with `invert: true` ([4d06ef6](4d06ef6)), closes [RomRider#96](https://github.com/georgepauna/apexcharts-card/issues/96)
* extremas would not display with offset applied on series ([4d7d77a](4d7d77a)), closes [RomRider#177](https://github.com/georgepauna/apexcharts-card/issues/177)
* **extremas:** Multi y-axis support ([RomRider#98](https://github.com/georgepauna/apexcharts-card/issues/98)) ([5c7d742](5c7d742)), closes [RomRider#89](https://github.com/georgepauna/apexcharts-card/issues/89)
* Float were not displayed in non-timeline charts ([e67d2d7](e67d2d7)), closes [RomRider#42](https://github.com/georgepauna/apexcharts-card/issues/42)
* Floats were not truncated properly for radialBar ([0c789ff](0c789ff)), closes [RomRider#174](https://github.com/georgepauna/apexcharts-card/issues/174)
* Friendly name wouldn't display anymore ([ef38724](ef38724))
* **func:** Filter `null` values in `diff` ([cfe736c](cfe736c))
* **func:** median was sometimes wrong ([c36dda7](c36dda7))
* Get rid of the initial load delay ([69f151b](69f151b))
* graph might be wrong when using `attributes` if value was 0 ([e200323](e200323))
* Graph stopped updating following ddf6ca9 ([bc54729](bc54729))
* **graph:** Loading message didn't appear ([ce3c45c](ce3c45c))
* **graph:** Not displaying the latest state in graph ([280e328](280e328))
* **group_by:** `group_by` reporting erronerous values for the first bucket of data ([8303b84](8303b84)), closes [RomRider#110](https://github.com/georgepauna/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](0163f9e))
* header units for `radialBar` ([6883a8f](6883a8f)), closes [RomRider#105](https://github.com/georgepauna/apexcharts-card/issues/105)
* **header:** Hide unit when `as_duration` is used ([5686931](5686931))
* **header:** State was sometimes multi-line ([4187104](4187104))
* **header:** Unit would sometimes be on a new line ([92fad1b](92fad1b))
* hidden by default would not work without a name ([9c75ce8](9c75ce8)), closes [RomRider#280](https://github.com/georgepauna/apexcharts-card/issues/280)
* history data could be modified in some rare cases ([d38fd6e](d38fd6e))
* Home Assistant API deprecation warning ([1449c7f](1449c7f)), closes [RomRider#417](https://github.com/georgepauna/apexcharts-card/issues/417)
* Ignore recorder when not required ([c28a7a6](c28a7a6)), closes [RomRider#169](https://github.com/georgepauna/apexcharts-card/issues/169)
* **in_header:** `after/before_now` not working with offsetted series ([960b43c](960b43c))
* last caching issue with statistics ([2e528f7](2e528f7))
* Last computed history data shouldn't be null ([ec875d5](ec875d5))
* **legend:** Change ` - ` to `: ` between name and state ([4e3cdc6](4e3cdc6))
* **legend:** undefined was displayed for a hidden serie ([352c016](352c016))
* median function fails if it receives an empty table ([RomRider#316](https://github.com/georgepauna/apexcharts-card/issues/316)) ([12f8d2e](12f8d2e))
* Name and units displayed ([fe5526b](fe5526b))
* Not releasing file ([e1dc473](e1dc473))
* Optimize `extend_to_end` when used with `group_by` ([591add8](591add8))
* **series.offset:** Fix bug introduced by [RomRider#19](https://github.com/georgepauna/apexcharts-card/issues/19) ([f5c0d57](f5c0d57)), closes [RomRider#18](https://github.com/georgepauna/apexcharts-card/issues/18)
* Sometimes card would stay in warning mode ([ddf6ca9](ddf6ca9))
* Sometimes the graph was empty when changing tabs ([9232044](9232044))
* **start_with_last:** `start_with_last` would sometimes throw ([f5aa2e3](f5aa2e3))
* **style:** Better default styling of toolbar ([4d0ef1c](4d0ef1c)), closes [RomRider#16](https://github.com/georgepauna/apexcharts-card/issues/16)
* Support for `rgba` colors ([7ecfafd](7ecfafd))
* Support for card-mod >= 3.0 ([8348119](8348119)), closes [RomRider#104](https://github.com/georgepauna/apexcharts-card/issues/104)
* Support for custom views config parameters (`view_layout`) ([76a8023](76a8023))
* Support for fire-dom-event with browser-mod ([3dc9625](3dc9625)), closes [RomRider#196](https://github.com/georgepauna/apexcharts-card/issues/196)
* the hass object could sometimes be null ([ff27baf](ff27baf)), closes [RomRider#191](https://github.com/georgepauna/apexcharts-card/issues/191)
* Tooltip should not be in a fixed position ([1762049](1762049))
* **tooltip:** Use colors from the theme ([5c263f1](5c263f1))
* **tooltip:** Values where following the selected point ([0145ca2](0145ca2))
* truncate floats in total datalabels ([917a20a](917a20a)), closes [RomRider#73](https://github.com/georgepauna/apexcharts-card/issues/73)
* Update apexcharts.js to the the latest version ([dd0bf6f](dd0bf6f))
* When recorder was skipped, attributes were ignored ([15e5372](15e5372))
* Wrong labels in tooltip in some cases ([8f0aca1](8f0aca1))
* **xasis:** Better handling of graph end time if everything is `column` and `group_by` is enabled ([b5b85a6](b5b85a6))
* yaxis would always start at 0 ([50ef9e4](50ef9e4)), closes [RomRider#158](https://github.com/georgepauna/apexcharts-card/issues/158)
* **yaxis:** apex_config.yaxis was not taken into account properly ([ce04230](ce04230))
* **yaxis:** auto scale was not taking the serie's offset into account ([f82f7e0](f82f7e0)), closes [RomRider#172](https://github.com/georgepauna/apexcharts-card/issues/172)
* **yaxis:** Fixed + unfixed bounds on the same yaxis is now working ([f7e4668](f7e4668))

### Documentation

* `align_to` description update ([4471469](4471469))
* Add an example to change the line thickness ([fd4a495](fd4a495))
* Add examples and fix documentation ([c71b76a](c71b76a))
* Add more example ([ffaa5df](ffaa5df))
* Better info about month and year as offset units ([c194f87](c194f87)), closes [RomRider#65](https://github.com/georgepauna/apexcharts-card/issues/65)
* Card is now available in HACS by default ([1200abd](1200abd))
* **config_templates:** Fix wrong config example ([ea1fef4](ea1fef4))
* Fix ApexCharts link ([9394dee](9394dee))
* Fix error `data_generator` example ([6d1c7a0](6d1c7a0)), closes [RomRider#34](https://github.com/georgepauna/apexcharts-card/issues/34)
* Fix HACS doc (not yet available by default) ([53fece2](53fece2))
* fix some README glitches ([3dd8b48](3dd8b48))
* Fix some typos ([3df6aed](3df6aed))
* Fix typo in doc ([89ed3c5](89ed3c5))
* Fix typos and broken links ([7789b8f](7789b8f))
* Initial README release ([7a87694](7a87694))
* Missing `title` documentation in the header section ([ff7f35b](ff7f35b))
* Missing doc for `last_updated` ([93ae54a](93ae54a))
* Missing link to the `now` section ([9747257](9747257))
* Update README.md ([b9d49ab](b9d49ab))
github-actions bot pushed a commit to georgepauna/apexcharts-card that referenced this issue May 14, 2024
## 1.0.0 (2024-05-14)

### ⚠ BREAKING CHANGES

* `extend_to_end` has been removed and replaced by `extend_to` with support for `now` and `end`.
* Replace `hours_to_show` with `graph_span`. Takes a time string instead of a number of hours.

### Features

* `extend_to` replaces `extend_to_end` with new options ([4bb1dd2](4bb1dd2)), closes [RomRider#318](https://github.com/georgepauna/apexcharts-card/issues/318)
* **actions:** `header_actions` support for actions in header ([RomRider#171](https://github.com/georgepauna/apexcharts-card/issues/171)) ([bd6a497](bd6a497)), closes [RomRider#61](https://github.com/georgepauna/apexcharts-card/issues/61)
* Add `update_interval` config option ([357db9a](357db9a)), closes [RomRider#2](https://github.com/georgepauna/apexcharts-card/issues/2)
* Add delta and median function ([4a77e55](4a77e55))
* Add spinner while data is loading ([39d4b8e](39d4b8e))
* add state type to long term statistics ([RomRider#329](https://github.com/georgepauna/apexcharts-card/issues/329)) ([3fad4f0](3fad4f0))
* add stroke_width and experimental color_threshold/disable_config_validation ([fcdfa88](fcdfa88)), closes [RomRider#58](https://github.com/georgepauna/apexcharts-card/issues/58)
* **apex_config:** Support for functions in `apex_config` ([cebc03b](cebc03b)), closes [RomRider#81](https://github.com/georgepauna/apexcharts-card/issues/81)
* Apply a `time_delta` to all the datapoints of your serie ([435e381](435e381)), closes [RomRider#277](https://github.com/georgepauna/apexcharts-card/issues/277)
* Better cache handling ([RomRider#1](https://github.com/georgepauna/apexcharts-card/issues/1)) ([804415f](804415f))
* Bring back `hours_12` from the dead ([676bdb7](676bdb7))
* **brush:** Support for a timeframe selection chart ([RomRider#102](https://github.com/georgepauna/apexcharts-card/issues/102)) ([c8dedf7](c8dedf7))
* **cache:** Invalidate cache on every new card version ([RomRider#12](https://github.com/georgepauna/apexcharts-card/issues/12)) ([b1799d9](b1799d9))
* **card:** Support for pre-defined layouts ([c5987f8](c5987f8))
* **color:** Define your own `color` option for each `serie` ([RomRider#7](https://github.com/georgepauna/apexcharts-card/issues/7)) ([3a15db2](3a15db2)), closes [RomRider#4](https://github.com/georgepauna/apexcharts-card/issues/4)
* **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 ([RomRider#64](https://github.com/georgepauna/apexcharts-card/issues/64)) ([17004a3](17004a3))
* **data_generator:** Build your own data based on the last state and attributes of your entity ([RomRider#14](https://github.com/georgepauna/apexcharts-card/issues/14)) ([18284b5](18284b5)), closes [RomRider#6](https://github.com/georgepauna/apexcharts-card/issues/6)
* **datalabels:** Option to display total when chart is stacked ([RomRider#75](https://github.com/georgepauna/apexcharts-card/issues/75)) ([e1c5b01](e1c5b01)), closes [RomRider#73](https://github.com/georgepauna/apexcharts-card/issues/73)
* Define your own float precision for legend, tooltip and Y axis ([7b0f30f](7b0f30f))
* display only the min or max extrema ([3db982b](3db982b)), closes [RomRider#319](https://github.com/georgepauna/apexcharts-card/issues/319)
* display the chart's last update time using `last_updated` ([2dd84ff](2dd84ff))
* Display warning if sensor doesn't exist ([a69df3d](a69df3d))
* **editor:** Preview in the GUI card selector ([d4cd7a3](d4cd7a3))
* **experimental:** `hidden_by_default` to toggle series on load ([RomRider#62](https://github.com/georgepauna/apexcharts-card/issues/62)) ([63717b7](63717b7)), closes [RomRider#60](https://github.com/georgepauna/apexcharts-card/issues/60)
* **experimental:** Header color can now follow `color_threshold` ([RomRider#88](https://github.com/georgepauna/apexcharts-card/issues/88)) ([074bfc3](074bfc3)), closes [RomRider#78](https://github.com/georgepauna/apexcharts-card/issues/78)
* **extremas:** Display the time on top of your extremas ([RomRider#97](https://github.com/georgepauna/apexcharts-card/issues/97)) ([d127b37](d127b37))
* Floating header ([1eccee8](1eccee8))
* follow Home Assistant number format ([9204de2](9204de2)), closes [RomRider#307](https://github.com/georgepauna/apexcharts-card/issues/307)
* **graph:** Extends graph's last value to the current time ([bfe64c5](bfe64c5))
* **graph:** New chart types `scatter`, `donut`, `pie` and `radialBar` ([RomRider#24](https://github.com/georgepauna/apexcharts-card/issues/24)) ([a0e4f85](a0e4f85))
* **group_by:** Add more functions and fix buckets ([c7324e0](c7324e0))
* **group_by:** Add new `diff` function ([57fd6a6](57fd6a6))
* **group_by:** With `start_with_last`, each bucket will start with the last data from the previous bucket ([8669411](8669411))
* **header:** More header options and title support ([RomRider#8](https://github.com/georgepauna/apexcharts-card/issues/8)) ([2cbd769](2cbd769)), closes [RomRider#5](https://github.com/georgepauna/apexcharts-card/issues/5)
* **header:** Standard header title home-assistant format using `standard_format` ([35c5391](35c5391)), closes [RomRider#35](https://github.com/georgepauna/apexcharts-card/issues/35)
* Initial support for aggregating data ([13dfd89](13dfd89))
* **invert:** Negates/Inverts the data for a serie ([RomRider#13](https://github.com/georgepauna/apexcharts-card/issues/13)) ([ab793c5](ab793c5))
* **locale:** Inherit locale from Home-Assistant, deprecate `hours_12` ([RomRider#70](https://github.com/georgepauna/apexcharts-card/issues/70)) ([af2d201](af2d201)), closes [RomRider#68](https://github.com/georgepauna/apexcharts-card/issues/68)
* make datagenerator async ([RomRider#157](https://github.com/georgepauna/apexcharts-card/issues/157)) ([b9049fc](b9049fc))
* Native multi y-axis support with auto-scale ([RomRider#160](https://github.com/georgepauna/apexcharts-card/issues/160)) ([e08aa14](e08aa14)), closes [RomRider#158](https://github.com/georgepauna/apexcharts-card/issues/158)
* **now:** Add a marker at the current time on the chart ([9b6b83d](9b6b83d)), closes [RomRider#44](https://github.com/georgepauna/apexcharts-card/issues/44)
* pie/donut now shows the value of the serie instead of the percentage. Old behavior with `datalabels: percent` ([7591aba](7591aba))
* Replace `hours_to_show` with `graph_span`. Takes a time string instead of a number of hours. ([e7ed408](e7ed408))
* **series.offset:** Compare data from another timeframe with the current timeframe ([RomRider#19](https://github.com/georgepauna/apexcharts-card/issues/19)) ([af8ba81](af8ba81)), closes [RomRider#18](https://github.com/georgepauna/apexcharts-card/issues/18)
* **series.show:** Display the value before/after the current time in the header ([2855403](2855403)), closes [RomRider#86](https://github.com/georgepauna/apexcharts-card/issues/86)
* **series.show:** Display your serie's extremas on the chart ([RomRider#85](https://github.com/georgepauna/apexcharts-card/issues/85)) ([f64169a](f64169a))
* **series.show:** Hide the name of a serie in the header ([b20133d](b20133d)), closes [RomRider#111](https://github.com/georgepauna/apexcharts-card/issues/111)
* **series.show:** Hide the offset from the name of the serie ([a46c3f0](a46c3f0)), closes [RomRider#112](https://github.com/georgepauna/apexcharts-card/issues/112)
* **series.show:** Option to show the raw data in the header ([RomRider#76](https://github.com/georgepauna/apexcharts-card/issues/76)) ([87b56f5](87b56f5)), closes [RomRider#69](https://github.com/georgepauna/apexcharts-card/issues/69)
* **series.show:** Show/hide dataLabels per serie ([9e28db3](9e28db3))
* **series:** `transform` the data the way you want ([RomRider#45](https://github.com/georgepauna/apexcharts-card/issues/45)) ([1cb6bb5](1cb6bb5))
* **series:** Define the `opacity` of the line or area ([8dfb3fd](8dfb3fd)), closes [RomRider#57](https://github.com/georgepauna/apexcharts-card/issues/57)
* **series:** Display values as a duration ([RomRider#21](https://github.com/georgepauna/apexcharts-card/issues/21)) ([227f0ea](227f0ea))
* **series:** Hide the value of a serie in the legend ([RomRider#22](https://github.com/georgepauna/apexcharts-card/issues/22)) ([1e8f748](1e8f748)), closes [RomRider#20](https://github.com/georgepauna/apexcharts-card/issues/20)
* **series:** New `fill_raw` option to fill missing data in raw history ([e2433b6](e2433b6))
* **series:** Retrieve an attribute of your entity instead of the state ([RomRider#32](https://github.com/georgepauna/apexcharts-card/issues/32)) ([b76bf16](b76bf16)), closes [RomRider#29](https://github.com/georgepauna/apexcharts-card/issues/29)
* **series:** Show/Hide a specific serie from the header or the graph ([RomRider#36](https://github.com/georgepauna/apexcharts-card/issues/36)) ([95c0433](95c0433))
* Show value in legend ([869a7f8](869a7f8))
* soft bounds and extended bounds for yaxis min/max ([RomRider#161](https://github.com/georgepauna/apexcharts-card/issues/161)) ([c57278b](c57278b))
* **span:** Add `end` as an option to end the graph at the end of the day, minute, etc... ([RomRider#11](https://github.com/georgepauna/apexcharts-card/issues/11)) ([1d0aca8](1d0aca8))
* **span:** Add support for `isoWeek` ([7abc750](7abc750)), closes [RomRider#106](https://github.com/georgepauna/apexcharts-card/issues/106)
* **span:** Display the graph from the start of the hour, day, month,… with an offset or not ([RomRider#10](https://github.com/georgepauna/apexcharts-card/issues/10)) ([bb6e88c](bb6e88c))
* support actions on the title with `title_actions` ([a9f406e](a9f406e)), closes [RomRider#323](https://github.com/georgepauna/apexcharts-card/issues/323)
* Support for 12-hour format ([RomRider#55](https://github.com/georgepauna/apexcharts-card/issues/55)) ([f38a18e](f38a18e)), closes [RomRider#48](https://github.com/georgepauna/apexcharts-card/issues/48) [RomRider#53](https://github.com/georgepauna/apexcharts-card/issues/53)
* Support for all ApexCharts options ([03efa8d](03efa8d))
* Support for auto-entities ([060e4c0](060e4c0))
* Support for HA long-term statistics ([RomRider#208](https://github.com/georgepauna/apexcharts-card/issues/208)) ([29aaa7c](29aaa7c)), closes [RomRider#308](https://github.com/georgepauna/apexcharts-card/issues/308)
* Support for header ([c5a8ee2](c5a8ee2))
* **transform:** Provide the full state as `entity` to the function ([RomRider#77](https://github.com/georgepauna/apexcharts-card/issues/77)) ([9919c10](9919c10)), closes [RomRider#71](https://github.com/georgepauna/apexcharts-card/issues/71)
* update from lit-html/lit-element to lit ([5a7d944](5a7d944))
* uses the time format defined in Home Assistant user profile ([78df800](78df800)), closes [RomRider#213](https://github.com/georgepauna/apexcharts-card/issues/213)
* **yaxis:** `id` and `yaxis_id` no longer needed with only 1 yaxis defined ([e5e8904](e5e8904))
* **yaxis:** Align the extremas to the closest `align_to`  value. ([a46c812](a46c812)), closes [RomRider#170](https://github.com/georgepauna/apexcharts-card/issues/170)
* **yaxis:** Set the number of decimals shown on the yaxis. Deprecate `y_axis_precision`. ([33fc474](33fc474)), closes [RomRider#164](https://github.com/georgepauna/apexcharts-card/issues/164)

### Bug Fixes

* `bar` should be `column` ([ff188ee](ff188ee))
* `group_by` was extending values into the future ([2cb79d2](2cb79d2))
* `group_by` would sometimes not work with `data_generator` ([cfa6871](cfa6871))
* `last_updated` date format was not following the configuration ([3dd4904](3dd4904))
* `update_interval` was broken ([31d2fb7](31d2fb7))
* 1st color was not using transparency ([77a9c8d](77a9c8d))
* actually really fix the issue with HA 2023.4 beta and above ([972f2c0](972f2c0)), closes [RomRider#529](https://github.com/georgepauna/apexcharts-card/issues/529)
* always get all state changes, not only significant ones ([3b2f9c8](3b2f9c8))
* annotations with time were not following the time format configuration ([5d08853](5d08853))
* another caching issue with statistics ([b93ee75](b93ee75))
* **axis:** X and Y Axis Tooltip color matches theme ([fb717ef](fb717ef))
* bug introduced by 591add ([b9c9297](b9c9297))
* **build:** Missing dependancy ([7d7d637](7d7d637))
* **build:** Remove comments from build ([268ef77](268ef77))
* caching issue for statistics ([8daff2f](8daff2f))
* card broken with HA 2023.4.0bXX and above ([e1aaf69](e1aaf69)), closes [RomRider#527](https://github.com/georgepauna/apexcharts-card/issues/527)
* Chart not displayed properly or at all with layout-card ([e5840fb](e5840fb)), closes [RomRider#121](https://github.com/georgepauna/apexcharts-card/issues/121)
* color with alpha would render area opaque ([100b6d4](100b6d4))
* color_threshold would sometimes render weirdly ([d7063a5](d7063a5)), closes [RomRider#177](https://github.com/georgepauna/apexcharts-card/issues/177)
* **color_threshold:** opacity for color_threshold ([5a325f4](5a325f4))
* **color_threshold:** Sometimes it would break the card ([65b5419](65b5419))
* **colorize_states:** Parameter was not applied ([28bb2e2](28bb2e2))
* **config_templates:** Was supposed to support a string ([f36d9b1](f36d9b1)), closes [RomRider#87](https://github.com/georgepauna/apexcharts-card/issues/87)
* **config:** `style` was not a valid config option (card-mod/picture-element) ([0a38778](0a38778)), closes [RomRider#15](https://github.com/georgepauna/apexcharts-card/issues/15)
* dataLabels would not follow `float_precision` ([cf9b63a](cf9b63a)), closes [RomRider#54](https://github.com/georgepauna/apexcharts-card/issues/54)
* **datalabels:** Truncate floats to 1 digit after the decimal point ([f5f744f](f5f744f))
* Disable support for colors with alpha channel ([RomRider#91](https://github.com/georgepauna/apexcharts-card/issues/91)) ([522363a](522363a)), closes [RomRider#90](https://github.com/georgepauna/apexcharts-card/issues/90)
* Display non inverted numbers in legend/tooltip/datalabels when `invert: true` ([331fe04](331fe04)), closes [RomRider#96](https://github.com/georgepauna/apexcharts-card/issues/96)
* Error was not displayed if duration couldn't be parsed ([2e2212f](2e2212f))
* extra space at bottom because of the card's action-handler ([533a784](533a784))
* extremas was not working with `invert: true` ([4d06ef6](4d06ef6)), closes [RomRider#96](https://github.com/georgepauna/apexcharts-card/issues/96)
* extremas would not display with offset applied on series ([4d7d77a](4d7d77a)), closes [RomRider#177](https://github.com/georgepauna/apexcharts-card/issues/177)
* **extremas:** Multi y-axis support ([RomRider#98](https://github.com/georgepauna/apexcharts-card/issues/98)) ([5c7d742](5c7d742)), closes [RomRider#89](https://github.com/georgepauna/apexcharts-card/issues/89)
* Float were not displayed in non-timeline charts ([e67d2d7](e67d2d7)), closes [RomRider#42](https://github.com/georgepauna/apexcharts-card/issues/42)
* Floats were not truncated properly for radialBar ([0c789ff](0c789ff)), closes [RomRider#174](https://github.com/georgepauna/apexcharts-card/issues/174)
* Friendly name wouldn't display anymore ([ef38724](ef38724))
* **func:** Filter `null` values in `diff` ([cfe736c](cfe736c))
* **func:** median was sometimes wrong ([c36dda7](c36dda7))
* Get rid of the initial load delay ([69f151b](69f151b))
* graph might be wrong when using `attributes` if value was 0 ([e200323](e200323))
* Graph stopped updating following ddf6ca9 ([bc54729](bc54729))
* **graph:** Loading message didn't appear ([ce3c45c](ce3c45c))
* **graph:** Not displaying the latest state in graph ([280e328](280e328))
* **group_by:** `group_by` reporting erronerous values for the first bucket of data ([8303b84](8303b84)), closes [RomRider#110](https://github.com/georgepauna/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](0163f9e))
* header units for `radialBar` ([6883a8f](6883a8f)), closes [RomRider#105](https://github.com/georgepauna/apexcharts-card/issues/105)
* **header:** Hide unit when `as_duration` is used ([5686931](5686931))
* **header:** State was sometimes multi-line ([4187104](4187104))
* **header:** Unit would sometimes be on a new line ([92fad1b](92fad1b))
* hidden by default would not work without a name ([9c75ce8](9c75ce8)), closes [RomRider#280](https://github.com/georgepauna/apexcharts-card/issues/280)
* history data could be modified in some rare cases ([d38fd6e](d38fd6e))
* Home Assistant API deprecation warning ([1449c7f](1449c7f)), closes [RomRider#417](https://github.com/georgepauna/apexcharts-card/issues/417)
* Ignore recorder when not required ([c28a7a6](c28a7a6)), closes [RomRider#169](https://github.com/georgepauna/apexcharts-card/issues/169)
* **in_header:** `after/before_now` not working with offsetted series ([960b43c](960b43c))
* last caching issue with statistics ([2e528f7](2e528f7))
* Last computed history data shouldn't be null ([ec875d5](ec875d5))
* **legend:** Change ` - ` to `: ` between name and state ([4e3cdc6](4e3cdc6))
* **legend:** undefined was displayed for a hidden serie ([352c016](352c016))
* median function fails if it receives an empty table ([RomRider#316](https://github.com/georgepauna/apexcharts-card/issues/316)) ([12f8d2e](12f8d2e))
* Name and units displayed ([fe5526b](fe5526b))
* Not releasing file ([e1dc473](e1dc473))
* Optimize `extend_to_end` when used with `group_by` ([591add8](591add8))
* **series.offset:** Fix bug introduced by [RomRider#19](https://github.com/georgepauna/apexcharts-card/issues/19) ([f5c0d57](f5c0d57)), closes [RomRider#18](https://github.com/georgepauna/apexcharts-card/issues/18)
* Sometimes card would stay in warning mode ([ddf6ca9](ddf6ca9))
* Sometimes the graph was empty when changing tabs ([9232044](9232044))
* **start_with_last:** `start_with_last` would sometimes throw ([f5aa2e3](f5aa2e3))
* **style:** Better default styling of toolbar ([4d0ef1c](4d0ef1c)), closes [RomRider#16](https://github.com/georgepauna/apexcharts-card/issues/16)
* Support for `rgba` colors ([7ecfafd](7ecfafd))
* Support for card-mod >= 3.0 ([8348119](8348119)), closes [RomRider#104](https://github.com/georgepauna/apexcharts-card/issues/104)
* Support for custom views config parameters (`view_layout`) ([76a8023](76a8023))
* Support for fire-dom-event with browser-mod ([3dc9625](3dc9625)), closes [RomRider#196](https://github.com/georgepauna/apexcharts-card/issues/196)
* the hass object could sometimes be null ([ff27baf](ff27baf)), closes [RomRider#191](https://github.com/georgepauna/apexcharts-card/issues/191)
* Tooltip should not be in a fixed position ([1762049](1762049))
* **tooltip:** Use colors from the theme ([5c263f1](5c263f1))
* **tooltip:** Values where following the selected point ([0145ca2](0145ca2))
* truncate floats in total datalabels ([917a20a](917a20a)), closes [RomRider#73](https://github.com/georgepauna/apexcharts-card/issues/73)
* Update apexcharts.js to the the latest version ([dd0bf6f](dd0bf6f))
* When recorder was skipped, attributes were ignored ([15e5372](15e5372))
* Wrong labels in tooltip in some cases ([8f0aca1](8f0aca1))
* **xasis:** Better handling of graph end time if everything is `column` and `group_by` is enabled ([b5b85a6](b5b85a6))
* yaxis would always start at 0 ([50ef9e4](50ef9e4)), closes [RomRider#158](https://github.com/georgepauna/apexcharts-card/issues/158)
* **yaxis:** apex_config.yaxis was not taken into account properly ([ce04230](ce04230))
* **yaxis:** auto scale was not taking the serie's offset into account ([f82f7e0](f82f7e0)), closes [RomRider#172](https://github.com/georgepauna/apexcharts-card/issues/172)
* **yaxis:** Fixed + unfixed bounds on the same yaxis is now working ([f7e4668](f7e4668))

### Documentation

* `align_to` description update ([4471469](4471469))
* Add an example to change the line thickness ([fd4a495](fd4a495))
* Add examples and fix documentation ([c71b76a](c71b76a))
* Add more example ([ffaa5df](ffaa5df))
* Better info about month and year as offset units ([c194f87](c194f87)), closes [RomRider#65](https://github.com/georgepauna/apexcharts-card/issues/65)
* Card is now available in HACS by default ([1200abd](1200abd))
* **config_templates:** Fix wrong config example ([ea1fef4](ea1fef4))
* Fix ApexCharts link ([9394dee](9394dee))
* Fix error `data_generator` example ([6d1c7a0](6d1c7a0)), closes [RomRider#34](https://github.com/georgepauna/apexcharts-card/issues/34)
* Fix HACS doc (not yet available by default) ([53fece2](53fece2))
* fix some README glitches ([3dd8b48](3dd8b48))
* Fix some typos ([3df6aed](3df6aed))
* Fix typo in doc ([89ed3c5](89ed3c5))
* Fix typos and broken links ([7789b8f](7789b8f))
* Initial README release ([7a87694](7a87694))
* Missing `title` documentation in the header section ([ff7f35b](ff7f35b))
* Missing doc for `last_updated` ([93ae54a](93ae54a))
* Missing link to the `now` section ([9747257](9747257))
* Update README.md ([b9d49ab](b9d49ab))
github-actions bot pushed a commit to georgepauna/apexcharts-card that referenced this issue May 15, 2024
## 1.0.0 (2024-05-15)

### ⚠ BREAKING CHANGES

* `extend_to_end` has been removed and replaced by `extend_to` with support for `now` and `end`.
* Replace `hours_to_show` with `graph_span`. Takes a time string instead of a number of hours.

### Features

* `extend_to` replaces `extend_to_end` with new options ([4bb1dd2](4bb1dd2)), closes [RomRider#318](https://github.com/georgepauna/apexcharts-card/issues/318)
* **actions:** `header_actions` support for actions in header ([RomRider#171](https://github.com/georgepauna/apexcharts-card/issues/171)) ([bd6a497](bd6a497)), closes [RomRider#61](https://github.com/georgepauna/apexcharts-card/issues/61)
* Add `update_interval` config option ([357db9a](357db9a)), closes [RomRider#2](https://github.com/georgepauna/apexcharts-card/issues/2)
* Add delta and median function ([4a77e55](4a77e55))
* Add spinner while data is loading ([39d4b8e](39d4b8e))
* add state type to long term statistics ([RomRider#329](https://github.com/georgepauna/apexcharts-card/issues/329)) ([3fad4f0](3fad4f0))
* add stroke_width and experimental color_threshold/disable_config_validation ([fcdfa88](fcdfa88)), closes [RomRider#58](https://github.com/georgepauna/apexcharts-card/issues/58)
* **apex_config:** Support for functions in `apex_config` ([cebc03b](cebc03b)), closes [RomRider#81](https://github.com/georgepauna/apexcharts-card/issues/81)
* Apply a `time_delta` to all the datapoints of your serie ([435e381](435e381)), closes [RomRider#277](https://github.com/georgepauna/apexcharts-card/issues/277)
* Better cache handling ([RomRider#1](https://github.com/georgepauna/apexcharts-card/issues/1)) ([804415f](804415f))
* Bring back `hours_12` from the dead ([676bdb7](676bdb7))
* **brush:** Support for a timeframe selection chart ([RomRider#102](https://github.com/georgepauna/apexcharts-card/issues/102)) ([c8dedf7](c8dedf7))
* **cache:** Invalidate cache on every new card version ([RomRider#12](https://github.com/georgepauna/apexcharts-card/issues/12)) ([b1799d9](b1799d9))
* **card:** Support for pre-defined layouts ([c5987f8](c5987f8))
* **color:** Define your own `color` option for each `serie` ([RomRider#7](https://github.com/georgepauna/apexcharts-card/issues/7)) ([3a15db2](3a15db2)), closes [RomRider#4](https://github.com/georgepauna/apexcharts-card/issues/4)
* **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 ([RomRider#64](https://github.com/georgepauna/apexcharts-card/issues/64)) ([17004a3](17004a3))
* **data_generator:** Build your own data based on the last state and attributes of your entity ([RomRider#14](https://github.com/georgepauna/apexcharts-card/issues/14)) ([18284b5](18284b5)), closes [RomRider#6](https://github.com/georgepauna/apexcharts-card/issues/6)
* **datalabels:** Option to display total when chart is stacked ([RomRider#75](https://github.com/georgepauna/apexcharts-card/issues/75)) ([e1c5b01](e1c5b01)), closes [RomRider#73](https://github.com/georgepauna/apexcharts-card/issues/73)
* Define your own float precision for legend, tooltip and Y axis ([7b0f30f](7b0f30f))
* display only the min or max extrema ([3db982b](3db982b)), closes [RomRider#319](https://github.com/georgepauna/apexcharts-card/issues/319)
* display the chart's last update time using `last_updated` ([2dd84ff](2dd84ff))
* Display warning if sensor doesn't exist ([a69df3d](a69df3d))
* **editor:** Preview in the GUI card selector ([d4cd7a3](d4cd7a3))
* **experimental:** `hidden_by_default` to toggle series on load ([RomRider#62](https://github.com/georgepauna/apexcharts-card/issues/62)) ([63717b7](63717b7)), closes [RomRider#60](https://github.com/georgepauna/apexcharts-card/issues/60)
* **experimental:** Header color can now follow `color_threshold` ([RomRider#88](https://github.com/georgepauna/apexcharts-card/issues/88)) ([074bfc3](074bfc3)), closes [RomRider#78](https://github.com/georgepauna/apexcharts-card/issues/78)
* **extremas:** Display the time on top of your extremas ([RomRider#97](https://github.com/georgepauna/apexcharts-card/issues/97)) ([d127b37](d127b37))
* Floating header ([1eccee8](1eccee8))
* follow Home Assistant number format ([9204de2](9204de2)), closes [RomRider#307](https://github.com/georgepauna/apexcharts-card/issues/307)
* **graph:** Extends graph's last value to the current time ([bfe64c5](bfe64c5))
* **graph:** New chart types `scatter`, `donut`, `pie` and `radialBar` ([RomRider#24](https://github.com/georgepauna/apexcharts-card/issues/24)) ([a0e4f85](a0e4f85))
* **group_by:** Add more functions and fix buckets ([c7324e0](c7324e0))
* **group_by:** Add new `diff` function ([57fd6a6](57fd6a6))
* **group_by:** With `start_with_last`, each bucket will start with the last data from the previous bucket ([8669411](8669411))
* **header:** More header options and title support ([RomRider#8](https://github.com/georgepauna/apexcharts-card/issues/8)) ([2cbd769](2cbd769)), closes [RomRider#5](https://github.com/georgepauna/apexcharts-card/issues/5)
* **header:** Standard header title home-assistant format using `standard_format` ([35c5391](35c5391)), closes [RomRider#35](https://github.com/georgepauna/apexcharts-card/issues/35)
* Initial support for aggregating data ([13dfd89](13dfd89))
* **invert:** Negates/Inverts the data for a serie ([RomRider#13](https://github.com/georgepauna/apexcharts-card/issues/13)) ([ab793c5](ab793c5))
* **locale:** Inherit locale from Home-Assistant, deprecate `hours_12` ([RomRider#70](https://github.com/georgepauna/apexcharts-card/issues/70)) ([af2d201](af2d201)), closes [RomRider#68](https://github.com/georgepauna/apexcharts-card/issues/68)
* make datagenerator async ([RomRider#157](https://github.com/georgepauna/apexcharts-card/issues/157)) ([b9049fc](b9049fc))
* Native multi y-axis support with auto-scale ([RomRider#160](https://github.com/georgepauna/apexcharts-card/issues/160)) ([e08aa14](e08aa14)), closes [RomRider#158](https://github.com/georgepauna/apexcharts-card/issues/158)
* **now:** Add a marker at the current time on the chart ([9b6b83d](9b6b83d)), closes [RomRider#44](https://github.com/georgepauna/apexcharts-card/issues/44)
* pie/donut now shows the value of the serie instead of the percentage. Old behavior with `datalabels: percent` ([7591aba](7591aba))
* Replace `hours_to_show` with `graph_span`. Takes a time string instead of a number of hours. ([e7ed408](e7ed408))
* **series.offset:** Compare data from another timeframe with the current timeframe ([RomRider#19](https://github.com/georgepauna/apexcharts-card/issues/19)) ([af8ba81](af8ba81)), closes [RomRider#18](https://github.com/georgepauna/apexcharts-card/issues/18)
* **series.show:** Display the value before/after the current time in the header ([2855403](2855403)), closes [RomRider#86](https://github.com/georgepauna/apexcharts-card/issues/86)
* **series.show:** Display your serie's extremas on the chart ([RomRider#85](https://github.com/georgepauna/apexcharts-card/issues/85)) ([f64169a](f64169a))
* **series.show:** Hide the name of a serie in the header ([b20133d](b20133d)), closes [RomRider#111](https://github.com/georgepauna/apexcharts-card/issues/111)
* **series.show:** Hide the offset from the name of the serie ([a46c3f0](a46c3f0)), closes [RomRider#112](https://github.com/georgepauna/apexcharts-card/issues/112)
* **series.show:** Option to show the raw data in the header ([RomRider#76](https://github.com/georgepauna/apexcharts-card/issues/76)) ([87b56f5](87b56f5)), closes [RomRider#69](https://github.com/georgepauna/apexcharts-card/issues/69)
* **series.show:** Show/hide dataLabels per serie ([9e28db3](9e28db3))
* **series:** `transform` the data the way you want ([RomRider#45](https://github.com/georgepauna/apexcharts-card/issues/45)) ([1cb6bb5](1cb6bb5))
* **series:** Define the `opacity` of the line or area ([8dfb3fd](8dfb3fd)), closes [RomRider#57](https://github.com/georgepauna/apexcharts-card/issues/57)
* **series:** Display values as a duration ([RomRider#21](https://github.com/georgepauna/apexcharts-card/issues/21)) ([227f0ea](227f0ea))
* **series:** Hide the value of a serie in the legend ([RomRider#22](https://github.com/georgepauna/apexcharts-card/issues/22)) ([1e8f748](1e8f748)), closes [RomRider#20](https://github.com/georgepauna/apexcharts-card/issues/20)
* **series:** New `fill_raw` option to fill missing data in raw history ([e2433b6](e2433b6))
* **series:** Retrieve an attribute of your entity instead of the state ([RomRider#32](https://github.com/georgepauna/apexcharts-card/issues/32)) ([b76bf16](b76bf16)), closes [RomRider#29](https://github.com/georgepauna/apexcharts-card/issues/29)
* **series:** Show/Hide a specific serie from the header or the graph ([RomRider#36](https://github.com/georgepauna/apexcharts-card/issues/36)) ([95c0433](95c0433))
* Show value in legend ([869a7f8](869a7f8))
* soft bounds and extended bounds for yaxis min/max ([RomRider#161](https://github.com/georgepauna/apexcharts-card/issues/161)) ([c57278b](c57278b))
* **span:** Add `end` as an option to end the graph at the end of the day, minute, etc... ([RomRider#11](https://github.com/georgepauna/apexcharts-card/issues/11)) ([1d0aca8](1d0aca8))
* **span:** Add support for `isoWeek` ([7abc750](7abc750)), closes [RomRider#106](https://github.com/georgepauna/apexcharts-card/issues/106)
* **span:** Display the graph from the start of the hour, day, month,… with an offset or not ([RomRider#10](https://github.com/georgepauna/apexcharts-card/issues/10)) ([bb6e88c](bb6e88c))
* support actions on the title with `title_actions` ([a9f406e](a9f406e)), closes [RomRider#323](https://github.com/georgepauna/apexcharts-card/issues/323)
* Support for 12-hour format ([RomRider#55](https://github.com/georgepauna/apexcharts-card/issues/55)) ([f38a18e](f38a18e)), closes [RomRider#48](https://github.com/georgepauna/apexcharts-card/issues/48) [RomRider#53](https://github.com/georgepauna/apexcharts-card/issues/53)
* Support for all ApexCharts options ([03efa8d](03efa8d))
* Support for auto-entities ([060e4c0](060e4c0))
* Support for HA long-term statistics ([RomRider#208](https://github.com/georgepauna/apexcharts-card/issues/208)) ([29aaa7c](29aaa7c)), closes [RomRider#308](https://github.com/georgepauna/apexcharts-card/issues/308)
* Support for header ([c5a8ee2](c5a8ee2))
* **transform:** Provide the full state as `entity` to the function ([RomRider#77](https://github.com/georgepauna/apexcharts-card/issues/77)) ([9919c10](9919c10)), closes [RomRider#71](https://github.com/georgepauna/apexcharts-card/issues/71)
* update from lit-html/lit-element to lit ([5a7d944](5a7d944))
* uses the time format defined in Home Assistant user profile ([78df800](78df800)), closes [RomRider#213](https://github.com/georgepauna/apexcharts-card/issues/213)
* **yaxis:** `id` and `yaxis_id` no longer needed with only 1 yaxis defined ([e5e8904](e5e8904))
* **yaxis:** Align the extremas to the closest `align_to`  value. ([a46c812](a46c812)), closes [RomRider#170](https://github.com/georgepauna/apexcharts-card/issues/170)
* **yaxis:** Set the number of decimals shown on the yaxis. Deprecate `y_axis_precision`. ([33fc474](33fc474)), closes [RomRider#164](https://github.com/georgepauna/apexcharts-card/issues/164)

### Bug Fixes

* `bar` should be `column` ([ff188ee](ff188ee))
* `group_by` was extending values into the future ([2cb79d2](2cb79d2))
* `group_by` would sometimes not work with `data_generator` ([cfa6871](cfa6871))
* `last_updated` date format was not following the configuration ([3dd4904](3dd4904))
* `update_interval` was broken ([31d2fb7](31d2fb7))
* 1st color was not using transparency ([77a9c8d](77a9c8d))
* actually really fix the issue with HA 2023.4 beta and above ([972f2c0](972f2c0)), closes [RomRider#529](https://github.com/georgepauna/apexcharts-card/issues/529)
* always get all state changes, not only significant ones ([3b2f9c8](3b2f9c8))
* annotations with time were not following the time format configuration ([5d08853](5d08853))
* another caching issue with statistics ([b93ee75](b93ee75))
* **axis:** X and Y Axis Tooltip color matches theme ([fb717ef](fb717ef))
* bug introduced by 591add ([b9c9297](b9c9297))
* **build:** Missing dependancy ([7d7d637](7d7d637))
* **build:** Remove comments from build ([268ef77](268ef77))
* caching issue for statistics ([8daff2f](8daff2f))
* card broken with HA 2023.4.0bXX and above ([e1aaf69](e1aaf69)), closes [RomRider#527](https://github.com/georgepauna/apexcharts-card/issues/527)
* Chart not displayed properly or at all with layout-card ([e5840fb](e5840fb)), closes [RomRider#121](https://github.com/georgepauna/apexcharts-card/issues/121)
* color with alpha would render area opaque ([100b6d4](100b6d4))
* color_threshold would sometimes render weirdly ([d7063a5](d7063a5)), closes [RomRider#177](https://github.com/georgepauna/apexcharts-card/issues/177)
* **color_threshold:** opacity for color_threshold ([5a325f4](5a325f4))
* **color_threshold:** Sometimes it would break the card ([65b5419](65b5419))
* **colorize_states:** Parameter was not applied ([28bb2e2](28bb2e2))
* **config_templates:** Was supposed to support a string ([f36d9b1](f36d9b1)), closes [RomRider#87](https://github.com/georgepauna/apexcharts-card/issues/87)
* **config:** `style` was not a valid config option (card-mod/picture-element) ([0a38778](0a38778)), closes [RomRider#15](https://github.com/georgepauna/apexcharts-card/issues/15)
* dataLabels would not follow `float_precision` ([cf9b63a](cf9b63a)), closes [RomRider#54](https://github.com/georgepauna/apexcharts-card/issues/54)
* **datalabels:** Truncate floats to 1 digit after the decimal point ([f5f744f](f5f744f))
* Disable support for colors with alpha channel ([RomRider#91](https://github.com/georgepauna/apexcharts-card/issues/91)) ([522363a](522363a)), closes [RomRider#90](https://github.com/georgepauna/apexcharts-card/issues/90)
* Display non inverted numbers in legend/tooltip/datalabels when `invert: true` ([331fe04](331fe04)), closes [RomRider#96](https://github.com/georgepauna/apexcharts-card/issues/96)
* Error was not displayed if duration couldn't be parsed ([2e2212f](2e2212f))
* extra space at bottom because of the card's action-handler ([533a784](533a784))
* extremas was not working with `invert: true` ([4d06ef6](4d06ef6)), closes [RomRider#96](https://github.com/georgepauna/apexcharts-card/issues/96)
* extremas would not display with offset applied on series ([4d7d77a](4d7d77a)), closes [RomRider#177](https://github.com/georgepauna/apexcharts-card/issues/177)
* **extremas:** Multi y-axis support ([RomRider#98](https://github.com/georgepauna/apexcharts-card/issues/98)) ([5c7d742](5c7d742)), closes [RomRider#89](https://github.com/georgepauna/apexcharts-card/issues/89)
* Float were not displayed in non-timeline charts ([e67d2d7](e67d2d7)), closes [RomRider#42](https://github.com/georgepauna/apexcharts-card/issues/42)
* Floats were not truncated properly for radialBar ([0c789ff](0c789ff)), closes [RomRider#174](https://github.com/georgepauna/apexcharts-card/issues/174)
* Friendly name wouldn't display anymore ([ef38724](ef38724))
* **func:** Filter `null` values in `diff` ([cfe736c](cfe736c))
* **func:** median was sometimes wrong ([c36dda7](c36dda7))
* Get rid of the initial load delay ([69f151b](69f151b))
* graph might be wrong when using `attributes` if value was 0 ([e200323](e200323))
* Graph stopped updating following ddf6ca9 ([bc54729](bc54729))
* **graph:** Loading message didn't appear ([ce3c45c](ce3c45c))
* **graph:** Not displaying the latest state in graph ([280e328](280e328))
* **group_by:** `group_by` reporting erronerous values for the first bucket of data ([8303b84](8303b84)), closes [RomRider#110](https://github.com/georgepauna/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](0163f9e))
* header units for `radialBar` ([6883a8f](6883a8f)), closes [RomRider#105](https://github.com/georgepauna/apexcharts-card/issues/105)
* **header:** Hide unit when `as_duration` is used ([5686931](5686931))
* **header:** State was sometimes multi-line ([4187104](4187104))
* **header:** Unit would sometimes be on a new line ([92fad1b](92fad1b))
* hidden by default would not work without a name ([9c75ce8](9c75ce8)), closes [RomRider#280](https://github.com/georgepauna/apexcharts-card/issues/280)
* history data could be modified in some rare cases ([d38fd6e](d38fd6e))
* Home Assistant API deprecation warning ([1449c7f](1449c7f)), closes [RomRider#417](https://github.com/georgepauna/apexcharts-card/issues/417)
* Ignore recorder when not required ([c28a7a6](c28a7a6)), closes [RomRider#169](https://github.com/georgepauna/apexcharts-card/issues/169)
* **in_header:** `after/before_now` not working with offsetted series ([960b43c](960b43c))
* last caching issue with statistics ([2e528f7](2e528f7))
* Last computed history data shouldn't be null ([ec875d5](ec875d5))
* **legend:** Change ` - ` to `: ` between name and state ([4e3cdc6](4e3cdc6))
* **legend:** undefined was displayed for a hidden serie ([352c016](352c016))
* median function fails if it receives an empty table ([RomRider#316](https://github.com/georgepauna/apexcharts-card/issues/316)) ([12f8d2e](12f8d2e))
* Name and units displayed ([fe5526b](fe5526b))
* Not releasing file ([e1dc473](e1dc473))
* Optimize `extend_to_end` when used with `group_by` ([591add8](591add8))
* **series.offset:** Fix bug introduced by [RomRider#19](https://github.com/georgepauna/apexcharts-card/issues/19) ([f5c0d57](f5c0d57)), closes [RomRider#18](https://github.com/georgepauna/apexcharts-card/issues/18)
* Sometimes card would stay in warning mode ([ddf6ca9](ddf6ca9))
* Sometimes the graph was empty when changing tabs ([9232044](9232044))
* **start_with_last:** `start_with_last` would sometimes throw ([f5aa2e3](f5aa2e3))
* **style:** Better default styling of toolbar ([4d0ef1c](4d0ef1c)), closes [RomRider#16](https://github.com/georgepauna/apexcharts-card/issues/16)
* Support for `rgba` colors ([7ecfafd](7ecfafd))
* Support for card-mod >= 3.0 ([8348119](8348119)), closes [RomRider#104](https://github.com/georgepauna/apexcharts-card/issues/104)
* Support for custom views config parameters (`view_layout`) ([76a8023](76a8023))
* Support for fire-dom-event with browser-mod ([3dc9625](3dc9625)), closes [RomRider#196](https://github.com/georgepauna/apexcharts-card/issues/196)
* the hass object could sometimes be null ([ff27baf](ff27baf)), closes [RomRider#191](https://github.com/georgepauna/apexcharts-card/issues/191)
* Tooltip should not be in a fixed position ([1762049](1762049))
* **tooltip:** Use colors from the theme ([5c263f1](5c263f1))
* **tooltip:** Values where following the selected point ([0145ca2](0145ca2))
* truncate floats in total datalabels ([917a20a](917a20a)), closes [RomRider#73](https://github.com/georgepauna/apexcharts-card/issues/73)
* Update apexcharts.js to the the latest version ([dd0bf6f](dd0bf6f))
* When recorder was skipped, attributes were ignored ([15e5372](15e5372))
* Wrong labels in tooltip in some cases ([8f0aca1](8f0aca1))
* **xasis:** Better handling of graph end time if everything is `column` and `group_by` is enabled ([b5b85a6](b5b85a6))
* yaxis would always start at 0 ([50ef9e4](50ef9e4)), closes [RomRider#158](https://github.com/georgepauna/apexcharts-card/issues/158)
* **yaxis:** apex_config.yaxis was not taken into account properly ([ce04230](ce04230))
* **yaxis:** auto scale was not taking the serie's offset into account ([f82f7e0](f82f7e0)), closes [RomRider#172](https://github.com/georgepauna/apexcharts-card/issues/172)
* **yaxis:** Fixed + unfixed bounds on the same yaxis is now working ([f7e4668](f7e4668))

### Documentation

* `align_to` description update ([4471469](4471469))
* Add an example to change the line thickness ([fd4a495](fd4a495))
* Add examples and fix documentation ([c71b76a](c71b76a))
* Add more example ([ffaa5df](ffaa5df))
* Better info about month and year as offset units ([c194f87](c194f87)), closes [RomRider#65](https://github.com/georgepauna/apexcharts-card/issues/65)
* Card is now available in HACS by default ([1200abd](1200abd))
* **config_templates:** Fix wrong config example ([ea1fef4](ea1fef4))
* Fix ApexCharts link ([9394dee](9394dee))
* Fix error `data_generator` example ([6d1c7a0](6d1c7a0)), closes [RomRider#34](https://github.com/georgepauna/apexcharts-card/issues/34)
* Fix HACS doc (not yet available by default) ([53fece2](53fece2))
* fix some README glitches ([3dd8b48](3dd8b48))
* Fix some typos ([3df6aed](3df6aed))
* Fix typo in doc ([89ed3c5](89ed3c5))
* Fix typos and broken links ([7789b8f](7789b8f))
* Initial README release ([7a87694](7a87694))
* Missing `title` documentation in the header section ([ff7f35b](ff7f35b))
* Missing doc for `last_updated` ([93ae54a](93ae54a))
* Missing link to the `now` section ([9747257](9747257))
* Update README.md ([b9d49ab](b9d49ab))
github-actions bot pushed a commit to georgepauna/apexcharts-card that referenced this issue Jun 17, 2024
## 1.0.0 (2024-06-17)

### ⚠ BREAKING CHANGES

* `extend_to_end` has been removed and replaced by `extend_to` with support for `now` and `end`.
* Replace `hours_to_show` with `graph_span`. Takes a time string instead of a number of hours.

### Features

* `extend_to` replaces `extend_to_end` with new options ([4bb1dd2](4bb1dd2)), closes [RomRider#318](https://github.com/georgepauna/apexcharts-card/issues/318)
* **actions:** `header_actions` support for actions in header ([RomRider#171](https://github.com/georgepauna/apexcharts-card/issues/171)) ([bd6a497](bd6a497)), closes [RomRider#61](https://github.com/georgepauna/apexcharts-card/issues/61)
* Add `update_interval` config option ([357db9a](357db9a)), closes [RomRider#2](https://github.com/georgepauna/apexcharts-card/issues/2)
* Add delta and median function ([4a77e55](4a77e55))
* Add spinner while data is loading ([39d4b8e](39d4b8e))
* add state type to long term statistics ([RomRider#329](https://github.com/georgepauna/apexcharts-card/issues/329)) ([3fad4f0](3fad4f0))
* add stroke_width and experimental color_threshold/disable_config_validation ([fcdfa88](fcdfa88)), closes [RomRider#58](https://github.com/georgepauna/apexcharts-card/issues/58)
* **apex_config:** Support for functions in `apex_config` ([cebc03b](cebc03b)), closes [RomRider#81](https://github.com/georgepauna/apexcharts-card/issues/81)
* Apply a `time_delta` to all the datapoints of your serie ([435e381](435e381)), closes [RomRider#277](https://github.com/georgepauna/apexcharts-card/issues/277)
* Better cache handling ([RomRider#1](https://github.com/georgepauna/apexcharts-card/issues/1)) ([804415f](804415f))
* Bring back `hours_12` from the dead ([676bdb7](676bdb7))
* **brush:** Support for a timeframe selection chart ([RomRider#102](https://github.com/georgepauna/apexcharts-card/issues/102)) ([c8dedf7](c8dedf7))
* **cache:** Invalidate cache on every new card version ([RomRider#12](https://github.com/georgepauna/apexcharts-card/issues/12)) ([b1799d9](b1799d9))
* **card:** Support for pre-defined layouts ([c5987f8](c5987f8))
* **color:** Define your own `color` option for each `serie` ([RomRider#7](https://github.com/georgepauna/apexcharts-card/issues/7)) ([3a15db2](3a15db2)), closes [RomRider#4](https://github.com/georgepauna/apexcharts-card/issues/4)
* **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 ([RomRider#64](https://github.com/georgepauna/apexcharts-card/issues/64)) ([17004a3](17004a3))
* **data_generator:** Build your own data based on the last state and attributes of your entity ([RomRider#14](https://github.com/georgepauna/apexcharts-card/issues/14)) ([18284b5](18284b5)), closes [RomRider#6](https://github.com/georgepauna/apexcharts-card/issues/6)
* **datalabels:** Option to display total when chart is stacked ([RomRider#75](https://github.com/georgepauna/apexcharts-card/issues/75)) ([e1c5b01](e1c5b01)), closes [RomRider#73](https://github.com/georgepauna/apexcharts-card/issues/73)
* Define your own float precision for legend, tooltip and Y axis ([7b0f30f](7b0f30f))
* display only the min or max extrema ([3db982b](3db982b)), closes [RomRider#319](https://github.com/georgepauna/apexcharts-card/issues/319)
* display the chart's last update time using `last_updated` ([2dd84ff](2dd84ff))
* Display warning if sensor doesn't exist ([a69df3d](a69df3d))
* **editor:** Preview in the GUI card selector ([d4cd7a3](d4cd7a3))
* **experimental:** `hidden_by_default` to toggle series on load ([RomRider#62](https://github.com/georgepauna/apexcharts-card/issues/62)) ([63717b7](63717b7)), closes [RomRider#60](https://github.com/georgepauna/apexcharts-card/issues/60)
* **experimental:** Header color can now follow `color_threshold` ([RomRider#88](https://github.com/georgepauna/apexcharts-card/issues/88)) ([074bfc3](074bfc3)), closes [RomRider#78](https://github.com/georgepauna/apexcharts-card/issues/78)
* **extremas:** Display the time on top of your extremas ([RomRider#97](https://github.com/georgepauna/apexcharts-card/issues/97)) ([d127b37](d127b37))
* Floating header ([1eccee8](1eccee8))
* follow Home Assistant number format ([9204de2](9204de2)), closes [RomRider#307](https://github.com/georgepauna/apexcharts-card/issues/307)
* **graph:** Extends graph's last value to the current time ([bfe64c5](bfe64c5))
* **graph:** New chart types `scatter`, `donut`, `pie` and `radialBar` ([RomRider#24](https://github.com/georgepauna/apexcharts-card/issues/24)) ([a0e4f85](a0e4f85))
* **group_by:** Add more functions and fix buckets ([c7324e0](c7324e0))
* **group_by:** Add new `diff` function ([57fd6a6](57fd6a6))
* **group_by:** With `start_with_last`, each bucket will start with the last data from the previous bucket ([8669411](8669411))
* **header:** More header options and title support ([RomRider#8](https://github.com/georgepauna/apexcharts-card/issues/8)) ([2cbd769](2cbd769)), closes [RomRider#5](https://github.com/georgepauna/apexcharts-card/issues/5)
* **header:** Standard header title home-assistant format using `standard_format` ([35c5391](35c5391)), closes [RomRider#35](https://github.com/georgepauna/apexcharts-card/issues/35)
* Initial support for aggregating data ([13dfd89](13dfd89))
* **invert:** Negates/Inverts the data for a serie ([RomRider#13](https://github.com/georgepauna/apexcharts-card/issues/13)) ([ab793c5](ab793c5))
* **locale:** Inherit locale from Home-Assistant, deprecate `hours_12` ([RomRider#70](https://github.com/georgepauna/apexcharts-card/issues/70)) ([af2d201](af2d201)), closes [RomRider#68](https://github.com/georgepauna/apexcharts-card/issues/68)
* make datagenerator async ([RomRider#157](https://github.com/georgepauna/apexcharts-card/issues/157)) ([b9049fc](b9049fc))
* Native multi y-axis support with auto-scale ([RomRider#160](https://github.com/georgepauna/apexcharts-card/issues/160)) ([e08aa14](e08aa14)), closes [RomRider#158](https://github.com/georgepauna/apexcharts-card/issues/158)
* **now:** Add a marker at the current time on the chart ([9b6b83d](9b6b83d)), closes [RomRider#44](https://github.com/georgepauna/apexcharts-card/issues/44)
* pie/donut now shows the value of the serie instead of the percentage. Old behavior with `datalabels: percent` ([7591aba](7591aba))
* Replace `hours_to_show` with `graph_span`. Takes a time string instead of a number of hours. ([e7ed408](e7ed408))
* **series.offset:** Compare data from another timeframe with the current timeframe ([RomRider#19](https://github.com/georgepauna/apexcharts-card/issues/19)) ([af8ba81](af8ba81)), closes [RomRider#18](https://github.com/georgepauna/apexcharts-card/issues/18)
* **series.show:** Display the value before/after the current time in the header ([2855403](2855403)), closes [RomRider#86](https://github.com/georgepauna/apexcharts-card/issues/86)
* **series.show:** Display your serie's extremas on the chart ([RomRider#85](https://github.com/georgepauna/apexcharts-card/issues/85)) ([f64169a](f64169a))
* **series.show:** Hide the name of a serie in the header ([b20133d](b20133d)), closes [RomRider#111](https://github.com/georgepauna/apexcharts-card/issues/111)
* **series.show:** Hide the offset from the name of the serie ([a46c3f0](a46c3f0)), closes [RomRider#112](https://github.com/georgepauna/apexcharts-card/issues/112)
* **series.show:** Option to show the raw data in the header ([RomRider#76](https://github.com/georgepauna/apexcharts-card/issues/76)) ([87b56f5](87b56f5)), closes [RomRider#69](https://github.com/georgepauna/apexcharts-card/issues/69)
* **series.show:** Show/hide dataLabels per serie ([9e28db3](9e28db3))
* **series:** `transform` the data the way you want ([RomRider#45](https://github.com/georgepauna/apexcharts-card/issues/45)) ([1cb6bb5](1cb6bb5))
* **series:** Define the `opacity` of the line or area ([8dfb3fd](8dfb3fd)), closes [RomRider#57](https://github.com/georgepauna/apexcharts-card/issues/57)
* **series:** Display values as a duration ([RomRider#21](https://github.com/georgepauna/apexcharts-card/issues/21)) ([227f0ea](227f0ea))
* **series:** Hide the value of a serie in the legend ([RomRider#22](https://github.com/georgepauna/apexcharts-card/issues/22)) ([1e8f748](1e8f748)), closes [RomRider#20](https://github.com/georgepauna/apexcharts-card/issues/20)
* **series:** New `fill_raw` option to fill missing data in raw history ([e2433b6](e2433b6))
* **series:** Retrieve an attribute of your entity instead of the state ([RomRider#32](https://github.com/georgepauna/apexcharts-card/issues/32)) ([b76bf16](b76bf16)), closes [RomRider#29](https://github.com/georgepauna/apexcharts-card/issues/29)
* **series:** Show/Hide a specific serie from the header or the graph ([RomRider#36](https://github.com/georgepauna/apexcharts-card/issues/36)) ([95c0433](95c0433))
* Show value in legend ([869a7f8](869a7f8))
* soft bounds and extended bounds for yaxis min/max ([RomRider#161](https://github.com/georgepauna/apexcharts-card/issues/161)) ([c57278b](c57278b))
* **span:** Add `end` as an option to end the graph at the end of the day, minute, etc... ([RomRider#11](https://github.com/georgepauna/apexcharts-card/issues/11)) ([1d0aca8](1d0aca8))
* **span:** Add support for `isoWeek` ([7abc750](7abc750)), closes [RomRider#106](https://github.com/georgepauna/apexcharts-card/issues/106)
* **span:** Display the graph from the start of the hour, day, month,… with an offset or not ([RomRider#10](https://github.com/georgepauna/apexcharts-card/issues/10)) ([bb6e88c](bb6e88c))
* support actions on the title with `title_actions` ([a9f406e](a9f406e)), closes [RomRider#323](https://github.com/georgepauna/apexcharts-card/issues/323)
* Support for 12-hour format ([RomRider#55](https://github.com/georgepauna/apexcharts-card/issues/55)) ([f38a18e](f38a18e)), closes [RomRider#48](https://github.com/georgepauna/apexcharts-card/issues/48) [RomRider#53](https://github.com/georgepauna/apexcharts-card/issues/53)
* Support for all ApexCharts options ([03efa8d](03efa8d))
* Support for auto-entities ([060e4c0](060e4c0))
* Support for HA long-term statistics ([RomRider#208](https://github.com/georgepauna/apexcharts-card/issues/208)) ([29aaa7c](29aaa7c)), closes [RomRider#308](https://github.com/georgepauna/apexcharts-card/issues/308)
* Support for header ([c5a8ee2](c5a8ee2))
* **transform:** Provide the full state as `entity` to the function ([RomRider#77](https://github.com/georgepauna/apexcharts-card/issues/77)) ([9919c10](9919c10)), closes [RomRider#71](https://github.com/georgepauna/apexcharts-card/issues/71)
* update from lit-html/lit-element to lit ([5a7d944](5a7d944))
* uses the time format defined in Home Assistant user profile ([78df800](78df800)), closes [RomRider#213](https://github.com/georgepauna/apexcharts-card/issues/213)
* **yaxis:** `id` and `yaxis_id` no longer needed with only 1 yaxis defined ([e5e8904](e5e8904))
* **yaxis:** Align the extremas to the closest `align_to`  value. ([a46c812](a46c812)), closes [RomRider#170](https://github.com/georgepauna/apexcharts-card/issues/170)
* **yaxis:** Set the number of decimals shown on the yaxis. Deprecate `y_axis_precision`. ([33fc474](33fc474)), closes [RomRider#164](https://github.com/georgepauna/apexcharts-card/issues/164)

### Bug Fixes

* `bar` should be `column` ([ff188ee](ff188ee))
* `group_by` was extending values into the future ([2cb79d2](2cb79d2))
* `group_by` would sometimes not work with `data_generator` ([cfa6871](cfa6871))
* `last_updated` date format was not following the configuration ([3dd4904](3dd4904))
* `update_interval` was broken ([31d2fb7](31d2fb7))
* 1st color was not using transparency ([77a9c8d](77a9c8d))
* actually really fix the issue with HA 2023.4 beta and above ([972f2c0](972f2c0)), closes [RomRider#529](https://github.com/georgepauna/apexcharts-card/issues/529)
* always get all state changes, not only significant ones ([3b2f9c8](3b2f9c8))
* annotations with time were not following the time format configuration ([5d08853](5d08853))
* another caching issue with statistics ([b93ee75](b93ee75))
* **axis:** X and Y Axis Tooltip color matches theme ([fb717ef](fb717ef))
* bug introduced by 591add ([b9c9297](b9c9297))
* **build:** Missing dependancy ([7d7d637](7d7d637))
* **build:** Remove comments from build ([268ef77](268ef77))
* caching issue for statistics ([8daff2f](8daff2f))
* card broken with HA 2023.4.0bXX and above ([e1aaf69](e1aaf69)), closes [RomRider#527](https://github.com/georgepauna/apexcharts-card/issues/527)
* Chart not displayed properly or at all with layout-card ([e5840fb](e5840fb)), closes [RomRider#121](https://github.com/georgepauna/apexcharts-card/issues/121)
* color with alpha would render area opaque ([100b6d4](100b6d4))
* color_threshold would sometimes render weirdly ([d7063a5](d7063a5)), closes [RomRider#177](https://github.com/georgepauna/apexcharts-card/issues/177)
* **color_threshold:** opacity for color_threshold ([5a325f4](5a325f4))
* **color_threshold:** Sometimes it would break the card ([65b5419](65b5419))
* **colorize_states:** Parameter was not applied ([28bb2e2](28bb2e2))
* **config_templates:** Was supposed to support a string ([f36d9b1](f36d9b1)), closes [RomRider#87](https://github.com/georgepauna/apexcharts-card/issues/87)
* **config:** `style` was not a valid config option (card-mod/picture-element) ([0a38778](0a38778)), closes [RomRider#15](https://github.com/georgepauna/apexcharts-card/issues/15)
* dataLabels would not follow `float_precision` ([cf9b63a](cf9b63a)), closes [RomRider#54](https://github.com/georgepauna/apexcharts-card/issues/54)
* **datalabels:** Truncate floats to 1 digit after the decimal point ([f5f744f](f5f744f))
* Disable support for colors with alpha channel ([RomRider#91](https://github.com/georgepauna/apexcharts-card/issues/91)) ([522363a](522363a)), closes [RomRider#90](https://github.com/georgepauna/apexcharts-card/issues/90)
* Display non inverted numbers in legend/tooltip/datalabels when `invert: true` ([331fe04](331fe04)), closes [RomRider#96](https://github.com/georgepauna/apexcharts-card/issues/96)
* Error was not displayed if duration couldn't be parsed ([2e2212f](2e2212f))
* extra space at bottom because of the card's action-handler ([533a784](533a784))
* extremas was not working with `invert: true` ([4d06ef6](4d06ef6)), closes [RomRider#96](https://github.com/georgepauna/apexcharts-card/issues/96)
* extremas would not display with offset applied on series ([4d7d77a](4d7d77a)), closes [RomRider#177](https://github.com/georgepauna/apexcharts-card/issues/177)
* **extremas:** Multi y-axis support ([RomRider#98](https://github.com/georgepauna/apexcharts-card/issues/98)) ([5c7d742](5c7d742)), closes [RomRider#89](https://github.com/georgepauna/apexcharts-card/issues/89)
* Float were not displayed in non-timeline charts ([e67d2d7](e67d2d7)), closes [RomRider#42](https://github.com/georgepauna/apexcharts-card/issues/42)
* Floats were not truncated properly for radialBar ([0c789ff](0c789ff)), closes [RomRider#174](https://github.com/georgepauna/apexcharts-card/issues/174)
* Friendly name wouldn't display anymore ([ef38724](ef38724))
* **func:** Filter `null` values in `diff` ([cfe736c](cfe736c))
* **func:** median was sometimes wrong ([c36dda7](c36dda7))
* Get rid of the initial load delay ([69f151b](69f151b))
* graph might be wrong when using `attributes` if value was 0 ([e200323](e200323))
* Graph stopped updating following ddf6ca9 ([bc54729](bc54729))
* **graph:** Loading message didn't appear ([ce3c45c](ce3c45c))
* **graph:** Not displaying the latest state in graph ([280e328](280e328))
* **group_by:** `group_by` reporting erronerous values for the first bucket of data ([8303b84](8303b84)), closes [RomRider#110](https://github.com/georgepauna/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](0163f9e))
* header units for `radialBar` ([6883a8f](6883a8f)), closes [RomRider#105](https://github.com/georgepauna/apexcharts-card/issues/105)
* **header:** Hide unit when `as_duration` is used ([5686931](5686931))
* **header:** State was sometimes multi-line ([4187104](4187104))
* **header:** Unit would sometimes be on a new line ([92fad1b](92fad1b))
* hidden by default would not work without a name ([9c75ce8](9c75ce8)), closes [RomRider#280](https://github.com/georgepauna/apexcharts-card/issues/280)
* history data could be modified in some rare cases ([d38fd6e](d38fd6e))
* Home Assistant API deprecation warning ([1449c7f](1449c7f)), closes [RomRider#417](https://github.com/georgepauna/apexcharts-card/issues/417)
* Ignore recorder when not required ([c28a7a6](c28a7a6)), closes [RomRider#169](https://github.com/georgepauna/apexcharts-card/issues/169)
* **in_header:** `after/before_now` not working with offsetted series ([960b43c](960b43c))
* last caching issue with statistics ([2e528f7](2e528f7))
* Last computed history data shouldn't be null ([ec875d5](ec875d5))
* **legend:** Change ` - ` to `: ` between name and state ([4e3cdc6](4e3cdc6))
* **legend:** undefined was displayed for a hidden serie ([352c016](352c016))
* median function fails if it receives an empty table ([RomRider#316](https://github.com/georgepauna/apexcharts-card/issues/316)) ([12f8d2e](12f8d2e))
* Name and units displayed ([fe5526b](fe5526b))
* Not releasing file ([e1dc473](e1dc473))
* Optimize `extend_to_end` when used with `group_by` ([591add8](591add8))
* **series.offset:** Fix bug introduced by [RomRider#19](https://github.com/georgepauna/apexcharts-card/issues/19) ([f5c0d57](f5c0d57)), closes [RomRider#18](https://github.com/georgepauna/apexcharts-card/issues/18)
* Sometimes card would stay in warning mode ([ddf6ca9](ddf6ca9))
* Sometimes the graph was empty when changing tabs ([9232044](9232044))
* **start_with_last:** `start_with_last` would sometimes throw ([f5aa2e3](f5aa2e3))
* **style:** Better default styling of toolbar ([4d0ef1c](4d0ef1c)), closes [RomRider#16](https://github.com/georgepauna/apexcharts-card/issues/16)
* Support for `rgba` colors ([7ecfafd](7ecfafd))
* Support for card-mod >= 3.0 ([8348119](8348119)), closes [RomRider#104](https://github.com/georgepauna/apexcharts-card/issues/104)
* Support for custom views config parameters (`view_layout`) ([76a8023](76a8023))
* Support for fire-dom-event with browser-mod ([3dc9625](3dc9625)), closes [RomRider#196](https://github.com/georgepauna/apexcharts-card/issues/196)
* the hass object could sometimes be null ([ff27baf](ff27baf)), closes [RomRider#191](https://github.com/georgepauna/apexcharts-card/issues/191)
* Tooltip should not be in a fixed position ([1762049](1762049))
* **tooltip:** Use colors from the theme ([5c263f1](5c263f1))
* **tooltip:** Values where following the selected point ([0145ca2](0145ca2))
* truncate floats in total datalabels ([917a20a](917a20a)), closes [RomRider#73](https://github.com/georgepauna/apexcharts-card/issues/73)
* Update apexcharts.js to the the latest version ([dd0bf6f](dd0bf6f))
* When recorder was skipped, attributes were ignored ([15e5372](15e5372))
* Wrong labels in tooltip in some cases ([8f0aca1](8f0aca1))
* **xasis:** Better handling of graph end time if everything is `column` and `group_by` is enabled ([b5b85a6](b5b85a6))
* yaxis would always start at 0 ([50ef9e4](50ef9e4)), closes [RomRider#158](https://github.com/georgepauna/apexcharts-card/issues/158)
* **yaxis:** apex_config.yaxis was not taken into account properly ([ce04230](ce04230))
* **yaxis:** auto scale was not taking the serie's offset into account ([f82f7e0](f82f7e0)), closes [RomRider#172](https://github.com/georgepauna/apexcharts-card/issues/172)
* **yaxis:** Fixed + unfixed bounds on the same yaxis is now working ([f7e4668](f7e4668))

### Documentation

* `align_to` description update ([4471469](4471469))
* Add an example to change the line thickness ([fd4a495](fd4a495))
* Add examples and fix documentation ([c71b76a](c71b76a))
* Add more example ([ffaa5df](ffaa5df))
* Better info about month and year as offset units ([c194f87](c194f87)), closes [RomRider#65](https://github.com/georgepauna/apexcharts-card/issues/65)
* Card is now available in HACS by default ([1200abd](1200abd))
* **config_templates:** Fix wrong config example ([ea1fef4](ea1fef4))
* Fix ApexCharts link ([9394dee](9394dee))
* Fix error `data_generator` example ([6d1c7a0](6d1c7a0)), closes [RomRider#34](https://github.com/georgepauna/apexcharts-card/issues/34)
* Fix HACS doc (not yet available by default) ([53fece2](53fece2))
* fix some README glitches ([3dd8b48](3dd8b48))
* Fix some typos ([3df6aed](3df6aed))
* Fix typo in doc ([89ed3c5](89ed3c5))
* Fix typos and broken links ([7789b8f](7789b8f))
* Initial README release ([7a87694](7a87694))
* Missing `title` documentation in the header section ([ff7f35b](ff7f35b))
* Missing doc for `last_updated` ([93ae54a](93ae54a))
* Missing link to the `now` section ([9747257](9747257))
* Update README.md ([b9d49ab](b9d49ab))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working released on @dev released
Projects
None yet
Development

No branches or pull requests

4 participants