From 89b5673b2c82b32c5bb1ee20933f9878b0ccf090 Mon Sep 17 00:00:00 2001 From: Abhishek Saharn Date: Wed, 23 Oct 2024 15:26:10 +0530 Subject: [PATCH] PR comments resolve --- pages/examples/noauth/chartControllers.html | 2 +- src/UXClient/Components/LineChart/LineChart.ts | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/pages/examples/noauth/chartControllers.html b/pages/examples/noauth/chartControllers.html index 16791e4..7e35465 100644 --- a/pages/examples/noauth/chartControllers.html +++ b/pages/examples/noauth/chartControllers.html @@ -2,7 +2,7 @@ - Basic Charts + Basic Charts with custom icons diff --git a/src/UXClient/Components/LineChart/LineChart.ts b/src/UXClient/Components/LineChart/LineChart.ts index 0cdf606..8408bd0 100644 --- a/src/UXClient/Components/LineChart/LineChart.ts +++ b/src/UXClient/Components/LineChart/LineChart.ts @@ -1529,9 +1529,7 @@ class LineChart extends TemporalXAxisComponent { self.overwriteSwimLanes(); self.render(self.data, { ...self.chartOptions, yAxisState: self.nextStackedState() }, self.aggregateExpressionOptions); d3.select(this).attr("aria-label", () => self.getString("set axis state to") + ' ' + self.nextStackedState()); - console.log('toggleAxis-'+ JSON.stringify(this)); setTimeout(() => (d3.select(self.renderTarget).node() as any).focus(), 200); - console.log('toggleAxis- LineChart Done'); }; } @@ -1594,6 +1592,7 @@ class LineChart extends TemporalXAxisComponent { var self = this; this.hasStackedButton = true; this.stackedButton = this.chartControlsPanel.append("button") + .style("left", "60px") .attr("class", "tsi-stackedButton") .attr("aria-label", () => this.getString("set axis state to") + ' ' + this.nextStackedState()) .attr("title", () => this.getString("Change y-axis type"))