Commit 7a8210ec authored by Alexander.Trofimov's avatar Alexander.Trofimov Committed by Alexander.Trofimov

remove jquery code

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@53475 954022d7-b5bf-4e40-9824-e11837661b57
parent 968e09f8
...@@ -7,11 +7,7 @@ function ChartRender(options) { ...@@ -7,11 +7,7 @@ function ChartRender(options) {
this.options = options; this.options = options;
this.insertChart = function(chart, width, height, bChartPreview) { this.insertChart = function(chart, width, height, bChartPreview) {
g_bChartPreview = !!bChartPreview;
if ( bChartPreview )
g_bChartPreview = true;
else
g_bChartPreview = false;
var api_doc = window["editor"]; var api_doc = window["editor"];
var api_sheet = window["Asc"]["editor"]; var api_sheet = window["Asc"]["editor"];
...@@ -23,10 +19,8 @@ function ChartRender(options) { ...@@ -23,10 +19,8 @@ function ChartRender(options) {
OfficeExcel.drawingCtxCharts = new CDrawingContextWord(); OfficeExcel.drawingCtxCharts = new CDrawingContextWord();
chartCanvas = document.createElement('canvas'); chartCanvas = document.createElement('canvas');
$(chartCanvas).css('width', width); chartCanvas.width = width;
$(chartCanvas).css('height', height); chartCanvas.height = height;
$(chartCanvas)[0].height = height;
$(chartCanvas)[0].width = width;
insertChart(chart, this.options); insertChart(chart, this.options);
var ret = chartCanvas; var ret = chartCanvas;
......
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