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

GaugeSparkLineTile chart component is not working properly #34

Open
kosmelju opened this issue Nov 22, 2017 · 4 comments
Open

GaugeSparkLineTile chart component is not working properly #34

kosmelju opened this issue Nov 22, 2017 · 4 comments

Comments

@kosmelju
Copy link

I'm using GaugeSparkLineTile with temperature values oscilating around 45°C and min/max range 0/100. At the beginning the included trend 's Y range is from 0 to 40 with small trend line located in trend's top part (see attached image start.png). After some time when trend line fills whole trend area, the range and trend line changes in a strange way - it somehow zooms around the oscilating value, but trend Y values are displayed twice (see attached image later.png). At least the doubled Y values should not be displayed and might be nice to be able to configure what range should be displayed or enable/disable "zoom" behaviour. I've also observed, that when gradientStops are defined, it behaves incorrectly according to different zoom levels of trend's Y axe (if zoomed, gradientStops are applied as when the whole range is displayed). Thank you.
start
later

@HanSolo
Copy link
Owner

HanSolo commented Nov 23, 2017

Should be fixed with commit 3b6d166.
The scale will always adjust to the min- and max-measured value that is in the list of values that will be displayed (averagingPeriod). Can you try with the latest code?

@kosmelju
Copy link
Author

kosmelju commented Nov 27, 2017

It's quite better now, but Y axe values are still not fully correct, see attached image. It seems you don't count with less then four Y axe lines, just guess.
sparkline

@kosmelju
Copy link
Author

Hi, something new with this issue?

@kosmelju
Copy link
Author

kosmelju commented Feb 1, 2018

Sorry, I've closed it by mistake.

@kosmelju kosmelju reopened this Feb 1, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants