Skip to content

Commit

Permalink
Merge pull request #73 from devexperts/fix-snapshot-yaxis
Browse files Browse the repository at this point in the history
fix: show y axis on snapshot
  • Loading branch information
Keelaro1 authored Nov 7, 2023
2 parents 525be5d + bea6a36 commit 1fe82e1
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 1fe82e1

Please sign in to comment.