10 #ifndef MsiChart_FunnelPlot_h 11 #define MsiChart_FunnelPlot_h 86 bool iLabelOnSlice,
bool iValueOnSlice,
Int32 iSeriesIndex)
131 void hLoadProperties();
137 void hLoadSeriesProperties(
Int32 iSeriesIndex);
167 void hCreateGroupLabel();
169 void hGenerateForGroup(
Int32 iGroupId, std::vector<GraphCollectionObject::Ptr>& irFunnelCollection, std::vector<GraphCollectionObject::Ptr>& irLabelCollection,
170 std::vector<GraphCollectionObject::Ptr>& irValueCollection);
172 void hCreateLeaderLinesForGroup(
Int32 iGroupId, std::vector<GraphCollectionObject::Ptr>& irLeaderLineCollection);
173 void hFunnelSmartLabelForGroup(
Int32 iGroupId);
174 void hFunnelSmartOnSliceForGroup(
Int32 iGroupId);
175 void hFunnelSmartOutSliceForGroup(
Int32 iGroupId);
180 void hSmartYDistance(std::vector<Int32>& iorDistance)
const;
181 void hFunnelSmartOutSliceForGroupLeftOrRight(
Int32 iGroupId,
bool iIsLeft);
186 std::vector<FunnelSeriesOption::Ptr> mFunnelSeriesOptions;
191 Int32 mFunnelsPerRowInChart;
195 double mExplodeRatio;
198 std::vector<double> mGroupTotals;
200 std::vector<Rect2D> mGroupRects;
201 std::vector<Rect2D> mFunnelRects;
203 Int32 mMaxGroupLabelsHeight;
205 Int32 mUpmostUnExplodeWidth;
206 Int32 mUpmostFunnelWidth;
207 Int32 mDownmostFunnelWidth;
208 Int32 mTotalFunnelHeight;
209 Int32 mFunnelHeightMargin;
210 Int32 mSpaceBetweenFunnels;
212 std::vector<TextObject::Ptr> mGroupLabels;
214 std::vector<FunnelTextLabelAndValue::Ptr> mTextForOneGroup;
Int32 mFunnelWidth
Definition: FunnelPlot.h:60
Int32 mDetachSlice
Definition: FunnelPlot.h:46
bool mShowDataValuesAsPercentage
Definition: FunnelPlot.h:66
virtual void GenerateMapAndList()
MSynch::SmartPtr< FunnelSeriesOption > Ptr
Definition: FunnelPlot.h:40
bool mShowFunnelName
Definition: FunnelPlot.h:65
MSynch::SmartPtr< FunnelPlot > Ptr
Definition: FunnelPlot.h:106
ChartAdvFormat mNumberFormat
Definition: FunnelPlot.h:35
virtual bool GetToolTipData(Int32 iSeriesID, Int32 iGroupID, double &orValue, double &orPercentValue, Int32 iOffset=0)
bool mShowLeaderLines
Definition: FunnelPlot.h:32
FunnelOption()
Definition: FunnelPlot.h:52
virtual GraphObject::Ptr OnPointDetection(const Point2D &irCursor) const
Definition: FunnelPlot.h:20
Definition: GraphCollectionObject.h:19
bool mSmartLabelPlacement
Definition: FunnelPlot.h:67
const FunnelObject * mpFunnel
Definition: FunnelPlot.h:95
virtual void GetOptions(Int32 iSeriesId, Int32 iPropertyId, CComVariant *opValue) const
Int32 mFunnelExplode
Definition: FunnelPlot.h:62
bool mShowLabelsOnSide
Definition: FunnelPlot.h:68
EnumDSSGraphDataTextPosition
Definition: DSSIPhoneEnums.h:1836
Definition: FunnelPlot.h:50
FunnelPlot(const TripleId &irTripleId, GraphObjectManager *ipManager, const Rect2D &irDataArea)
#define Int32
Definition: BasicTypes.h:20
bool mValueLabelOnSlice[2]
Definition: FunnelPlot.h:97
Int32 mFunnelTilt
Definition: FunnelPlot.h:59
FunnelTextLabelAndValue(const FunnelObject *ipFunnel, TextObject::Ptr iLabelPtr, TextObject::Ptr iValuePtr, bool iLabelOnSlice, bool iValueOnSlice, Int32 iSeriesIndex)
Definition: FunnelPlot.h:85
bool mShowDataValues
Definition: FunnelPlot.h:69
Definition: FunnelObject.h:37
Definition: FunnelPlot.h:38
Definition: SmartPtr.h:38
bool mShowDataValues
Definition: FunnelPlot.h:30
Int32 mFunnelsPerRow
Definition: FunnelPlot.h:63
EnumFunnelDataLabelsPosition mDataLabelsPosition
Definition: FunnelPlot.h:72
Definition: FunnelPlot.h:21
Definition: FunnelPlot.h:81
Definition: FunnelPlot.h:103
MSynch::SmartPtr< FunnelTextLabelAndValue > Ptr
Definition: FunnelPlot.h:83
bool mIs2DFunnel
Definition: FunnelPlot.h:64
Int32 mFunnelHeight
Definition: FunnelPlot.h:61
bool mShowDataLabels
Definition: FunnelPlot.h:31
ChartAdvFormat mGraphNumberFormat
Definition: FunnelPlot.h:73
EnumFunnelDataLabelsPosition mDataLabelsPosition
Definition: FunnelPlot.h:34
Definition: Msi_ccomvariant.h:24
bool mShowDataLabels
Definition: FunnelPlot.h:70
virtual void GenerateView()
Int32 mSeriesIndex
Definition: FunnelPlot.h:98
EnumFunnelDataLabelsPosition mDataValuesPosition
Definition: FunnelPlot.h:71
Definition: FunnelPlot.h:24
TextObject::Ptr mValueLabelPtr[2]
Definition: FunnelPlot.h:96
Definition: GraphObjectManager.h:37
FunnelSeriesOption()
Definition: FunnelPlot.h:42
GraphFunnelDataLabels mDataLabels
Definition: FunnelPlot.h:47
GraphFunnelDataLabels()
Definition: FunnelPlot.h:26
Use four Int32 values to represent a 2D rectangle.
Definition: Rect2D.h:25
EnumFunnelDataLabelsPosition mDataValuesPosition
Definition: FunnelPlot.h:33
virtual void OnRectangleSelection(const Rect2D &irRect, std::vector< GraphObject::Ptr > &iorSelectedObjects) const
EnumFunnelDataLabelsPosition
Definition: FunnelPlot.h:18