Last Works ...

This commit is contained in:
2024-11-18 05:10:49 +03:30
parent 649e373163
commit 72c4446620
4 changed files with 1356 additions and 45 deletions
+70
View File
@@ -0,0 +1,70 @@
//
// Peaks ...
int peaksCount = ArraySize(conditions.peaks);
if (IsValidSize(peaksCount))
{
//
for (int i = 0; i < peaksCount; i++)
{
//
XPVPivot iPivot = conditions.peaks[i];
//
XCXPVPivotObject *iObj;
iObj = new XCXPVPivotObject();
//
bool isCreated = iObj.Create(
mPOIDrawer.ChartIdentification(),
mPOIDrawer.SubWindowIdentification(),
iPivot //
);
if (isCreated)
{
//
iObj.PivotWidth(1);
iObj.PivotFill(false);
iObj.PivotColor(clrAqua);
iObj.PivotStyle(STYLE_SOLID);
//
AddObjectIfNotExists(iObj);
}
}
}
//
// Vales ...
int valesCount = ArraySize(conditions.vales);
if (IsValidSize(valesCount))
{
//
for (int i = 0; i < valesCount; i++)
{
//
XPVPivot iPivot = conditions.vales[i];
//
XCXPVPivotObject *iObj;
iObj = new XCXPVPivotObject();
//
bool isCreated = iObj.Create(
mPOIDrawer.ChartIdentification(),
mPOIDrawer.SubWindowIdentification(),
iPivot //
);
if (isCreated)
{
//
iObj.PivotWidth(1);
iObj.PivotFill(false);
iObj.PivotStyle(STYLE_SOLID);
iObj.PivotColor(clrMagenta);
//
AddObjectIfNotExists(iObj);
}
}
}