fix: make the style for the state match the value being displayed when hov…#1214
fix: make the style for the state match the value being displayed when hov…#1214akloeckner merged 3 commits intokalkih:devfrom
Conversation
…ering over a point.
|
Please consider adding some descriptions & screenshots. |
|
Nice catch! Would you mind porting the fix also to the adaptive icon and name colours? They were changed together last, I think. (Maybe there's even more places where this should be fixed.) |
|
With this PR still there is this issue: Here we have 2 graphs, red & green. Also, I honestly do not understand a purpose of |
|
I don't have the data to reproduce the issue above. Are we ok merging this fix and then having someone else fix this new case? |
Great! 👍
Yes, I would consider this a different issue. I will want to double-check before merging - and have Ildar's OK, too. But I don't see any major risk. |
|
Imho no risk at all, this is not a nuclear reactor. |
|
Ah, now I see why you're making the connection to the secondary state display, @ildar170975. Because the |
|
Ok, got it and tested it:
Which is what the PR does. |
|
@akloeckner , thanks for explaining. So, what I see during tests: And whatever graph's whatever point I select - I see a proper color for a state, name, icon: This is very good. But shouldn't we see same behaviour for this config where a point's color is defined based on Sorry, if the question is silly. |
also clean up code
|
The question is far from silly. The behaviour you describe should be the correct one, I agree. So, I took some time to sort this sub-routine out. I pushed the changes to your branch, @galo2099 . I didn't mean to be intrusive. It was just the easiest way to get this into this PR. @ildar170975, is this what you were looking for? |
|
@akloeckner So, this seems to be a separate issue, will register it. I will continue testing new changes now. |
|
So, the latest change:
|
|
Thanks. I didn't realize this. Should be fixed now? |
|
Are you sure about the "same axis"? You have a scale on the right side of the graph. But: If the colors are fixed now, let's merge it. And investigate the lower and higher points separately. |
|
Thanks a lot, @galo2099! |
# [0.13.0-dev.2](v0.13.0-dev.1...v0.13.0-dev.2) (2025-02-15) ### Bug Fixes * adapt state color to tooltip properties ([#1214](#1214)) ([1142f25](1142f25)) * hide graph loading indicator when appropriate ([#1197](#1197)) ([d708d6a](d708d6a)) * legend unit percent w/o whitespace ([#1191](#1191)) ([9f5cfd9](9f5cfd9)) * more intuitive min_bound_range behavior ([#1136](#1136)) ([54d9875](54d9875)) * remove unused argument from getBoundary ([#1193](#1193)) ([f5261d9](f5261d9)) ### Features * add "tooltip--label" class ([#1202](#1202)) ([0d3c184](0d3c184))
|
🎉 This PR is included in version 0.13.0-dev.2 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
You are right! My mistake. Will retest. |
# [0.13.0](v0.12.1...v0.13.0) (2025-05-29) ### Bug Fixes * adapt state color to tooltip properties ([#1214](#1214)) ([1142f25](1142f25)) * computeUom() for attribute & empty unit ([#1236](#1236)) ([436b9a9](436b9a9)) * deprecated paper-item-icon-color ([#1247](#1247)) ([2e99db5](2e99db5)) * hide graph loading indicator when appropriate ([#1197](#1197)) ([d708d6a](d708d6a)) * indicator style for the 1st state ([#1105](#1105)) ([c0ad333](c0ad333)) * legend indicators respect entity attribute configuration ([#1115](#1115)) ([5fe01d1](5fe01d1)) * legend unit percent w/o whitespace ([#1191](#1191)) ([9f5cfd9](9f5cfd9)) * migrate to ha-spinner ([#1234](#1234)) ([d68f651](d68f651)) * more intuitive min_bound_range behavior ([#1136](#1136)) ([54d9875](54d9875)) * name and icon color respect attribute choice ([#1131](#1131)) ([cbfba7a](cbfba7a)) * padding fill ([#1238](#1238)) ([f930fa6](f930fa6)) * process absent UoM in computeLegend() ([#1237](#1237)) ([5724cfd](5724cfd)) * remove unused argument from getBoundary ([#1193](#1193)) ([f5261d9](f5261d9)) * use a proper config in renderState() ([#1217](#1217)) ([c980460](c980460)) * use d3 to interpolate colors ([#1118](#1118)) ([b8676f5](b8676f5)) ### Features * add "tooltip--label" class ([#1202](#1202)) ([0d3c184](0d3c184)) * Add loader ([#1180](#1180)) ([30c5263](30c5263)) * add show_legend_state ([#1173](#1173)) ([3b1c827](3b1c827))
|
🎉 This PR is included in version 0.13.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
# 1.0.0 (2025-06-01) ### Bug Fixes * adapt state color to tooltip properties ([kalkih#1214](https://github.com/brozikcz/mini-graph-card/issues/1214)) ([1142f25](1142f25)) * add first datapoint tooltip for line graph ([kalkih#882](https://github.com/brozikcz/mini-graph-card/issues/882)) ([7576fe6](7576fe6)) * allow zero tooltip ([057a395](057a395)), closes [kalkih#805](https://github.com/brozikcz/mini-graph-card/issues/805) * cards would always assume icon_image was set ([kalkih#957](https://github.com/brozikcz/mini-graph-card/issues/957)) ([f376732](f376732)) * computeUom() for attribute & empty unit ([kalkih#1236](https://github.com/brozikcz/mini-graph-card/issues/1236)) ([436b9a9](436b9a9)) * deprecated paper-item-icon-color ([kalkih#1247](https://github.com/brozikcz/mini-graph-card/issues/1247)) ([2e99db5](2e99db5)) * display a warning if entity is not available ([kalkih#545](https://github.com/brozikcz/mini-graph-card/issues/545)) ([a334b84](a334b84)), closes [kalkih#487](https://github.com/brozikcz/mini-graph-card/issues/487) * drop out-of-bound coords in reducer ([kalkih#881](https://github.com/brozikcz/mini-graph-card/issues/881)) ([527f005](527f005)), closes [kalkih#251](https://github.com/brozikcz/mini-graph-card/issues/251) * Fix undefined variable introduced by [kalkih#545](https://github.com/brozikcz/mini-graph-card/issues/545) ([9e923f5](9e923f5)) * hide graph loading indicator when appropriate ([kalkih#1197](https://github.com/brozikcz/mini-graph-card/issues/1197)) ([d708d6a](d708d6a)) * icon will properly follow entity's device_class [[kalkih#484](https://github.com/brozikcz/mini-graph-card/issues/484)] ([2f9e0a7](2f9e0a7)) * indicator style for the 1st state ([kalkih#1105](https://github.com/brozikcz/mini-graph-card/issues/1105)) ([c0ad333](c0ad333)) * legend indicators respect entity attribute configuration ([kalkih#1115](https://github.com/brozikcz/mini-graph-card/issues/1115)) ([5fe01d1](5fe01d1)) * legend unit percent w/o whitespace ([kalkih#1191](https://github.com/brozikcz/mini-graph-card/issues/1191)) ([9f5cfd9](9f5cfd9)) * migrate to ha-spinner ([kalkih#1234](https://github.com/brozikcz/mini-graph-card/issues/1234)) ([d68f651](d68f651)) * more intuitive min_bound_range behavior ([kalkih#1136](https://github.com/brozikcz/mini-graph-card/issues/1136)) ([54d9875](54d9875)) * name and icon color respect attribute choice ([kalkih#1131](https://github.com/brozikcz/mini-graph-card/issues/1131)) ([cbfba7a](cbfba7a)) * padding fill ([kalkih#1238](https://github.com/brozikcz/mini-graph-card/issues/1238)) ([f930fa6](f930fa6)) * process absent UoM in computeLegend() ([kalkih#1237](https://github.com/brozikcz/mini-graph-card/issues/1237)) ([5724cfd](5724cfd)) * remove unused argument from getBoundary ([kalkih#1193](https://github.com/brozikcz/mini-graph-card/issues/1193)) ([f5261d9](f5261d9)) * retain the last out-of-bounds state ([kalkih#961](https://github.com/brozikcz/mini-graph-card/issues/961)) ([8ebe173](8ebe173)), closes [kalkih#881](https://github.com/brozikcz/mini-graph-card/issues/881) [kalkih#960](https://github.com/brozikcz/mini-graph-card/issues/960) * Support for `fire-dom-event` ([c29f55f](c29f55f)), closes [kalkih#563](https://github.com/brozikcz/mini-graph-card/issues/563) * Time would sometime display 24:xx instead of 00:xx [[kalkih#536](https://github.com/brozikcz/mini-graph-card/issues/536)] ([7c7d921](7c7d921)) * tooltip interval start could be after end ([kalkih#1065](https://github.com/brozikcz/mini-graph-card/issues/1065)) ([930ee39](930ee39)), closes [kalkih#181](https://github.com/brozikcz/mini-graph-card/issues/181) * use a proper config in renderState() ([kalkih#1217](https://github.com/brozikcz/mini-graph-card/issues/1217)) ([c980460](c980460)) * use d3 to interpolate colors ([kalkih#1118](https://github.com/brozikcz/mini-graph-card/issues/1118)) ([b8676f5](b8676f5)) * **config:** Remove entity config error [kalkih#592](https://github.com/brozikcz/mini-graph-card/issues/592) ([kalkih#593](https://github.com/brozikcz/mini-graph-card/issues/593)) ([53d923a](53d923a)) * **documentation:** enquote html color ([dbdeab8](dbdeab8)), closes [kalkih#872](https://github.com/brozikcz/mini-graph-card/issues/872) * **log:** color_thresholds render incorectly with logaritmic on ([kalkih#542](https://github.com/brozikcz/mini-graph-card/issues/542)) ([b704885](b704885)), closes [kalkih#531](https://github.com/brozikcz/mini-graph-card/issues/531) * **stalebot:** issues should also use exemptLabels ([4d74c1f](4d74c1f)) * **workflows:** remove invalid description field ([e755e24](e755e24)) ### Features * add "tooltip--label" class ([kalkih#1202](https://github.com/brozikcz/mini-graph-card/issues/1202)) ([0d3c184](0d3c184)) * Add loader ([kalkih#1180](https://github.com/brozikcz/mini-graph-card/issues/1180)) ([30c5263](30c5263)) * add show_legend_state ([kalkih#1173](https://github.com/brozikcz/mini-graph-card/issues/1173)) ([3b1c827](3b1c827)) * Add support of attribute tree when available ([kalkih#996](https://github.com/brozikcz/mini-graph-card/issues/996)) ([9c1c31e](9c1c31e)) * Format numbers according to selected language [[kalkih#495](https://github.com/brozikcz/mini-graph-card/issues/495) [kalkih#509](https://github.com/brozikcz/mini-graph-card/issues/509)] ([5785bd8](5785bd8)) * pull two years worth of changes into release channel ([f5fb98d](f5fb98d)), closes [kalkih#1059](https://github.com/brozikcz/mini-graph-card/issues/1059) * **attribute:** Retrieve an attribute instead of the state ([kalkih#564](https://github.com/brozikcz/mini-graph-card/issues/564)) ([708bfde](708bfde)), closes [kalkih#411](https://github.com/brozikcz/mini-graph-card/issues/411) [kalkih#245](https://github.com/brozikcz/mini-graph-card/issues/245) [kalkih#501](https://github.com/brozikcz/mini-graph-card/issues/501) * **graph:** Add median aggregate function ([kalkih#521](https://github.com/brozikcz/mini-graph-card/issues/521)) ([57219bd](57219bd)) * **option:** override icon with an image URL ([kalkih#789](https://github.com/brozikcz/mini-graph-card/issues/789)) ([2860a09](2860a09)) * Interpolate color threshold stops ([kalkih#596](https://github.com/brozikcz/mini-graph-card/issues/596)) ([3826c0d](3826c0d))
# 1.0.0 (2025-10-16) ### Bug Fixes * adapt state color to tooltip properties ([kalkih#1214](https://github.com/bladeke/mini-graph-card/issues/1214)) ([1142f25](1142f25)) * add first datapoint tooltip for line graph ([kalkih#882](https://github.com/bladeke/mini-graph-card/issues/882)) ([7576fe6](7576fe6)) * allow zero tooltip ([057a395](057a395)), closes [kalkih#805](https://github.com/bladeke/mini-graph-card/issues/805) * cards would always assume icon_image was set ([kalkih#957](https://github.com/bladeke/mini-graph-card/issues/957)) ([f376732](f376732)) * changed repo in package.json to my fork ([a2b63f7](a2b63f7)) * computeUom() for attribute & empty unit ([kalkih#1236](https://github.com/bladeke/mini-graph-card/issues/1236)) ([436b9a9](436b9a9)) * deprecated paper-item-icon-color ([kalkih#1247](https://github.com/bladeke/mini-graph-card/issues/1247)) ([2e99db5](2e99db5)) * display a warning if entity is not available ([kalkih#545](https://github.com/bladeke/mini-graph-card/issues/545)) ([a334b84](a334b84)), closes [kalkih#487](https://github.com/bladeke/mini-graph-card/issues/487) * drop out-of-bound coords in reducer ([kalkih#881](https://github.com/bladeke/mini-graph-card/issues/881)) ([527f005](527f005)), closes [kalkih#251](https://github.com/bladeke/mini-graph-card/issues/251) * Fix undefined variable introduced by [kalkih#545](https://github.com/bladeke/mini-graph-card/issues/545) ([9e923f5](9e923f5)) * hide graph loading indicator when appropriate ([kalkih#1197](https://github.com/bladeke/mini-graph-card/issues/1197)) ([d708d6a](d708d6a)) * icon will properly follow entity's device_class [[kalkih#484](https://github.com/bladeke/mini-graph-card/issues/484)] ([2f9e0a7](2f9e0a7)) * indicator style for the 1st state ([kalkih#1105](https://github.com/bladeke/mini-graph-card/issues/1105)) ([c0ad333](c0ad333)) * legend indicators respect entity attribute configuration ([kalkih#1115](https://github.com/bladeke/mini-graph-card/issues/1115)) ([5fe01d1](5fe01d1)) * legend unit percent w/o whitespace ([kalkih#1191](https://github.com/bladeke/mini-graph-card/issues/1191)) ([9f5cfd9](9f5cfd9)) * lint errors ([63e4a60](63e4a60)) * migrate to ha-spinner ([kalkih#1234](https://github.com/bladeke/mini-graph-card/issues/1234)) ([d68f651](d68f651)) * more intuitive min_bound_range behavior ([kalkih#1136](https://github.com/bladeke/mini-graph-card/issues/1136)) ([54d9875](54d9875)) * name and icon color respect attribute choice ([kalkih#1131](https://github.com/bladeke/mini-graph-card/issues/1131)) ([cbfba7a](cbfba7a)) * padding fill ([kalkih#1238](https://github.com/bladeke/mini-graph-card/issues/1238)) ([f930fa6](f930fa6)) * process absent UoM in computeLegend() ([kalkih#1237](https://github.com/bladeke/mini-graph-card/issues/1237)) ([5724cfd](5724cfd)) * remove unused argument from getBoundary ([kalkih#1193](https://github.com/bladeke/mini-graph-card/issues/1193)) ([f5261d9](f5261d9)) * retain the last out-of-bounds state ([kalkih#961](https://github.com/bladeke/mini-graph-card/issues/961)) ([8ebe173](8ebe173)), closes [kalkih#881](https://github.com/bladeke/mini-graph-card/issues/881) [kalkih#960](https://github.com/bladeke/mini-graph-card/issues/960) * Support for `fire-dom-event` ([c29f55f](c29f55f)), closes [kalkih#563](https://github.com/bladeke/mini-graph-card/issues/563) * Time would sometime display 24:xx instead of 00:xx [[kalkih#536](https://github.com/bladeke/mini-graph-card/issues/536)] ([7c7d921](7c7d921)) * tooltip interval start could be after end ([kalkih#1065](https://github.com/bladeke/mini-graph-card/issues/1065)) ([930ee39](930ee39)), closes [kalkih#181](https://github.com/bladeke/mini-graph-card/issues/181) * use a proper config in renderState() ([kalkih#1217](https://github.com/bladeke/mini-graph-card/issues/1217)) ([c980460](c980460)) * use d3 to interpolate colors ([kalkih#1118](https://github.com/bladeke/mini-graph-card/issues/1118)) ([b8676f5](b8676f5)) * **config:** Remove entity config error [kalkih#592](https://github.com/bladeke/mini-graph-card/issues/592) ([kalkih#593](https://github.com/bladeke/mini-graph-card/issues/593)) ([53d923a](53d923a)) * **documentation:** enquote html color ([dbdeab8](dbdeab8)), closes [kalkih#872](https://github.com/bladeke/mini-graph-card/issues/872) * **log:** color_thresholds render incorectly with logaritmic on ([kalkih#542](https://github.com/bladeke/mini-graph-card/issues/542)) ([b704885](b704885)), closes [kalkih#531](https://github.com/bladeke/mini-graph-card/issues/531) * **stalebot:** issues should also use exemptLabels ([4d74c1f](4d74c1f)) * **workflows:** remove invalid description field ([e755e24](e755e24)) ### Features * add "tooltip--label" class ([kalkih#1202](https://github.com/bladeke/mini-graph-card/issues/1202)) ([0d3c184](0d3c184)) * Add loader ([kalkih#1180](https://github.com/bladeke/mini-graph-card/issues/1180)) ([30c5263](30c5263)) * add show_legend_state ([kalkih#1173](https://github.com/bladeke/mini-graph-card/issues/1173)) ([3b1c827](3b1c827)) * Add support of attribute tree when available ([kalkih#996](https://github.com/bladeke/mini-graph-card/issues/996)) ([9c1c31e](9c1c31e)) * added dynamic threshold color function ([8312879](8312879)) * Format numbers according to selected language [[kalkih#495](https://github.com/bladeke/mini-graph-card/issues/495) [kalkih#509](https://github.com/bladeke/mini-graph-card/issues/509)] ([5785bd8](5785bd8)) * Interpolate color threshold stops ([kalkih#596](https://github.com/bladeke/mini-graph-card/issues/596)) ([3826c0d](3826c0d)) * pull two years worth of changes into release channel ([f5fb98d](f5fb98d)), closes [kalkih#1059](https://github.com/bladeke/mini-graph-card/issues/1059) * **attribute:** Retrieve an attribute instead of the state ([kalkih#564](https://github.com/bladeke/mini-graph-card/issues/564)) ([708bfde](708bfde)), closes [kalkih#411](https://github.com/bladeke/mini-graph-card/issues/411) [kalkih#245](https://github.com/bladeke/mini-graph-card/issues/245) [kalkih#501](https://github.com/bladeke/mini-graph-card/issues/501) * **graph:** Add median aggregate function ([kalkih#521](https://github.com/bladeke/mini-graph-card/issues/521)) ([57219bd](57219bd)) * **option:** override icon with an image URL ([kalkih#789](https://github.com/bladeke/mini-graph-card/issues/789)) ([2860a09](2860a09))
# 1.0.0 (2025-11-15) ### Bug Fixes * adapt state color to tooltip properties ([kalkih#1214](https://github.com/wbu/mini-graph-card/issues/1214)) ([1142f25](1142f25)) * add first datapoint tooltip for line graph ([kalkih#882](https://github.com/wbu/mini-graph-card/issues/882)) ([7576fe6](7576fe6)) * allow zero tooltip ([057a395](057a395)), closes [kalkih#805](https://github.com/wbu/mini-graph-card/issues/805) * cards would always assume icon_image was set ([kalkih#957](https://github.com/wbu/mini-graph-card/issues/957)) ([f376732](f376732)) * computeUom() for attribute & empty unit ([kalkih#1236](https://github.com/wbu/mini-graph-card/issues/1236)) ([436b9a9](436b9a9)) * deprecated paper-item-icon-color ([kalkih#1247](https://github.com/wbu/mini-graph-card/issues/1247)) ([2e99db5](2e99db5)) * display a warning if entity is not available ([kalkih#545](https://github.com/wbu/mini-graph-card/issues/545)) ([a334b84](a334b84)), closes [kalkih#487](https://github.com/wbu/mini-graph-card/issues/487) * drop out-of-bound coords in reducer ([kalkih#881](https://github.com/wbu/mini-graph-card/issues/881)) ([527f005](527f005)), closes [kalkih#251](https://github.com/wbu/mini-graph-card/issues/251) * Fix undefined variable introduced by [kalkih#545](https://github.com/wbu/mini-graph-card/issues/545) ([9e923f5](9e923f5)) * hide graph loading indicator when appropriate ([kalkih#1197](https://github.com/wbu/mini-graph-card/issues/1197)) ([d708d6a](d708d6a)) * icon will properly follow entity's device_class [[kalkih#484](https://github.com/wbu/mini-graph-card/issues/484)] ([2f9e0a7](2f9e0a7)) * indicator style for the 1st state ([kalkih#1105](https://github.com/wbu/mini-graph-card/issues/1105)) ([c0ad333](c0ad333)) * legend indicators respect entity attribute configuration ([kalkih#1115](https://github.com/wbu/mini-graph-card/issues/1115)) ([5fe01d1](5fe01d1)) * legend unit percent w/o whitespace ([kalkih#1191](https://github.com/wbu/mini-graph-card/issues/1191)) ([9f5cfd9](9f5cfd9)) * migrate to ha-spinner ([kalkih#1234](https://github.com/wbu/mini-graph-card/issues/1234)) ([d68f651](d68f651)) * more intuitive min_bound_range behavior ([kalkih#1136](https://github.com/wbu/mini-graph-card/issues/1136)) ([54d9875](54d9875)) * name and icon color respect attribute choice ([kalkih#1131](https://github.com/wbu/mini-graph-card/issues/1131)) ([cbfba7a](cbfba7a)) * padding fill ([kalkih#1238](https://github.com/wbu/mini-graph-card/issues/1238)) ([f930fa6](f930fa6)) * process absent UoM in computeLegend() ([kalkih#1237](https://github.com/wbu/mini-graph-card/issues/1237)) ([5724cfd](5724cfd)) * remove unused argument from getBoundary ([kalkih#1193](https://github.com/wbu/mini-graph-card/issues/1193)) ([f5261d9](f5261d9)) * retain the last out-of-bounds state ([kalkih#961](https://github.com/wbu/mini-graph-card/issues/961)) ([8ebe173](8ebe173)), closes [kalkih#881](https://github.com/wbu/mini-graph-card/issues/881) [kalkih#960](https://github.com/wbu/mini-graph-card/issues/960) * Support for `fire-dom-event` ([c29f55f](c29f55f)), closes [kalkih#563](https://github.com/wbu/mini-graph-card/issues/563) * Time would sometime display 24:xx instead of 00:xx [[kalkih#536](https://github.com/wbu/mini-graph-card/issues/536)] ([7c7d921](7c7d921)) * tooltip interval start could be after end ([kalkih#1065](https://github.com/wbu/mini-graph-card/issues/1065)) ([930ee39](930ee39)), closes [kalkih#181](https://github.com/wbu/mini-graph-card/issues/181) * use a proper config in renderState() ([kalkih#1217](https://github.com/wbu/mini-graph-card/issues/1217)) ([c980460](c980460)) * use d3 to interpolate colors ([kalkih#1118](https://github.com/wbu/mini-graph-card/issues/1118)) ([b8676f5](b8676f5)) * **config:** Remove entity config error [kalkih#592](https://github.com/wbu/mini-graph-card/issues/592) ([kalkih#593](https://github.com/wbu/mini-graph-card/issues/593)) ([53d923a](53d923a)) * **documentation:** enquote html color ([dbdeab8](dbdeab8)), closes [kalkih#872](https://github.com/wbu/mini-graph-card/issues/872) * **log:** color_thresholds render incorectly with logaritmic on ([kalkih#542](https://github.com/wbu/mini-graph-card/issues/542)) ([b704885](b704885)), closes [kalkih#531](https://github.com/wbu/mini-graph-card/issues/531) * **stalebot:** issues should also use exemptLabels ([4d74c1f](4d74c1f)) * **workflows:** remove invalid description field ([e755e24](e755e24)) ### Features * add "tooltip--label" class ([kalkih#1202](https://github.com/wbu/mini-graph-card/issues/1202)) ([0d3c184](0d3c184)) * Add loader ([kalkih#1180](https://github.com/wbu/mini-graph-card/issues/1180)) ([30c5263](30c5263)) * add show_legend_state ([kalkih#1173](https://github.com/wbu/mini-graph-card/issues/1173)) ([3b1c827](3b1c827)) * Add support of attribute tree when available ([kalkih#996](https://github.com/wbu/mini-graph-card/issues/996)) ([9c1c31e](9c1c31e)) * Format numbers according to selected language [[kalkih#495](https://github.com/wbu/mini-graph-card/issues/495) [kalkih#509](https://github.com/wbu/mini-graph-card/issues/509)] ([5785bd8](5785bd8)) * pull two years worth of changes into release channel ([f5fb98d](f5fb98d)), closes [kalkih#1059](https://github.com/wbu/mini-graph-card/issues/1059) * **attribute:** Retrieve an attribute instead of the state ([kalkih#564](https://github.com/wbu/mini-graph-card/issues/564)) ([708bfde](708bfde)), closes [kalkih#411](https://github.com/wbu/mini-graph-card/issues/411) [kalkih#245](https://github.com/wbu/mini-graph-card/issues/245) [kalkih#501](https://github.com/wbu/mini-graph-card/issues/501) * **graph:** Add median aggregate function ([kalkih#521](https://github.com/wbu/mini-graph-card/issues/521)) ([57219bd](57219bd)) * **option:** override icon with an image URL ([kalkih#789](https://github.com/wbu/mini-graph-card/issues/789)) ([2860a09](2860a09)) * Interpolate color threshold stops ([kalkih#596](https://github.com/wbu/mini-graph-card/issues/596)) ([3826c0d](3826c0d))








…ering over a point.
The color should match the color of the point being hovered, not the color of the latest point.
fixes #698