Bug 8195 - tlwebadm custom license diagrams are not robust
Summary: tlwebadm custom license diagrams are not robust
Status: NEW
Alias: None
Product: ThinLinc
Classification: Unclassified
Component: Web Administration (show other bugs)
Target Milestone: LowPrio
Assignee: Bugzilla mail exporter
Depends on:
Reported: 2023-07-18 09:27 CEST by Tobias
Modified: 2023-08-08 13:16 CEST (History)
1 user (show)

See Also:
Acceptance Criteria:


Description Tobias cendio 2023-07-18 09:27:17 CEST
When creating a custom diagram of license usage in tlwebadm one may insert an arbitrary number of days of which to plot.

While a reasonably small number of days are working as intended, such as up to 1000 days, at some point between 9000 and 10000 the x-axis becomes unreadable. Beyond that point, it just seems to be buggy as the table below illustrates.

Could observe the same behavior in 4.14 and the latest build.

Ultimately, since users are most likely not interested in time intervals beyond a couple of years, perhaps the simplest solution is to set a maximum of 9000 days (~24 years) -- the precipice at which the current method of plotting starts breaking down.

days   | results
10^1   | ✅ 
10^2   | ✅
10^3   | ✅
10^4   | unreadable years
10^5   | unreadable months
10^6   | switches to contemporary years
10^7   | adds more years to contemporary years
10^8   | no graph produced
10^9   | no graph produced
10^10  | no graph produced
10^11  | no graph produced
10^12  | no graph produced
10^13  | switches to contemporary years
10^14  | adds more years to contemporary years
10^15+ | no graph produced

Note You need to log in before you can comment on or make changes to this bug.