traccar / traccar-web

Traccar GPS Tracking System
https://www.traccar.org
Apache License 2.0
814 stars 1.13k forks source link

Chart y axis values not fully visible #1137

Open soniok opened 1 year ago

soniok commented 1 year ago

Hello, thank you for this project.

Describe the bug On the chart section under reports, the values that are displayed on the Y axis outside of the left of the chart, are not fully visible when that have more then a certain a mount of characters. The left side of the value is hidden under the left pan menu. For smaller characters length, for example 1 to 5 characters long, there is not problem. Also the issue is also valid whether or not I zoom the webpage. This issue can be seen with Firefox and chrome.

To Reproduce Steps to reproduce the behaviour:

  1. Go to 'Chart section'
  2. Click on 'select the value ADC0 in order to display the GPS trackers input voltage in millivolts'
  3. Click on 'Show'
  4. See error: The Y axis values are not fully visible if they have roughly more than 6 characters string length.

Expected behaviour I expect to fully see the values of the Y axis. Maybe this is not a good idea when values are very long strings for example if they have more 10 characters. But for voltage values like in this example, it would be nice to fully see the value.

Screenshots 2023-06-17 12_23_39-

Desktop (please complete the following information):

Additional context Traccar Server self-hosted via official docker. Traccar App Version: 5.8 Traccar Server Version: 5.8 Traccar Docker Version: Latest