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

No mouse-over information on ui_chart when above maximum value #644

Closed
5 tasks
mbbrenner opened this issue Dec 3, 2020 · 2 comments
Closed
5 tasks

No mouse-over information on ui_chart when above maximum value #644

mbbrenner opened this issue Dec 3, 2020 · 2 comments

Comments

@mbbrenner
Copy link

What are the steps to reproduce?

Create a flow with a ui_chart. Set it to bar chart and limit the y-Axis. Then send data to it. Some values above, some values below the max y-Axis value

What happens?

For the small values, it works fine. A mouse-over shows the value. For larger values (exceeding the max. Y-Axis value), the mouse-over information is not shown

What do you expect to happen?

Always show mouse-over information regardless what value

Please tell us about your environment:

  • Node-RED version: 1.1.0
  • Node.js version: as in docker image nodered-node-red_1.1.0
  • npm version: as in docker image nodered-node-red_1.1.0
  • Platform/OS: Docker on Synology X86
  • Browser: Safari
@knolleary knolleary transferred this issue from node-red/node-red Dec 3, 2020
@knolleary
Copy link
Member

Moved over to the node-red-dashboard repo as this isn't a core Node-RED issue.

@dceejay
Copy link
Member

dceejay commented Dec 3, 2020

This is a limitation of the underlying chart.js library - the tooltip is attached to the top of the bar - so if it goes out of the view window it gets cropped. eg if just above you can see part of the mouseover.
image
You can easily also demonstrate this with a default chart.js demo.

@dceejay dceejay closed this as completed Dec 4, 2020
@dceejay dceejay added this to Release 2.23.0, 1, 2, 3, 4, 5 in Dashboard - Things to do Dec 20, 2020
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

3 participants