Skip to content

Commit

Permalink
fix: show y axis on snapshot
Browse files Browse the repository at this point in the history
  • Loading branch information
Keelaro1 committed Nov 7, 2023
1 parent 525be5d commit bea6a36
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/chart/components/snapshot/snapshot.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ export class SnapshotComponent extends ChartBaseElement {
ctx.drawImage(this.elements.mainCanvas, 0, 0, width, height);
ctx.drawImage(this.elements.dynamicObjectsCanvas, 0, 0, width, height);
ctx.drawImage(this.elements.crossToolCanvas, 0, 0, width, height);
ctx.drawImage(this.elements.yAxisLabelsCanvas, 0, 0, width, height);
userDrawCallback && userDrawCallback(ctx);
return new Promise<Blob>((resolve, fail) =>
this.elements.snapshotCanvas.toBlob(blob => {
Expand Down

0 comments on commit bea6a36

Please sign in to comment.