This commit is contained in:
2024-11-19 14:33:57 +03:30
parent 67b7d416cb
commit ee9ea11b6a
6 changed files with 1416 additions and 310 deletions
@@ -93,6 +93,25 @@ class XCXPVPivotObject : public XCBaseObject
ObjName(name);
}
//
string mTrendName = "MID_" + name;
double mid = pivot.CalculateMid();
result = mTrend.Create(
chart_id,
mTrendName,
window,
pivot.from,
mid,
pivot.to,
mid //
);
if (!result)
{
//
mRect.Delete();
mRect.Detach();
}
//
return result;
}
@@ -115,6 +134,7 @@ class XCXPVPivotObject : public XCBaseObject
//
mRect.Width(value);
mTrend.Width(value);
}
/**
@@ -124,7 +144,9 @@ class XCXPVPivotObject : public XCBaseObject
*/
void PivotColor(color value)
{
//
mRect.Color(value);
mTrend.Color(value);
}
/**
@@ -134,7 +156,9 @@ class XCXPVPivotObject : public XCBaseObject
*/
void PivotStyle(ENUM_LINE_STYLE value)
{
//
mRect.Style(value);
mTrend.Style(value);
}
/**
@@ -167,4 +191,5 @@ class XCXPVPivotObject : public XCBaseObject
//
// Props ...
CChartObjectRectangle mRect;
CChartObjectTrend mTrend;
};