-
Notifications
You must be signed in to change notification settings - Fork 52
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
Added interaction mode to 'nearest' to fixed cluttered tooltips #1402
Added interaction mode to 'nearest' to fixed cluttered tooltips #1402
Conversation
So, with the after here, I'd still expect to see, in the tooltip, a value for each series, that matches the |
@joepavitt Thanks for the clarification! That makes sense now. I noticed that the existing implementation is correct and the issue is with the data points; the data point values are keep stacking when taking the cursor through the chart line Screen.Recording.2024-10-15.at.16.18.31.mov |
Ooh, good find, so an underlying ChartJS bug possibly? Can you check through their existing bug list to see if it's something that has been reported. |
Thanks for the suggestion! I'm checking the ChartJS bug list now. I'll update you soon |
Any update please @gayanSandamal? |
@joepavitt I found the exact same issue reported chartjs/Chart.js#8293 After carefully going through the solutions provided they have are recommending to use 'nearest' (which was my initial solution 2608ef1) option instead But for our scenario we cannot use that when the data points are overlapping as the tooltip gets the values of from the intersection. I've tried the below options
The only thing we can do here is reduce the |
How about using a filter per: chartjs/Chart.js#5231 |
Thanks a lot. I'm checking this |
@joepavitt PR is updated with this commit 21076d1 PR description is also updated #1402 (comment) |
Hi @joepavitt, |
Yes, but it's part of the ChartJS config, if/when we switch to Apache, we would need to make an equivalent. I can't justify getting Gayan to spend 4-6 weeks on migrating to Apache eCharts at the moment.
It's something we hope to do, but it's a monstrous piece of work, and we're regularly distracted by the many issues and smaller feature requests being open |
Description
Before
Screen.Recording.2024-10-15.at.12.20.18.mov
After
Screen.Recording.2024-10-16.at.14.23.05.mov
This doesn't require any E2E tests or document updates
Related Issue(s)
#1396
Checklist
flowforge.yml
?FlowFuse/helm
to update ConfigMap TemplateFlowFuse/CloudProject
to update values for Staging/ProductionLabels
area:migration
label