influxdata / influxdata/influxdb
Use nicely rounded tick marks when using Binary Y-axis units
- Dominant language
- Rust
- Stars
- 31.7k
- Forks
- 3.7k
- Avg merge
- 13h 37m
- Merged PRs (30d)
- 8
Description
Steps to reproduce:
* Switch a graph to use the "Binary" Y-Value unit prefix
* Specify some "Total Tick Marks" (e.g., 5)
* View the graph
Expected behavior:
* Tick marks use nicely rounded numbers
Actual behavior:
* Tick marks use particular numbers with many significant digits.
Environment info:
* System info: Linux 4.15.0-163-generic
* InfluxDB version: InfluxDB 2.1.1
* Other relevant environment details: n/a

This uses tick marks like 1.1411, 3.3164, 5.4918, 7.6671, and 9.8424 instead of nice round number like 1, 3, 5, 7, and 9.
Contributor guide
Research direction
Reproduce the graph with the Binary Y-Value unit prefix and a specified Total Tick Marks value such as 5, using the issue's example as the reference. Trace the tick-mark calculation from the graph view and verify that the displayed values use rounded numbers rather than values with many significant digits.
Written by the indexing model from the issue text.
Assessment
- Domain
- data-visualization
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100