Commit 4f06259e authored by Sergey.Luzyanin's avatar Sergey.Luzyanin Committed by Alexander.Trofimov

Баг с маркером в линейной диаграмме.

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@63911 954022d7-b5bf-4e40-9824-e11837661b57
parent 9394e294
...@@ -2909,43 +2909,34 @@ DrawingObjectsController.prototype = ...@@ -2909,43 +2909,34 @@ DrawingObjectsController.prototype =
{ {
chartSettings.bLine = true; chartSettings.bLine = true;
} }
if(chartSettings.showMarker) if(chartSettings.showMarker)
{ {
//for(var j = 0; j < chart_type.series.length; ++j) if(!chart_type.marker)
//{
// chart_type.series[j].setMarker(null);
//}
if(chartSettings.showMarker === true)
{ {
if(!chart_type.marker) chart_type.setMarker(true);
{
chart_type.setMarker(true);
}
} }
if(chartSettings.showMarker) for(var j = 0; j < chart_type.series.length; ++j)
{ {
for(var j = 0; j < chart_type.series.length; ++j) if(chart_type.series[j].marker)
{ {
if(chart_type.series[j].marker) chart_type.series[j].setMarker(null);
{
chart_type.series[j].setMarker(null);
}
} }
} }
else }
else
{
for(var j = 0; j < chart_type.series.length; ++j)
{ {
for(var j = 0; j < chart_type.series.length; ++j) if(!chart_type.series[j].marker)
{ {
if(!chart_type.series[j].marker) if(!chart_type.series[j].marker)
{ {
if(!chart_type.series[j].marker) chart_type.series[j].setMarker(new CMarker());
{ }
chart_type.series[j].setMarker(new CMarker()); if(chart_type.series[j].marker.symbol !== SYMBOL_NONE)
} {
if(chart_type.series[j].marker.symbol !== SYMBOL_NONE) chart_type.series[j].marker.setSymbol(SYMBOL_NONE);
{
chart_type.series[j].marker.setSymbol(SYMBOL_NONE);
}
} }
} }
} }
......
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