]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: Round off y-axis value of area chart 68525/head
authorAfreen Misbah <afreen@ibm.com>
Tue, 21 Apr 2026 20:14:31 +0000 (01:44 +0530)
committerAfreen Misbah <afreen@ibm.com>
Wed, 22 Apr 2026 10:03:18 +0000 (15:33 +0530)
commita6012c3954830f4b60ef49218d40d4e8ed3bd14c
tree05823ac42aed6e7638bc81e7bb7606508c9dcca0
parent2f22470625566d3714c9250ee666476c7db05520
mgr/dashboard: Round off y-axis value of area chart

- by default y-axos set to 1 for all
- the value round off for area chart is seperated from y-axis ticks
- also fixes a bug where all IOPS y-ticks being repeated 1,1,0,0

The following values are set for now:

IOPS: valueDecimals=0, axisDecimals=1
Latency: valueDecimals=2, axisDecimals=1
Throughput: valueDecimals=2, axisDecimals=1
Consumption: valueDecimals=2, axisDecimals=1

Fixes https://tracker.ceph.com/issues/76191

Signed-off-by: Afreen Misbah <afreen@ibm.com>
src/pybind/mgr/dashboard/frontend/src/app/ceph/overview/storage-card/overview-storage-card.component.html
src/pybind/mgr/dashboard/frontend/src/app/shared/components/area-chart/area-chart.component.ts
src/pybind/mgr/dashboard/frontend/src/app/shared/components/performance-card/performance-card.component.html