var instance = new GC.Spread.Sheets.Charts.ChartCollection(sheet); var value; // Type: boolean value = instance.preserveUnsupportedChart(flag, paintCallBack);
function preserveUnsupportedChart( flag : boolean, paintCallBack : Function ) : boolean;
Parameters
- flag
- indicates whether preserve unsupport chart when import, the default value is false, if set true, it will be painted as paintCallBack.
- paintCallBack
- the display content function for unsupport chart.
Return Value
If no value is set, return the flag value, otherwise, return undefined;