Project

General

Profile

Bug #37862

mgr/dashboard: Confusing tilted time stamps in the CephFS performance graph

Added by Lenz Grimmer 8 months ago. Updated 8 months ago.

Status:
Resolved
Priority:
Low
Assignee:
Category:
dashboard/usability
Target version:
Start date:
01/10/2019
Due date:
% Done:

0%

Source:
Tags:
dashboard, usability, low-hanging-fruit
Backport:
Regression:
No
Severity:
4 - irritation
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:

Description

In some configurations, the performance graph displayed on the CephFS page shows time stamps in a tilted fashion, which is causing some irritating visual effect of the graph declining. If possible, this tilting should be disabled.

3052.jpg View (442 KB) Lenz Grimmer, 01/10/2019 04:06 PM

chart.gif View (634 KB) Volker Theile, 01/11/2019 07:29 AM

History

#1 Updated by Lenz Grimmer 8 months ago

  • Affected Versions v13.2.5, v14.0.0 added

#2 Updated by Volker Theile 8 months ago

This behaviour depends on the size of the browser window. I checked the docu of the chart (https://www.chartjs.org/docs/latest/axes/cartesian/time.html), but did not find any config option to prevent this behaviour. I also checked the examples at https://www.chartjs.org/samples and all charts have the same behaviour when changing the browser size, so we can assume that this is a behaviour that can not be prevented.

#3 Updated by Lenz Grimmer 8 months ago

Volker Theile wrote:

This behaviour depends on the size of the browser window. I checked the docu of the chart (https://www.chartjs.org/docs/latest/axes/cartesian/time.html), but did not find any config option to prevent this behaviour. I also checked the examples at https://www.chartjs.org/samples and all charts have the same behaviour when changing the browser size, so we can assume that this is a behaviour that can not be prevented.

Actually, it seems there is a way - according to https://www.chartjs.org/docs/latest/axes/cartesian/ , you can define "maxRotation" and "minRotation".

#4 Updated by Volker Theile 8 months ago

Ups, you're right :-)

#5 Updated by Volker Theile 8 months ago

  • Assignee set to Volker Theile

#6 Updated by Volker Theile 8 months ago

  • Status changed from New to Need Review
  • Pull request ID set to 25909

#7 Updated by Lenz Grimmer 8 months ago

  • Status changed from Need Review to Resolved
  • Target version set to v14.0.0

Also available in: Atom PDF