Project

General

Profile

Bug #37862

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

Added by Lenz Grimmer almost 4 years ago. Updated over 1 year ago.

Status:
Resolved
Priority:
Low
Assignee:
Category:
UX
Target version:
% Done:

0%

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

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 almost 4 years ago

  • Affected Versions v13.2.5, v14.0.0 added

#2 Updated by Volker Theile almost 4 years 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 almost 4 years 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 almost 4 years ago

Ups, you're right :-)

#5 Updated by Volker Theile almost 4 years ago

  • Assignee set to Volker Theile

#6 Updated by Volker Theile almost 4 years ago

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

#7 Updated by Lenz Grimmer almost 4 years ago

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

#8 Updated by Ernesto Puerta over 1 year ago

  • Project changed from mgr to Dashboard
  • Category changed from 152 to UX

Also available in: Atom PDF