Skip to content

Commit

Permalink
PR comments resolve
Browse files Browse the repository at this point in the history
  • Loading branch information
asaharn committed Oct 23, 2024
1 parent a7f29eb commit 89b5673
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pages/examples/noauth/chartControllers.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html>

<head>
<title>Basic Charts</title>
<title>Basic Charts with custom icons</title>

<!-- boilerplate headers are injected with head.js, grab them from the live example header, or include a link to head.js -->
<script src="../boilerplate/head.js"></script>
Expand Down
3 changes: 1 addition & 2 deletions src/UXClient/Components/LineChart/LineChart.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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');
};
}

Expand Down Expand Up @@ -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"))
Expand Down

0 comments on commit 89b5673

Please sign in to comment.