toz/MediLog
9
51
Fork
You've already forked MediLog
3

Fix inconsistent scrolling/inspecting behavior in charts #455

Open
opened 2024年12月05日 08:59:47 +01:00 by Chepycou · 1 comment

Description

This problem occurs at least in the weight chart (which is the one I mainly use).
When a user taps on the screen, it can be to move around in the graph with one finger or to have a more precise look at the values. This means that more often than not, the opposite of what is intended will happen. This behavior is quite unpredictable due to the fact that the outcome depends on if the user is on the edge of a chart and swipes in the opposite direction of that edge, for instance.

Solution attempts

  • One way of solving this would be to make the graph area not scrollable and use a miniature scrollable replica of the chart at the bottom an example would be how this site handles it.
  • Another way would be to have two modes : one "scroll mode" in which finder swipes are meant to move around the chart, zoom in/out etc. and one "inspect mode" in which the user can see his value precisely by moving the cursor without risks of moving the window
## Description This problem occurs at least in the weight chart (which is the one I mainly use). When a user taps on the screen, it can be to move around in the graph with one finger or to have a more precise look at the values. This means that more often than not, the opposite of what is intended will happen. This behavior is quite unpredictable due to the fact that the outcome depends on if the user is on the edge of a chart and swipes in the opposite direction of that edge, for instance. ## Solution attempts - One way of solving this would be to make the graph area not scrollable and use a miniature scrollable replica of the chart at the bottom an example would be how [this site](https://www.root-me.org/ENOENT?inc=statistiques&lang=en) handles it. - Another way would be to have two modes : one "scroll mode" in which finder swipes are meant to move around the chart, zoom in/out etc. and one "inspect mode" in which the user can see his value precisely by moving the cursor without risks of moving the window
Chepycou changed title from (削除) Fix inconsistent scrolling/inspectig behavior in charts (削除ここまで) to Fix inconsistent scrolling/inspecting behavior in charts 2024年12月05日 09:04:00 +01:00
Owner
Copy link

I think I know what you mean, a quick flick will always scroll the chart for me, but when I click longer and move my finger then it's unpredictable if it's the vertical line which will move or the chart which will scroll.
I need to think about this some more, this might be an issue of the underlying chart library which is still in beta.

I think I know what you mean, a quick flick will always scroll the chart for me, but when I click longer and move my finger then it's unpredictable if it's the vertical line which will move or the chart which will scroll. I need to think about this some more, this might be an issue of the underlying chart library which is still in beta.
Sign in to join this conversation.
No Branch/Tag specified
main
3.6.0
3.3.8
master
v3.3.2
v3.2.7
v3.2.5
v3.2.1
v3.2.0
v3.1.2
v3.1.0
v3.0.7
v3.0.6
v3.0.5
v3.0.4
v2.7.4
v3.0.3
v3.0.1
v3.0.0
v2.7.3
v2.7.2
v2.7.1
v2.7.0
v2.6.3
v2.6.2
v2.6.0
v2.5.11
v2.5.10
v2.5.9
v2.5.8
v2.5.7
v2.5.6
v2.5.5
v2.5.4
v2.5.3
v2.5.2
v2.5.1
v2.5.0
v2.4.8
v2.4.7
v2.4.6
v2.4.5
v2.4.4
v2.4.3
v2.4.2
v2.4.0
v2.3.5
v2.3.4
v2.3.3
v2.3.2
v2.3.1
v3.7.1
v3.6.5
v3.6.4
v3.6.3
v3.6.2
v3.6.0
v3.5.1
v3.5.0
v3.4.1
v3.4.0
v3.3.11
v3.3.10
v3.3.9
v3.3.8
v3.3.7
v3.3.6
v3.3.5
v3.3.4
v3.3.3
v3.3.2
v3.2.7
v3.2.6
v3.2.5
v3.2.4
v3.2.3
v3.2.1
v3.2.0
v3.1.2
v3.1.1
v3.1.0
v3.0.7
v3.0.6
v3.0.5
v3.0.4
v3.0.3
v3.0.2
v3.0.1
v3.0.0
v2.7.3
v2.7.2
v2.7.1
v2.7.0
v2.6.3
v2.6.2
v2.6.1
v2.6.0
v2.5.11
v2.5.10
v2.5.9
v2.5.8
v2.5.7
v2.5.6
v2.5.5
v2.5.4
v2.5.3
v2.5.2
v2.5.1
v2.5.0
v2.4.8
v2.4.7
v2.4.6
v2.4.5
v2.4.3
v2.4.2
v2.4.1
v2.4.0
v2.3.5
v2.3.4
v2.3.3
v2.3.2
v2.3.1
v2.3.0
v2.2.5
v2.2.4
v2.2.3
v2.2.1
v2.2.2
v2.2.0
v2.1.2
v2.1.1
v2.1.0
v2.0.6
v2.0.5
v2.0.1
v3.7.0
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
toz/MediLog#455
Reference in a new issue
toz/MediLog
No description provided.
Delete branch "%!s()"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?