Releases: RomRider/apexcharts-card
Releases · RomRider/apexcharts-card
v1.10.0-dev.4
1.10.0-dev.4 (2021-07-04)
Features
v1.10.0-dev.3
1.10.0-dev.3 (2021-07-04)
Features
- pie/donut now shows the value of the serie instead of the percentage. Old behavior with
datalabels: percent
(7591aba)
Bug Fixes
- When recorder was skipped, attributes were ignored (15e5372)
v1.10.0-dev.2
1.10.0-dev.2 (2021-07-04)
Features
- actions:
header_actions
support for actions in header (#171) (bd6a497), closes #61 - display the chart's last update time using
last_updated
(2dd84ff) - yaxis: Set the number of decimals shown on the yaxis. Deprecate
y_axis_precision
. (33fc474), closes #164 - update from lit-html/lit-element to lit (5a7d944)
Bug Fixes
- Ignore recorder when not required (c28a7a6), closes #169
- yaxis: auto scale was not taking the serie's offset into account (f82f7e0), closes #172
Documentation
- Missing doc for
last_updated
(93ae54a)
v1.10.0-dev.1
1.10.0-dev.1 (2021-05-25)
Features
- yaxis:
id
andyaxis_id
no longer needed with only 1 yaxis defined (e5e8904)
v1.9.1-dev.1
1.9.1-dev.1 (2021-05-25)
Bug Fixes
- yaxis: Fixed + unfixed bounds on the same yaxis is now working (f7e4668)
v1.9.0
1.9.0 (2021-05-24)
Information
-
🎉 You can now have as many y-axis as there are series defined in your configuration, or less and it supports auto-scaling 🎉 So you can now easily group some series together on an y-axis, and some other on other y-axis.
min
andmax
support multiple types of format:- not set or
auto
(this is the default): if it is set toauto
, the min or max will be automatically calculated - any number: if a number is set, the min or max will be fixed on the y-axis
~90
: if the format is~
followed by a number, the min or max will be defined as a soft boundsmin: ~90
and the min of the data in the series is120
: the y-axis min value will be90
min: ~90
and the min of the data in the series is60
: the y-axis min value will be60
'|+20|'
or'|-20|'
: This will add/remove the value between| |
from the min/maxmin: '|-20|'
: The min of the data in the series is32
, the y-axis min will be12
(=32 - 20
)max: '|+10|'
: The max of the data in the series is32
, the y-axis max will be42
(=32 + 10
)
Example:
type: custom:apexcharts-card graph_span: 20min yaxis: - id: first # identification name of the first y-axis apex_config: tickAmount: 4 - id: second # identification name of the second y-axis opposite: true # make it show on the right side apex_config: tickAmount: 4 all_series_config: stroke_width: 2 series: - entity: sensor.random0_100 yaxis_id: first # this serie will be associated to the 'id: first' axis. - entity: sensor.random_0_1000 yaxis_id: second # this serie will be associated to the 'id: second' axis. - entity: sensor.random0_100 yaxis_id: first # this serie will be associated to the 'id: first' axis. transform: 'return Number(x) + 30;' # We make it go fom 30 to 130 - entity: sensor.random0_100 yaxis_id: first # this serie will be associated to the 'id: first' axis. transform: 'return Number(x) - 30;' # We make it go from -30 to 70
- not set or
Features
- make datagenerator async (#157) (b9049fc)
- Native multi y-axis support with auto-scale (#160) (e08aa14), closes #158
- soft bounds and extended bounds for yaxis min/max (#161) (c57278b)
- apex_config: Support for functions in
apex_config
(cebc03b), closes #81
Bug Fixes
- always get all state changes, not only significant ones (3b2f9c8)
- graph might be wrong when using
attributes
if value was 0 (e200323) - Support for custom views config parameters (
view_layout
) (76a8023) - yaxis would always start at 0 (50ef9e4), closes #158
- group_by:
group_by
reporting erronerous values for the first bucket of data (8303b84), closes #110 - group_by: When group_by was used with lines, the end of the chart was showing an empty slot (display bug only) (0163f9e)