toPNG

exports data of a component to a PNG file

void toPNG(string id,string name);

Parameters

idstringthe id of the exported view
namestringoptional, the name of the created PNG file

Example

webix.toPNG($$("myChart"));

Related samples

See also
Back to top