-
-
Notifications
You must be signed in to change notification settings - Fork 243
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
Analyzer view does not show anything if stateDescription metadata set for Dimmer Item #1523
Comments
@ghys, could you please take a look on this? |
This is the relevant code, when an item has state options the series is considered "discrete":
The idea was that it would be represented as colored areas on the chart, one color by value, but this ended only implemented for "ON" and "OPEN" states being rendered as an area, not generic states. |
@ghys, thanks! is there any plan to change it for dimmer type? |
I wouldn't mind having the options ignored for now, but only while the "discrete" graphs are not implemented (would resemble something like https://echarts.apache.org/examples/en/editor.html?c=custom-profile&reset=1&edit=1 somehow merged with the usual line charts). Ultimately defining options should mean that you expect such a chart with colored rectangles, each color representing a different option. |
Close #1523. Signed-off-by: Yannick Schaus <github@schaus.net>
Close #1523. Signed-off-by: Yannick Schaus <github@schaus.net>
I have a Dimmer item where I set state description metadata like
Values are stored in DynamoDB
When I try to analyze this item, Analyzer view does not show anything
like:
When I remove stateDescription metadata, it shows raw values as expected
Expected behavior
Analyzer should show values as defined in stateDescription or raw values
Steps to reproduce
Your environment
Browser console
As I see it retrives item info as well data from persistence correctly.
Browser network traffic
Additional information
The text was updated successfully, but these errors were encountered: