8 #ifndef MSICHART_PLOTMANAGER_H 9 #define MSICHART_PLOTMANAGER_H 10 #include "../Dataset.h" void SetLegend(Legend::Ptr iLegendPtr)
void SetDataset(Dataset::Ptr iDataSetPtr)
Int32 mGraphType
The graph type.
Definition: PlotManager.h:131
void GetPlotArea(Rect2D &orRect)
Int32 mTopMargin
Definition: PlotManager.h:138
Int32 mLeftMargin
Definition: PlotManager.h:136
Definition: Dataset.h:198
bool mRecalculateFrame
Indicates whether the frame should be recalculated and repositioned.
Definition: PlotManager.h:134
MSynch::SmartPtr< PlotManager > Ptr
Definition: PlotManager.h:46
Dataset::Ptr mDatasetPtr
The pointer to Dataset.
Definition: PlotManager.h:130
virtual void OnZooming(Int32 iOldStart, Int32 iOldEnd, Int32 iNewStart, Int32 iNewEnd, bool iIsVertical)
Legend::Ptr mLegendPtr
The pointer to Legend.
Definition: PlotManager.h:129
EnumOrientation mOrientation
Chart areas orientation.
Definition: PlotManager.h:32
#define Int32
Definition: BasicTypes.h:20
std::vector< std::vector< Int32 > > mGroupDistribution
Group distribution of all groups.
Definition: PlotManager.h:35
bool RectangleIntersection(const Rect2D &irRectA, const Rect2D &irRectB, Rect2D &orRect) const
bool mUseChartArea
Indicates whether Chart Areas is enabled or not.
Definition: PlotManager.h:30
PlotManager(const TripleId &irTripleId, GraphObjectManager *ipManager, const Rect2D &irPlotArea)
virtual Int32 GetDataAreaSplitX() const
Rect2D mPlotArea
The whole plot area.
Definition: PlotManager.h:132
std::vector< std::vector< Int32 > > mSeriesDistribution
Series distribution of all series.
Definition: PlotManager.h:34
void SetMarginInfo(Int32 iLeftMargin, Int32 iRightMargin, Int32 iTopMargin, Int32 iBottomMargin)
virtual bool GetToolTipData(Int32 iSeriesID, Int32 iGroupID, double &orValue, double &orPercentValue, Int32 iOffset=0)
Definition: SmartPtr.h:38
void CalculateChartAreas(const Rect2D &irDataArea, std::vector< Rect2D > &orChartAreas)
EnumOrientation
Definition: CategoryPlot.h:21
Int32 FindChartAreaIdBySeriesId(Int32 iSeriesId) const
Definition: PlotManager.h:22
Int32 mRightMargin
Definition: PlotManager.h:137
virtual void GetOptions(Int32 iSeriesId, Int32 iPropertyId, CComVariant *opValue) const
Definition: Msi_ccomvariant.h:24
void RectangleUnion(const Rect2D &irRectA, const Rect2D &irRectB, Rect2D &orRect) const
Int32 mChartAreaNumber
Chart areas count.
Definition: PlotManager.h:31
ChartAreaOptions()
Definition: PlotManager.h:24
ChartAreaOptions mChartAreaOptions
The chart areas option.
Definition: PlotManager.h:133
Definition: GraphObjectManager.h:37
Definition: CategoryPlot.h:24
Use four Int32 values to represent a 2D rectangle.
Definition: Rect2D.h:25
Definition: PlotManager.h:43
std::vector< double > mVecPercentageHeightOrWidth
Space division of chart areas.
Definition: PlotManager.h:33
Int32 mBottomMargin
Definition: PlotManager.h:139