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

Choose default toggle configuration #60

Closed
Toukite opened this issue Feb 5, 2021 · 14 comments
Closed

Choose default toggle configuration #60

Toukite opened this issue Feb 5, 2021 · 14 comments

Comments

@Toukite
Copy link

Toukite commented Feb 5, 2021

Hello,
First of all, thank you, because this card is just awesome !!!!

Now, I would like to be able to do something like that:
image

Meaning, by default (when opening screen), to be able to choose which of the series are toggled on (Extérieur and Garage in the image above) and which of the series are toggled off (Salon in the image above).

I found a way to completely hide a series (which I don't understand because then, why add it in the first place ?) but not to do this.
Did I miss this possibility in the docs ? If no, do you know if this could be implemented ?
Thanks !!

@Toukite Toukite added the feature-request New feature or request label Feb 5, 2021
@RomRider
Copy link
Owner

RomRider commented Feb 6, 2021

I found a way to completely hide a series (which I don't understand because then, why add it in the first place ?)

Because you can still display it in the header and not the graph ;)

Did I miss this possibility in the docs ? If no, do you know if this could be implemented ?

What you want doesn't exist so far, I'll think about it.

@RomRider
Copy link
Owner

RomRider commented Feb 7, 2021

So I have made some experiment with that and I'm not so much satisfied with the result. If an entity is disabled, every time the data is refreshed the scale of the y-axis reverts back to as-if everything was displayed (even if it's not) making the graph jump around. That seems to be an issue with the library I use unfortunately.

@Toukite
Copy link
Author

Toukite commented Feb 7, 2021

Ok thank you for trying !
Maybe a suggestion that could work even if not optimized: on HA give the possilility to list toggledOff series.
And on js, just load everything normally, then when everything loaded wait a few milliseconds to be sure and then call toggle off on the list of series, as if the user clicked
What do you think ?

@RomRider
Copy link
Owner

RomRider commented Feb 7, 2021

If you are speaking about this: https://apexcharts.com/docs/methods/#toggleSeries

It is what I've done, the result being what I put in my last comment, on update the series are not redisplayed, it's just that the scale jumps around and it's not great.

@Toukite
Copy link
Author

Toukite commented Feb 7, 2021

I am speaking about calling the exact same method as the one called when the user manually click on one of the series in order to show/hide it, and doing it programatically once everything is fully loaded.
And yes when you toggle the axis recalculate but it displays fine when done manually (at least for me), I'm not really getting the issue you encounter

@RomRider
Copy link
Owner

RomRider commented Feb 7, 2021

The above is what is called when you click in the legend and this is what I did.

You're probably not getting the issue because all your data are probably close in range. It happens when the hidden series would extend the range of the y-axis if displayed.

@Toukite
Copy link
Author

Toukite commented Feb 7, 2021

But is it a different behavior as the one that occurs on manual call ?
I do have another card where values are more spread, and indeed, when hiding an extreme one, the height of the chart recalculates, but from what I observed, it's a good thing because you see better the remaining lines
This is actually what I asked for
Could you show a screen of what's bothering you ?

In anycase, if people don't use the option they won't have an issue so it can be nice to release it anyway for those who are happy with that behavior, no ?

@RomRider
Copy link
Owner

RomRider commented Feb 7, 2021

I do have another card where values are more spread, and indeed, when hiding an extreme one, the height of the chart recalculates, but from what I observed, it's a good thing because you see better the remaining lines

The scale recalculates yes, and then on next data refresh, it jump back to as if everything was displayed but not everything is displayed. Column width is wrong and scale is wrong in this example (the start of the animation is when you see all the black bars):

broken

In anycase, if people don't use the option they won't have an issue so it can be nice to release it anyway for those who are happy with that behavior, no ?

It's not a problem of releasing the feature, it's a problem of users opening issues because of the broken behavior described above because no-one reads the documentation ;)

I could release it as experimental like color_threshold

@Toukite
Copy link
Author

Toukite commented Feb 7, 2021

Do you have the same issue with lines ?
If no, maybe it can be limited to only a few graph type

If yes, well then if this small issue (for me it's still a lot better than nothin) is documented as a limited behavior in the option description, it should limit people opening issues, and if they do, you can simply say what you told me: that it's due to apex lib

github-actions bot pushed a commit that referenced this issue Feb 8, 2021
## [1.6.0-dev.2](v1.6.0-dev.1...v1.6.0-dev.2) (2021-02-08)

### Features

* **config_tpl:** Create a config template and use it everywhere with `config_templates`, apply the same config to every series with `all_series_config` and add `color_list` to define your color list in one shot ([#64](#64)) ([17004a3](17004a3))
* **experimental:** `hidden_by_default` to toggle series on load ([#62](#62)) ([63717b7](63717b7)), closes [#60](#60)
@github-actions
Copy link

github-actions bot commented Feb 8, 2021

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

The release is available on GitHub release

Your semantic-release bot 📦🚀

github-actions bot pushed a commit that referenced this issue Feb 8, 2021
## [1.6.0](v1.5.0...v1.6.0) (2021-02-08)

### Features

* **config_tpl:** Create a config template and use it everywhere with `config_templates`, apply the same config to every series with `all_series_config` and add `color_list` to define your color list in one shot ([#64](#64)) ([17004a3](17004a3))
* **experimental:** `hidden_by_default` to toggle series on load ([#62](#62)) ([63717b7](63717b7)), closes [#60](#60)
* **series:** Define the `opacity` of the line or area ([8dfb3fd](8dfb3fd)), closes [#57](#57)
* add stroke_width and experimental color_threshold/disable_config_validation ([fcdfa88](fcdfa88)), closes [#58](#58)

### Bug Fixes

* **color_threshold:** opacity for color_threshold ([5a325f4](5a325f4))
* **func:** median was sometimes wrong ([c36dda7](c36dda7))
@github-actions
Copy link

github-actions bot commented Feb 8, 2021

🎉 This issue has been resolved in version 1.6.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@Toukite
Copy link
Author

Toukite commented Feb 8, 2021

Hello,
Thanks again for releasing this so quickly !!
I tried to use this config as described in the documentation (after upgrade and reboot), but I have following errors:

value.series[0] is not a ChartCardSeriesExternalConfig;
value.series[0].show.hidden_by_default is extraneous

First error is regarding the experimental config at root level
Second error is regarding the experimental config at series level

I don't understand what I missed, could you please help me ?

@RomRider
Copy link
Owner

RomRider commented Feb 8, 2021

Clear your cache! :)

@Toukite
Copy link
Author

Toukite commented Feb 8, 2021

... I thought I did, but indeed this was the issue, sorry to have disturbed you for this !!!

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))
github-actions bot pushed a commit to vingerha/apexcharts-card that referenced this issue Feb 2, 2025
## 1.0.0 (2025-02-02)

### ⚠ 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/vingerha/apexcharts-card/issues/318)
* **actions:** `header_actions` support for actions in header ([RomRider#171](https://github.com/vingerha/apexcharts-card/issues/171)) ([bd6a497](bd6a497)), closes [RomRider#61](https://github.com/vingerha/apexcharts-card/issues/61)
* Add `update_interval` config option ([357db9a](357db9a)), closes [RomRider#2](https://github.com/vingerha/apexcharts-card/issues/2)
* Add change type for statistics ([RomRider#555](https://github.com/vingerha/apexcharts-card/issues/555)) ([608fbe5](608fbe5)), closes [RomRider#552](https://github.com/vingerha/apexcharts-card/issues/552)
* 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/vingerha/apexcharts-card/issues/329)) ([3fad4f0](3fad4f0))
* add stroke_width and experimental color_threshold/disable_config_validation ([fcdfa88](fcdfa88)), closes [RomRider#58](https://github.com/vingerha/apexcharts-card/issues/58)
* **apex_config:** Support for functions in `apex_config` ([cebc03b](cebc03b)), closes [RomRider#81](https://github.com/vingerha/apexcharts-card/issues/81)
* Apply a `time_delta` to all the datapoints of your serie ([435e381](435e381)), closes [RomRider#277](https://github.com/vingerha/apexcharts-card/issues/277)
* Better cache handling ([RomRider#1](https://github.com/vingerha/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/vingerha/apexcharts-card/issues/102)) ([c8dedf7](c8dedf7))
* **cache:** Invalidate cache on every new card version ([RomRider#12](https://github.com/vingerha/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/vingerha/apexcharts-card/issues/7)) ([3a15db2](3a15db2)), closes [RomRider#4](https://github.com/vingerha/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/vingerha/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/vingerha/apexcharts-card/issues/14)) ([18284b5](18284b5)), closes [RomRider#6](https://github.com/vingerha/apexcharts-card/issues/6)
* **datalabels:** Option to display total when chart is stacked ([RomRider#75](https://github.com/vingerha/apexcharts-card/issues/75)) ([e1c5b01](e1c5b01)), closes [RomRider#73](https://github.com/vingerha/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/vingerha/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/vingerha/apexcharts-card/issues/62)) ([63717b7](63717b7)), closes [RomRider#60](https://github.com/vingerha/apexcharts-card/issues/60)
* **experimental:** Header color can now follow `color_threshold` ([RomRider#88](https://github.com/vingerha/apexcharts-card/issues/88)) ([074bfc3](074bfc3)), closes [RomRider#78](https://github.com/vingerha/apexcharts-card/issues/78)
* **extremas:** Display the time on top of your extremas ([RomRider#97](https://github.com/vingerha/apexcharts-card/issues/97)) ([d127b37](d127b37))
* Floating header ([1eccee8](1eccee8))
* follow Home Assistant number format ([9204de2](9204de2)), closes [RomRider#307](https://github.com/vingerha/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/vingerha/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/vingerha/apexcharts-card/issues/8)) ([2cbd769](2cbd769)), closes [RomRider#5](https://github.com/vingerha/apexcharts-card/issues/5)
* **header:** Standard header title home-assistant format using `standard_format` ([35c5391](35c5391)), closes [RomRider#35](https://github.com/vingerha/apexcharts-card/issues/35)
* Initial support for aggregating data ([13dfd89](13dfd89))
* **invert:** Negates/Inverts the data for a serie ([RomRider#13](https://github.com/vingerha/apexcharts-card/issues/13)) ([ab793c5](ab793c5))
* **locale:** Inherit locale from Home-Assistant, deprecate `hours_12` ([RomRider#70](https://github.com/vingerha/apexcharts-card/issues/70)) ([af2d201](af2d201)), closes [RomRider#68](https://github.com/vingerha/apexcharts-card/issues/68)
* **locales:** Support for new locales ([2fca527](2fca527))
* make datagenerator async ([RomRider#157](https://github.com/vingerha/apexcharts-card/issues/157)) ([b9049fc](b9049fc))
* Native multi y-axis support with auto-scale ([RomRider#160](https://github.com/vingerha/apexcharts-card/issues/160)) ([e08aa14](e08aa14)), closes [RomRider#158](https://github.com/vingerha/apexcharts-card/issues/158)
* **now:** Add a marker at the current time on the chart ([9b6b83d](9b6b83d)), closes [RomRider#44](https://github.com/vingerha/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/vingerha/apexcharts-card/issues/19)) ([af8ba81](af8ba81)), closes [RomRider#18](https://github.com/vingerha/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/vingerha/apexcharts-card/issues/86)
* **series.show:** Display your serie's extremas on the chart ([RomRider#85](https://github.com/vingerha/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/vingerha/apexcharts-card/issues/111)
* **series.show:** Hide the offset from the name of the serie ([a46c3f0](a46c3f0)), closes [RomRider#112](https://github.com/vingerha/apexcharts-card/issues/112)
* **series.show:** Option to show the raw data in the header ([RomRider#76](https://github.com/vingerha/apexcharts-card/issues/76)) ([87b56f5](87b56f5)), closes [RomRider#69](https://github.com/vingerha/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/vingerha/apexcharts-card/issues/45)) ([1cb6bb5](1cb6bb5))
* **series:** Define the `opacity` of the line or area ([8dfb3fd](8dfb3fd)), closes [RomRider#57](https://github.com/vingerha/apexcharts-card/issues/57)
* **series:** Direct support for dashed lines ([29aad77](29aad77)), closes [RomRider#413](https://github.com/vingerha/apexcharts-card/issues/413)
* **series:** Display values as a duration ([RomRider#21](https://github.com/vingerha/apexcharts-card/issues/21)) ([227f0ea](227f0ea))
* **series:** hide specific serie in legend with `in_legend: false` ([12cb893](12cb893)), closes [RomRider#74](https://github.com/vingerha/apexcharts-card/issues/74)
* **series:** Hide the value of a serie in the legend ([RomRider#22](https://github.com/vingerha/apexcharts-card/issues/22)) ([1e8f748](1e8f748)), closes [RomRider#20](https://github.com/vingerha/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/vingerha/apexcharts-card/issues/32)) ([b76bf16](b76bf16)), closes [RomRider#29](https://github.com/vingerha/apexcharts-card/issues/29)
* **series:** Show/Hide a specific serie from the header or the graph ([RomRider#36](https://github.com/vingerha/apexcharts-card/issues/36)) ([95c0433](95c0433))
* **series:** support for `monotoneCubic` curves ([998cb99](998cb99))
* **series:** Support for stack group of columns ([2935b4e](2935b4e)), closes [RomRider#673](https://github.com/vingerha/apexcharts-card/issues/673) [RomRider#550](https://github.com/vingerha/apexcharts-card/issues/550)
* Show value in legend ([869a7f8](869a7f8))
* soft bounds and extended bounds for yaxis min/max ([RomRider#161](https://github.com/vingerha/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/vingerha/apexcharts-card/issues/11)) ([1d0aca8](1d0aca8))
* **span:** Add support for `isoWeek` ([7abc750](7abc750)), closes [RomRider#106](https://github.com/vingerha/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/vingerha/apexcharts-card/issues/10)) ([bb6e88c](bb6e88c))
* **statistics:** add weekly statistics period ([RomRider#680](https://github.com/vingerha/apexcharts-card/issues/680)) ([e923126](e923126))
* support actions on the title with `title_actions` ([a9f406e](a9f406e)), closes [RomRider#323](https://github.com/vingerha/apexcharts-card/issues/323)
* Support for 12-hour format ([RomRider#55](https://github.com/vingerha/apexcharts-card/issues/55)) ([f38a18e](f38a18e)), closes [RomRider#48](https://github.com/vingerha/apexcharts-card/issues/48) [RomRider#53](https://github.com/vingerha/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/vingerha/apexcharts-card/issues/208)) ([29aaa7c](29aaa7c)), closes [RomRider#308](https://github.com/vingerha/apexcharts-card/issues/308)
* Support for header ([c5a8ee2](c5a8ee2))
* support for server time ([55c8f97](55c8f97)), closes [RomRider#709](https://github.com/vingerha/apexcharts-card/issues/709) [RomRider#579](https://github.com/vingerha/apexcharts-card/issues/579)
* **transform:** Provide the full state as `entity` to the function ([RomRider#77](https://github.com/vingerha/apexcharts-card/issues/77)) ([9919c10](9919c10)), closes [RomRider#71](https://github.com/vingerha/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/vingerha/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/vingerha/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/vingerha/apexcharts-card/issues/164)

### Bug Fixes

* `bar` should be `column` ([ff188ee](ff188ee))
* `extremas` with `time_delta` would generate wrong results ([f7ab3e8](f7ab3e8)), closes [RomRider#713](https://github.com/vingerha/apexcharts-card/issues/713)
* `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/vingerha/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/vingerha/apexcharts-card/issues/527)
* Chart not displayed properly or at all with layout-card ([e5840fb](e5840fb)), closes [RomRider#121](https://github.com/vingerha/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/vingerha/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/vingerha/apexcharts-card/issues/87)
* **config:** `style` was not a valid config option (card-mod/picture-element) ([0a38778](0a38778)), closes [RomRider#15](https://github.com/vingerha/apexcharts-card/issues/15)
* dataLabels would not follow `float_precision` ([cf9b63a](cf9b63a)), closes [RomRider#54](https://github.com/vingerha/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/vingerha/apexcharts-card/issues/91)) ([522363a](522363a)), closes [RomRider#90](https://github.com/vingerha/apexcharts-card/issues/90)
* Display non inverted numbers in legend/tooltip/datalabels when `invert: true` ([331fe04](331fe04)), closes [RomRider#96](https://github.com/vingerha/apexcharts-card/issues/96)
* display was wrong when using server time + serie offset ([84357f9](84357f9)), closes [RomRider#579](https://github.com/vingerha/apexcharts-card/issues/579)
* 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/vingerha/apexcharts-card/issues/96)
* extremas would not display with offset applied on series ([4d7d77a](4d7d77a)), closes [RomRider#177](https://github.com/vingerha/apexcharts-card/issues/177)
* **extremas:** Multi y-axis support ([RomRider#98](https://github.com/vingerha/apexcharts-card/issues/98)) ([5c7d742](5c7d742)), closes [RomRider#89](https://github.com/vingerha/apexcharts-card/issues/89)
* Float were not displayed in non-timeline charts ([e67d2d7](e67d2d7)), closes [RomRider#42](https://github.com/vingerha/apexcharts-card/issues/42)
* Floats were not truncated properly for radialBar ([0c789ff](0c789ff)), closes [RomRider#174](https://github.com/vingerha/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/vingerha/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/vingerha/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/vingerha/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/vingerha/apexcharts-card/issues/417)
* Ignore recorder when not required ([c28a7a6](c28a7a6)), closes [RomRider#169](https://github.com/vingerha/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/vingerha/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/vingerha/apexcharts-card/issues/19) ([f5c0d57](f5c0d57)), closes [RomRider#18](https://github.com/vingerha/apexcharts-card/issues/18)
* **series:** extremas would be wrong in some cases with `in_header: false` ([019b4ee](019b4ee)), closes [RomRider#725](https://github.com/vingerha/apexcharts-card/issues/725)
* **series:** fix `in_legend` for apexcharts.js v3.50.0 ([221b0a5](221b0a5))
* 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/vingerha/apexcharts-card/issues/16)
* Support for `rgba` colors ([7ecfafd](7ecfafd))
* Support for card-mod >= 3.0 ([8348119](8348119)), closes [RomRider#104](https://github.com/vingerha/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/vingerha/apexcharts-card/issues/196)
* the hass object could sometimes be null ([ff27baf](ff27baf)), closes [RomRider#191](https://github.com/vingerha/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/vingerha/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/vingerha/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/vingerha/apexcharts-card/issues/172)
* **yaxis:** Fixed + unfixed bounds on the same yaxis is now working ([f7e4668](f7e4668))
* **yaxis:** when `in_chart: false`, `yaxis` generated config would be wrong ([5932f2f](5932f2f)), closes [RomRider#724](https://github.com/vingerha/apexcharts-card/issues/724)

### 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/vingerha/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/vingerha/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 vingerha/apexcharts-card that referenced this issue Feb 2, 2025
## 1.0.0 (2025-02-02)

### ⚠ 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/vingerha/apexcharts-card/issues/318)
* **actions:** `header_actions` support for actions in header ([RomRider#171](https://github.com/vingerha/apexcharts-card/issues/171)) ([bd6a497](bd6a497)), closes [RomRider#61](https://github.com/vingerha/apexcharts-card/issues/61)
* Add `update_interval` config option ([357db9a](357db9a)), closes [RomRider#2](https://github.com/vingerha/apexcharts-card/issues/2)
* Add change type for statistics ([RomRider#555](https://github.com/vingerha/apexcharts-card/issues/555)) ([608fbe5](608fbe5)), closes [RomRider#552](https://github.com/vingerha/apexcharts-card/issues/552)
* 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/vingerha/apexcharts-card/issues/329)) ([3fad4f0](3fad4f0))
* add stroke_width and experimental color_threshold/disable_config_validation ([fcdfa88](fcdfa88)), closes [RomRider#58](https://github.com/vingerha/apexcharts-card/issues/58)
* **apex_config:** Support for functions in `apex_config` ([cebc03b](cebc03b)), closes [RomRider#81](https://github.com/vingerha/apexcharts-card/issues/81)
* Apply a `time_delta` to all the datapoints of your serie ([435e381](435e381)), closes [RomRider#277](https://github.com/vingerha/apexcharts-card/issues/277)
* Better cache handling ([RomRider#1](https://github.com/vingerha/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/vingerha/apexcharts-card/issues/102)) ([c8dedf7](c8dedf7))
* **cache:** Invalidate cache on every new card version ([RomRider#12](https://github.com/vingerha/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/vingerha/apexcharts-card/issues/7)) ([3a15db2](3a15db2)), closes [RomRider#4](https://github.com/vingerha/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/vingerha/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/vingerha/apexcharts-card/issues/14)) ([18284b5](18284b5)), closes [RomRider#6](https://github.com/vingerha/apexcharts-card/issues/6)
* **datalabels:** Option to display total when chart is stacked ([RomRider#75](https://github.com/vingerha/apexcharts-card/issues/75)) ([e1c5b01](e1c5b01)), closes [RomRider#73](https://github.com/vingerha/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/vingerha/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/vingerha/apexcharts-card/issues/62)) ([63717b7](63717b7)), closes [RomRider#60](https://github.com/vingerha/apexcharts-card/issues/60)
* **experimental:** Header color can now follow `color_threshold` ([RomRider#88](https://github.com/vingerha/apexcharts-card/issues/88)) ([074bfc3](074bfc3)), closes [RomRider#78](https://github.com/vingerha/apexcharts-card/issues/78)
* **extremas:** Display the time on top of your extremas ([RomRider#97](https://github.com/vingerha/apexcharts-card/issues/97)) ([d127b37](d127b37))
* Floating header ([1eccee8](1eccee8))
* follow Home Assistant number format ([9204de2](9204de2)), closes [RomRider#307](https://github.com/vingerha/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/vingerha/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/vingerha/apexcharts-card/issues/8)) ([2cbd769](2cbd769)), closes [RomRider#5](https://github.com/vingerha/apexcharts-card/issues/5)
* **header:** Standard header title home-assistant format using `standard_format` ([35c5391](35c5391)), closes [RomRider#35](https://github.com/vingerha/apexcharts-card/issues/35)
* Initial support for aggregating data ([13dfd89](13dfd89))
* **invert:** Negates/Inverts the data for a serie ([RomRider#13](https://github.com/vingerha/apexcharts-card/issues/13)) ([ab793c5](ab793c5))
* **locale:** Inherit locale from Home-Assistant, deprecate `hours_12` ([RomRider#70](https://github.com/vingerha/apexcharts-card/issues/70)) ([af2d201](af2d201)), closes [RomRider#68](https://github.com/vingerha/apexcharts-card/issues/68)
* **locales:** Support for new locales ([2fca527](2fca527))
* make datagenerator async ([RomRider#157](https://github.com/vingerha/apexcharts-card/issues/157)) ([b9049fc](b9049fc))
* Native multi y-axis support with auto-scale ([RomRider#160](https://github.com/vingerha/apexcharts-card/issues/160)) ([e08aa14](e08aa14)), closes [RomRider#158](https://github.com/vingerha/apexcharts-card/issues/158)
* **now:** Add a marker at the current time on the chart ([9b6b83d](9b6b83d)), closes [RomRider#44](https://github.com/vingerha/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/vingerha/apexcharts-card/issues/19)) ([af8ba81](af8ba81)), closes [RomRider#18](https://github.com/vingerha/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/vingerha/apexcharts-card/issues/86)
* **series.show:** Display your serie's extremas on the chart ([RomRider#85](https://github.com/vingerha/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/vingerha/apexcharts-card/issues/111)
* **series.show:** Hide the offset from the name of the serie ([a46c3f0](a46c3f0)), closes [RomRider#112](https://github.com/vingerha/apexcharts-card/issues/112)
* **series.show:** Option to show the raw data in the header ([RomRider#76](https://github.com/vingerha/apexcharts-card/issues/76)) ([87b56f5](87b56f5)), closes [RomRider#69](https://github.com/vingerha/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/vingerha/apexcharts-card/issues/45)) ([1cb6bb5](1cb6bb5))
* **series:** Define the `opacity` of the line or area ([8dfb3fd](8dfb3fd)), closes [RomRider#57](https://github.com/vingerha/apexcharts-card/issues/57)
* **series:** Direct support for dashed lines ([29aad77](29aad77)), closes [RomRider#413](https://github.com/vingerha/apexcharts-card/issues/413)
* **series:** Display values as a duration ([RomRider#21](https://github.com/vingerha/apexcharts-card/issues/21)) ([227f0ea](227f0ea))
* **series:** hide specific serie in legend with `in_legend: false` ([12cb893](12cb893)), closes [RomRider#74](https://github.com/vingerha/apexcharts-card/issues/74)
* **series:** Hide the value of a serie in the legend ([RomRider#22](https://github.com/vingerha/apexcharts-card/issues/22)) ([1e8f748](1e8f748)), closes [RomRider#20](https://github.com/vingerha/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/vingerha/apexcharts-card/issues/32)) ([b76bf16](b76bf16)), closes [RomRider#29](https://github.com/vingerha/apexcharts-card/issues/29)
* **series:** Show/Hide a specific serie from the header or the graph ([RomRider#36](https://github.com/vingerha/apexcharts-card/issues/36)) ([95c0433](95c0433))
* **series:** support for `monotoneCubic` curves ([998cb99](998cb99))
* **series:** Support for stack group of columns ([2935b4e](2935b4e)), closes [RomRider#673](https://github.com/vingerha/apexcharts-card/issues/673) [RomRider#550](https://github.com/vingerha/apexcharts-card/issues/550)
* Show value in legend ([869a7f8](869a7f8))
* soft bounds and extended bounds for yaxis min/max ([RomRider#161](https://github.com/vingerha/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/vingerha/apexcharts-card/issues/11)) ([1d0aca8](1d0aca8))
* **span:** Add support for `isoWeek` ([7abc750](7abc750)), closes [RomRider#106](https://github.com/vingerha/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/vingerha/apexcharts-card/issues/10)) ([bb6e88c](bb6e88c))
* **statistics:** add weekly statistics period ([RomRider#680](https://github.com/vingerha/apexcharts-card/issues/680)) ([e923126](e923126))
* support actions on the title with `title_actions` ([a9f406e](a9f406e)), closes [RomRider#323](https://github.com/vingerha/apexcharts-card/issues/323)
* Support for 12-hour format ([RomRider#55](https://github.com/vingerha/apexcharts-card/issues/55)) ([f38a18e](f38a18e)), closes [RomRider#48](https://github.com/vingerha/apexcharts-card/issues/48) [RomRider#53](https://github.com/vingerha/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/vingerha/apexcharts-card/issues/208)) ([29aaa7c](29aaa7c)), closes [RomRider#308](https://github.com/vingerha/apexcharts-card/issues/308)
* Support for header ([c5a8ee2](c5a8ee2))
* support for server time ([55c8f97](55c8f97)), closes [RomRider#709](https://github.com/vingerha/apexcharts-card/issues/709) [RomRider#579](https://github.com/vingerha/apexcharts-card/issues/579)
* **transform:** Provide the full state as `entity` to the function ([RomRider#77](https://github.com/vingerha/apexcharts-card/issues/77)) ([9919c10](9919c10)), closes [RomRider#71](https://github.com/vingerha/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/vingerha/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/vingerha/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/vingerha/apexcharts-card/issues/164)

### Bug Fixes

* `bar` should be `column` ([ff188ee](ff188ee))
* `extremas` with `time_delta` would generate wrong results ([f7ab3e8](f7ab3e8)), closes [RomRider#713](https://github.com/vingerha/apexcharts-card/issues/713)
* `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/vingerha/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/vingerha/apexcharts-card/issues/527)
* Chart not displayed properly or at all with layout-card ([e5840fb](e5840fb)), closes [RomRider#121](https://github.com/vingerha/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/vingerha/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/vingerha/apexcharts-card/issues/87)
* **config:** `style` was not a valid config option (card-mod/picture-element) ([0a38778](0a38778)), closes [RomRider#15](https://github.com/vingerha/apexcharts-card/issues/15)
* dataLabels would not follow `float_precision` ([cf9b63a](cf9b63a)), closes [RomRider#54](https://github.com/vingerha/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/vingerha/apexcharts-card/issues/91)) ([522363a](522363a)), closes [RomRider#90](https://github.com/vingerha/apexcharts-card/issues/90)
* Display non inverted numbers in legend/tooltip/datalabels when `invert: true` ([331fe04](331fe04)), closes [RomRider#96](https://github.com/vingerha/apexcharts-card/issues/96)
* display was wrong when using server time + serie offset ([84357f9](84357f9)), closes [RomRider#579](https://github.com/vingerha/apexcharts-card/issues/579)
* 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/vingerha/apexcharts-card/issues/96)
* extremas would not display with offset applied on series ([4d7d77a](4d7d77a)), closes [RomRider#177](https://github.com/vingerha/apexcharts-card/issues/177)
* **extremas:** Multi y-axis support ([RomRider#98](https://github.com/vingerha/apexcharts-card/issues/98)) ([5c7d742](5c7d742)), closes [RomRider#89](https://github.com/vingerha/apexcharts-card/issues/89)
* Float were not displayed in non-timeline charts ([e67d2d7](e67d2d7)), closes [RomRider#42](https://github.com/vingerha/apexcharts-card/issues/42)
* Floats were not truncated properly for radialBar ([0c789ff](0c789ff)), closes [RomRider#174](https://github.com/vingerha/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/vingerha/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/vingerha/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/vingerha/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/vingerha/apexcharts-card/issues/417)
* Ignore recorder when not required ([c28a7a6](c28a7a6)), closes [RomRider#169](https://github.com/vingerha/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/vingerha/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/vingerha/apexcharts-card/issues/19) ([f5c0d57](f5c0d57)), closes [RomRider#18](https://github.com/vingerha/apexcharts-card/issues/18)
* **series:** extremas would be wrong in some cases with `in_header: false` ([019b4ee](019b4ee)), closes [RomRider#725](https://github.com/vingerha/apexcharts-card/issues/725)
* **series:** fix `in_legend` for apexcharts.js v3.50.0 ([221b0a5](221b0a5))
* 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/vingerha/apexcharts-card/issues/16)
* Support for `rgba` colors ([7ecfafd](7ecfafd))
* Support for card-mod >= 3.0 ([8348119](8348119)), closes [RomRider#104](https://github.com/vingerha/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/vingerha/apexcharts-card/issues/196)
* the hass object could sometimes be null ([ff27baf](ff27baf)), closes [RomRider#191](https://github.com/vingerha/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/vingerha/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/vingerha/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/vingerha/apexcharts-card/issues/172)
* **yaxis:** Fixed + unfixed bounds on the same yaxis is now working ([f7e4668](f7e4668))
* **yaxis:** when `in_chart: false`, `yaxis` generated config would be wrong ([5932f2f](5932f2f)), closes [RomRider#724](https://github.com/vingerha/apexcharts-card/issues/724)

### 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/vingerha/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/vingerha/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
Projects
None yet
Development

No branches or pull requests

2 participants