Skip to content

Commit

Permalink
fix: heatmap render error (#6557)
Browse files Browse the repository at this point in the history
  • Loading branch information
wang1212 authored Dec 17, 2024
1 parent a4effad commit b9ca90b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/shape/heatmap/heatmap.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ export const Heatmap: SC<HeatmapOptions> = (options, context) => {
.style('y', 0)
.style('width', width)
.style('height', height)
.style('src', ctx.canvas)
.style('src', ctx.canvas.toDataURL())
.style('transform', transform)
.call(applyStyle, style)
.node();
Expand Down

0 comments on commit b9ca90b

Please sign in to comment.