From 0c98c439e7df781a666bfcd582b4938f9b770def Mon Sep 17 00:00:00 2001 From: Luis Lopez <33841664+LALuis@users.noreply.github.com> Date: Mon, 6 Jan 2025 16:56:28 -0300 Subject: [PATCH] PLAN-1874: Updating Y axis to display all values (#2064) Updating chart to display all values. Jira: https://sig-gis.atlassian.net/browse/PLAN-1874 --- .../stand-data-chart/stand-data-chart.component.ts | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/src/interface/src/app/treatments/stand-data-chart/stand-data-chart.component.ts b/src/interface/src/app/treatments/stand-data-chart/stand-data-chart.component.ts index c2714bd7c..e1092e6b8 100644 --- a/src/interface/src/app/treatments/stand-data-chart/stand-data-chart.component.ts +++ b/src/interface/src/app/treatments/stand-data-chart/stand-data-chart.component.ts @@ -102,24 +102,12 @@ export class StandDataChartComponent { }, scales: { y: { - min: -100, - max: 100, ticks: { color: '#4A4A4A', // Text color font: baseFont as any, padding: 24, stepSize: 50, - callback: (value) => { - let res = `${value}%`; - - if (value === 100) { - res = '>' + res; - } else if (value === -100) { - res = '<' + res; - } - - return res; - }, + callback: (value) => `${value}%`, }, title: { display: false,