Exports an image from a preexisting chart
Usage:
xlsExportChart (object me, string filePath )
Parameters:
filePath (string) - the path to an save the image file
Returns:
(integer) - The success code
Example:
xtRose = xtra("Rosetta").new( )
xtRose.xlsLaunch( )
xtRose.xlsNewBlank( )
xtRose.xlsSetRange( 1, 1, 2, 5 )
xtRose.xlsInsertTxt( [ ["socks", 20], ["gloves", 4 ], ["scarf", 2 ], ["glove", 10 ], ["ear muff", 1 ] ] )
xtRose.xlsInsertChart( 5, 1, 1, 2, 5, 1, 4, "My winter collection")
xtRose.xlsExportChart( "c:\myImage.png" )
Notes: