Last Works ...
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user