Commit 0781fe56 authored by GoshaZotov's avatar GoshaZotov

for test

parent 571531d0
...@@ -11017,8 +11017,9 @@ drawSurfaceChart.prototype = ...@@ -11017,8 +11017,9 @@ drawSurfaceChart.prototype =
for(var n = 0; n < numCache.ptCount; n++) for(var n = 0; n < numCache.ptCount; n++)
{ {
//рассчитываем значения //рассчитываем значения
idx = dataSeries[n] && dataSeries[n].idx != null ? dataSeries[n].idx : n; idx = dataSeries[n] && dataSeries[n].idx != null ? dataSeries[n].idx : n;
val = Math.round(this._getYVal(idx, i) * roundInt) / roundInt; //TODO временно заменил idx на n. позже нужно использовать idx
val = Math.round(this._getYVal(n, i) * roundInt) / roundInt;
//val = this._getYVal(idx, i); //val = this._getYVal(idx, i);
x = xPoints[n].pos * this.chartProp.pxToMM; x = xPoints[n].pos * this.chartProp.pxToMM;
...@@ -11026,8 +11027,9 @@ drawSurfaceChart.prototype = ...@@ -11026,8 +11027,9 @@ drawSurfaceChart.prototype =
z = (perspectiveDepth / (this.chartProp.series.length - 1)) * (i); z = (perspectiveDepth / (this.chartProp.series.length - 1)) * (i);
//рассчитываем значения //рассчитываем значения
var idx2 = dataSeries[n + 1] && dataSeries[n + 1].idx != null ? dataSeries[n + 1].idx : null; var idx2 = dataSeries[n + 1] && dataSeries[n + 1].idx != null ? dataSeries[n + 1].idx : null;
var val2 = this._getYVal(idx2, i); //TODO временно заменил idx на n. позже нужно использовать idx
var val2 = Math.round(this._getYVal(n + 1, i) * roundInt) / roundInt;
if(idx2 !== null) if(idx2 !== null)
{ {
......
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