0

Download/Export HeatMap ngx swimlane char as image.

Refer plunker url https://plnkr.co/edit/2rtX5cueg2hlzmztUbkH?p=preview

Need any option/property to download the chart as image

Code`

export class App {

    //single: any[];
    multi: any[];

    // Size to be displayed 
    view: any[] = [1000, 400];

    // options

    showXAxis = true;
    showYAxis = true;
    gradient = false;
    showLegend = true;
    showXAxisLabel = true;
    xAxisLabel = 'Hour';
    showYAxisLabel = true;
    yAxisLabel = 'Days';
}
4

1 回答 1

0

我没有专门查看该图表组件,但我假设它正在将图表绘制到画布上。如果您可以获得对画布的引用,则可以从中生成图像。请参阅将 HTML 画布捕获为 gif/jpg/png/pdf?

于 2018-10-31T11:11:22.397 回答