Completed
Last Updated: 02 Jun 2021 13:33 by ADMIN
Created by: Ricardo
Comments: 2
Category: Charts
Type: Feature Request
0

Request to allow control of SVG dimensions from exportSVG options

 

Ideal behavior:

 

export class AppComponent {

@ViewChild('chart')
private chart: ChartComponent;
public seriesData: number[] = [1, 2, 3, 5];
public exportChart(): void {
this.chart.exportSVG({ width: 600, height: 300 }).then((dataURI) => {
saveAs(dataURI, 'chart.svg');
});
}
}

 

this should produce a 600x300 svg. ChartComponent.prototype.exportSVG does not pass options into ChartComponent.prototype.exportVisual in the kendo-angular-charts library. I request that it pass these options in to allow for SVG dimension specification. I have modified the code manually and it behaves as expected.

Completed
Last Updated: 02 Aug 2021 09:36 by ADMIN
For our line chart it would help a lot to be able to display the date (category) along with the value when the user hovers over with the mouse.

If dataItem was added to ChartSeriesTooltipTemplate then that would allow full flexibility, which would be nice.

http://www.telerik.com/kendo-angular-ui/components/charts/api/TooltipComponent/#toc-format

http://www.telerik.com/kendo-angular-ui/components/charts/api/SeriesTooltipTemplateDirective/