10 #ifndef MsiChart_Plot_h 11 #define MsiChart_Plot_h 13 #include "../Dataset.h" 65 class TrendLineObject;
188 void CreateTrendLine(
const std::vector<double>& irX,
const std::vector<double>& irY,
const TripleId& irTripleId,
bool IsNull() const
Definition: SmartBase.h:83
ChartContext::Ptr mChartContextPtr
The drawing context instance. Only one object in a chart.
Definition: GraphObjectManager.h:273
Definition: DataLabelManager.h:142
bool mShowCoefficients
Definition: Plot.h:48
void LoadValueAxisInfo(Int32 iSeriesIndex, bool iIsDualAxes, EnumValueAxis &orValueAxis) const
void GetOptions(Int32 iPropertyId, VARIANT *opValue) const
void SetDataset(Dataset::Ptr iDataSetPtr)
Definition: Plot.h:290
EnumDSSGraphRegressionType mRegressionType
Definition: Plot.h:44
Legend::Ptr GetLegend() const
Definition: Plot.h:280
bool HasTrendLines() const
Definition: Plot.h:300
Dataset::Ptr mDatasetPtr
Definition: Plot.h:245
void SetVAMetricIndexDrawn(Int32 iValueMetricIndex)
Definition: Plot.h:329
void CreateTrendLine(const std::vector< double > &irX, const std::vector< double > &irY, const TripleId &irTripleId, GraphObjectManager *ipManager, GraphCollectionObject *ipParentObject, Axis *ipXAxis, Axis *ipYAxis, GraphTrendLineOptions *ipTrendLineOptions, const Rect2D &irDataArea, bool iIsVertical, const Point2D &irDepthOffset, bool iIsY2=false)
virtual bool GetMaxElementOffsetClippedByBoundary(bool iIsOnXAxis, double &orLowOffset, double &orHighOffset)
Definition: GraphCollectionObject.h:19
EnumValueAxis
Definition: Plot.h:54
virtual void GenerateImageMap(ImageMap &iorImageMap)
bool GetVAMetricIndexDrawn(Int32 iValueMetricIndex)
Definition: Plot.h:324
std::vector< GraphObject::Ptr > mPostTrendLineObjects
Definition: Plot.h:257
virtual bool GetGroupSpace(std::vector< Int32 > &orVect, Int32 iGroupIndex)
Plot(const TripleId &irTripleId, GraphObjectManager *ipManager, const Rect2D &irDataArea)
Definition: Dataset.h:198
void MoveLabel(TextObject *ipTextObject, const Point2D &irTopRight, const Point2D &irBottomLeft, bool iIsReverse, bool iIsVertical, EnumDSSGraphDataTextPosition iLabelLocation) const
bool mUserSeriesGraphColor
Definition: Plot.h:49
EnumDSSGraphDataTextPosition
Definition: DSSIPhoneEnums.h:1836
Definition: DSSIPhoneEnums.h:1982
DataLabelManager::Ptr mLabelManager
Definition: Plot.h:260
bool mUseSeasonal
Definition: Plot.h:50
#define Int32
Definition: BasicTypes.h:20
virtual Int32 GetMaxElementRadius()
void GetDataArea(Rect2D &orDataArea) const
Definition: TextObject.h:181
virtual void RefreshValueAxis(const std::map< Int32, std::pair< double, double > > &irScaleSet, const Rect2D &irRect)
Legend::Ptr mLegendPtr
Definition: Plot.h:246
MSynch::SmartPtr< Plot > Ptr
Definition: Plot.h:73
void AddLegendMarkerToCollection(Int32 iSeriesId, GraphCollectionObject *ipRiserCollection, bool iIsLineCollection=false, bool iIsShownMarker=true, unsigned char iMarkerShape=DssGraphMarkerShapeRectangle, bool iIsShownLine=true, bool iIsLineVertical=false) const
void AddTrendLineAnadRefLine(GraphObject::Ptr iLine)
bool mShowEquation
Definition: Plot.h:47
Definition: SmartPtr.h:38
Rect2D mDataArea
Definition: Plot.h:250
virtual void GenerateView()
Int32 mPeriod
Definition: Plot.h:46
void LoadTrendLineProperties(Int32 iSeriesId, GraphTrendLineOptions &iorTrendLineOption) const
virtual void OnRectangleSelection(const Rect2D &irRect, std::vector< GraphObject::Ptr > &iorSelectedObjects) const
std::vector< Int32 > mSeriesId
Definition: Plot.h:249
bool mIsExpomentialBaseNearOne
Definition: Plot.h:51
void DrawPostTrendLineObjects()
std::vector< AreaRec * > ImageMap
Definition: ImageMap.h:99
std::vector< TrendLineObject::Ptr > mTrendLines[2]
Definition: Plot.h:253
Dataset::Ptr GetDataset() const
Definition: Plot.h:275
void AdjustTrendLineEquation(Rect2D &irRect, EnumTrendLineIndex iIndex)
EnumTrendLineIndex
Definition: Plot.h:23
Definition: Msi_variant.h:147
EnumDSSGraphRegressionType
Definition: DSSIPhoneEnums.h:1902
bool mVAIndexDrawn[5]
Definition: Plot.h:263
GraphObjectManager * mpManager
The manager object which created the current object.
Definition: GraphObjectManager.h:276
std::vector< Int32 > mGroupID
Definition: Plot.h:248
void SetDataArea(const Rect2D &irDataArea)
std::set< Int32 > mVAIndexDrawnSet
Definition: Plot.h:264
void GeneratePostTrendLineViews()
GraphTrendLineOptions()
Definition: Plot.h:32
Definition: DSSIPhoneEnums.h:1904
Int32 mOrder
Definition: Plot.h:45
virtual bool GetToolTipData(Int32 iSeriesID, Int32 iGroupID, double &orValue, double &orPercentValue, Int32 iOffset=0)
virtual bool GetGMPiePositon(Point2D &orCood, double iXInput, double iYInput, Int32 iXSubIndex=0, Int32 iYSubIndex=0, Int32 iXSectionCount=1, Int32 iYSectionCount=1, Int32 iRadius=2)
Definition: GraphObjectManager.h:37
Use four Int32 values to represent a 2D rectangle.
Definition: Rect2D.h:25
void SetLegend(Legend::Ptr iLegendPtr)
Definition: Plot.h:285
virtual void DrawTrendLinesAndEquations()
Draw trendlines and equations.
DataLabelManager::Ptr GetDataLabelManager()
Definition: Plot.h:305
Int32 GetSeriesIndexByID(Int32 iSeriesId) const
virtual GraphObject::Ptr OnPointDetection(const Point2D &irCursor) const
void AddSeries(Int32 iSeriesId)
Definition: Plot.h:295