Commit a0adea50 authored by SergeyLuzyanin's avatar SergeyLuzyanin

getSelectionRangeValue

parent 850b224e
......@@ -4107,7 +4107,11 @@ function DrawingObjects() {
var box = selectedRange.getBBox0();
settings.putInColumns(!(box.r2 - box.r1 < box.c2 - box.c1));
}
settings.putRange(worksheet.getSelectionRangeValue());
var oRangeValue = worksheet.getSelectionRangeValue();
if(oRangeValue){
settings.putRange(oRangeValue.asc_getName());
}
settings.putStyle(2);
settings.putType(Asc.c_oAscChartTypeSettings.lineNormal);
settings.putTitle(Asc.c_oAscChartTitleShowSettings.noOverlay);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment