ArduPilot / ArduPilot/UAVLogViewer

x-axis shows fractal milliseconds instead minutes and seconds (when using docker container)

Open
#305 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
258
Forks
296
PR merge metrics
No merged PRs in 30d

Description

By using docker and setting up a server by my own, I get a running system (GREAT work, thanks!)

However, instead of getting minutes and seconds on the x-axis (e.g. 1m 40.0 s) when using plot.ardupilot.org, I get a fractal number (e.g. 427518.324356435).

In Plotly.vue, the format is defined as: timeformat = ':02,2f'
But I cannot see, how the desired format is generated from that :-/

Examples below.

Good:
![desired_example](https://user-images.githubusercontent.com/1063027/132994710-c7107382-ab7a-4a73-9a15-c42376eed709.jpg)

Worst:
![example](https://user-images.githubusercontent.com/1063027/132994555-a0613ed2-9488-4e60-9d55-cae56d89496c.jpg)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the x-axis output with the Docker-based server and a plot at plot.ardupilot.org. Inspect the timeformat setting in Plotly.vue, compare the displayed value with the desired minutes-and-seconds examples, and verify that the axis shows the intended format after the change.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
data-visualization, frontend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.