question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Scalar line charts need more precision on axis labels, tooltip

See original GitHub issue

If TensorBoard loads a scalar chat with values (Wall time,Step,Value)

1579727534.794,64000,5.544368743896484
1579727944.389,126000,5.545065402984619
1579728140.318,166000,5.545552730560303
1579728495.964,222000,5.545528411865234

The values will be labeled on the y-axis as ‘5.55’. This lack of precision can be highly misleading. TB should be showing more significant digits when necessary, or perhaps at least an ellipsis ‘…’.

Similarly, the precise “Value” column in the hover-tooltip shows ‘5.55’. This means the only reliable way to get the precise values is by downloading the data as CSV or JSON.

image

Issue Analytics

  • State:open
  • Created 4 years ago
  • Comments:12 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
Randlcommented, Apr 21, 2020

This also happens in case the values themselves are relatively large: Screenshot from 2020-04-21 14-56-08 One possible fix is to calculate tickstep and choose precision of formatter to be at least ceil(log(maximal value/tickstep)).

1reaction
psybuzzcommented, Apr 8, 2020

Thanks for taking a look, no worries if it didn’t work. In my opinion, fixing the line chart rendering still seems like the proper way to address this. It would be ideal if misleading information wasn’t shown in the default state.

Downloading a line chart’s CSV/JSON data or a PNG is actually already possible today! The “Show data download links” checkbox in the top left enables controls on each card to allow this.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Re: Tooltip on linecharts - Microsoft Power BI Community
Hello,. I am trying to re-do a colleagues Dashboard. I have created a line chart, with > 10 lines showing. When creating a...
Read more >
Axis Tooltips – amCharts 4 Documentation
Normally, the number shown in a ValueAxis tooltip will have the precision applied to reflect the scale and grid increment of the axis...
Read more >
Highchart line chart Tooltip showing index value instead of X ...
When I called the Highcharts.Axis.prototype.init method like below, instead of xAxis label its showing index. http://jsfiddle.net/mkpasala/ ...
Read more >
Custom Charts - Documentation - Weights & Biases - WandB
Log arbitrary tables of data and visualize them exactly how you want. Control details of fonts, colors, and tooltips with the power of...
Read more >
Highcharts JS API Reference
It allows to add custom labels or shapes. The items can be tied to points, axis coordinates or chart pixel coordinates. Requires. modules/annotations....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found