Bug 429259 - Line chart: Option to influence ticks
Summary: Line chart: Option to influence ticks
Status: REPORTED
Alias: None
Product: plasma-systemmonitor
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: KSysGuard Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-11-17 17:20 UTC by Richard Llom
Modified: 2021-02-04 15:12 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Richard Llom 2020-11-17 17:20:00 UTC
The ticks in the line chart seem to be hard coded to 4. When measuring a range which is not dividable by 4, e.g. 0 to 90, those ticks are setting at some not so nice marks:
23° 45° 68° 90°

Therefore it would be nice to have some way to influence the tick positions.

Possible solution I came up with:
a)
Set tick grid, eg. 20 for above example would give ticks at 20,40,60 and 80 (the graph would still go to 90). This would be the nicest solution IMHO.

b)
Specify number of ticks, eg 3 for above example would give ticks at 30, 60 ,90. Good solution.

c)
Toggle for even/odd number of ticks. Better than nothing I guess kind of solution ;-)