![]() |
jQWidgets is a JavaScript framework for making web-based applications for PC and mobile devices. It is a very powerful and optimized framework, platform-independent, and widely supported. jqxChart is a lightweight and powerful chart widget written 100% in javascript. It offers many advanced features and supports three different rendering technologies – SVG, HTML5 Canvas & VML. The saveAsPNG() method is used to export the chart’s content as PNG image. It takes fileName, exportServer type value as parameter, takes String type value and does not return any value. Syntax: var saveAsPNG = $('#jqxChart') .jqxChart('saveAsPNG', string); Linked Files: Download https://www.jqwidgets.com/download/ from the link. In the HTML file, locate the script files in the downloaded folder:
Example: The below example illustrates the jqxChart saveAsPNG() method in jQWidgets: HTML
Output: |
Reffered: https://www.geeksforgeeks.org
JQuery |
Type: | Geek |
Category: | Coding |
Sub Category: | Tutorial |
Uploaded by: | Admin |
Views: | 12 |