Project

General

Profile

Actions

Patch #38359

closed

Render numeric axes in charts as Integers

Added by Holger Just about 1 year ago. Updated about 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
UI
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:

Description

When rendering charts in the issue reports and repository statistics, chart.js will render the axes with fractional numbers if there are only few entries. However, as the number of issues or commits are always entire integers, this is rather confusing and pointless.

The attached patch against the current trunk at r22135 fixes the rendering of the respective axes of chart.js charts to always use full integers. The patch was extracted from Planio.

Before After

Files

before.png (39.6 KB) before.png Holger Just, 2023-03-15 14:40
after.png (36.4 KB) after.png Holger Just, 2023-03-15 14:41
0001-Render-numeric-axis-in-charts-as-integers.patch (1.47 KB) 0001-Render-numeric-axis-in-charts-as-integers.patch Holger Just, 2023-03-15 14:42
Actions #1

Updated by Holger Just about 1 year ago

  • Category set to UI
Actions #2

Updated by Go MAEDA about 1 year ago

  • Target version set to 5.0.6

Setting the target version to 5.0.6.

Actions #3

Updated by Go MAEDA about 1 year ago

  • Status changed from New to Closed
  • Assignee set to Go MAEDA

Committed the fix. Thank you.

Actions

Also available in: Atom PDF