8 #ifndef MsiChart_PolarValueAxis_h 9 #define MsiChart_PolarValueAxis_h 71 bool iLargerGridInterval =
false);
123 float ValueToRadius(
double iValue,
bool iTruncate =
false)
const;
160 double GetAbsoluteSlope(
double iLogicalSlope,
double iLogicalX,
double iLogicalY)
const;
170 void GetXTicks(std::vector<double>& orTicks)
const;
207 void hGenerateAxisLine();
216 void hAdjustLabelCenterByAngle(
Point2D& iorLabelCenter,
Int32 iLabelWidth,
float iAngle)
const;
228 void hGenerateMajorGrid();
232 void hGenerateMinorGrid();
238 float hGetYAxisAngle()
const;
240 bool hIsXAxis()
const;
242 bool hIsY2Axis()
const;
244 void hNormalizeAngle(
float& iorAngle)
const;
247 inline bool PolarValueAxis::hIsXAxis()
const 251 inline bool PolarValueAxis::hIsY2Axis()
const void UpdateLabelLocation(Rect2D &iorLabelArea)
Point2D GetPointByAngleAndRadius(double iAngleRad, double iRadius) const
PolarInfo(const Rect2D &irFrameRect)
void GenerateInterlacedGrids()
const PolarInfo & GetPolarInfo() const
Definition: PolarValueAxis.h:260
float ValueToAngle(double iValue) const
Int32 mObjectId
Definition: Common.h:406
bool mShowMarkers
Definition: PolarValueAxis.h:45
bool mConnectFirstLast
Indicates whether the first data point should be connected to the last data point.
Definition: PolarValueAxis.h:40
Point2D GetCenter() const
void GetXTicks(std::vector< double > &orTicks) const
bool mShowDataLines
Definition: PolarValueAxis.h:39
Definition: PolarValueAxis.h:20
Definition: GraphCollectionObject.h:19
void LoadProperties(ChartContext::Ptr iChartContextPtr, Int32 iChartAreaId)
float mStartAngle
Definition: PolarValueAxis.h:36
void SetFramePath() const
virtual double GetLogicalCoord(Int32 iAbsoluteCoord)
Point2D mCenter
Definition: PolarValueAxis.h:47
MSynch::SmartPtr< PolarValueAxis > Ptr
Definition: PolarValueAxis.h:60
Definition: ValueAxis.h:85
bool IsSpiderGrid() const
Definition: PolarValueAxis.h:255
const Int32 gLabelMarginFactor
void UpdateTitleLocation(const Rect2D &irTitleArea)
float ValueToRadius(double iValue, bool iTruncate=false) const
bool mIsLogarithmicX
Indicates whether X axis uses logarithmic scale or not.
Definition: PolarValueAxis.h:43
double GetAbsoluteSlope(double iLogicalSlope, double iLogicalX, double iLogicalY) const
Definition: DSSIPhoneEnums.h:849
std::vector< double > mXTicks
Maintains the ticks of X axis.
Definition: PolarValueAxis.h:51
#define Int32
Definition: BasicTypes.h:20
bool mShowXMajor
Definition: PolarValueAxis.h:44
GraphObject::Ptr GenerateFrame()
bool mIsClockwise
Indicates whether the angle axis goes clockwise or not.
Definition: PolarValueAxis.h:42
virtual float GetAbsoluteCoord(double iLogicalCoord)
bool mUseSpiderLines
If this is true, spider grid lines are used. Otherwise, circular grid lines are used.
Definition: PolarValueAxis.h:38
Definition: ChartContext.h:542
void hUpdateOneLabelLocation(Int32 iGraphObjectIndex, double iTickValue)
const TripleId mTripleId
Identifiy current GraphObjectManager.
Definition: GraphObjectManager.h:270
bool GetOptions(Int32 iPropertyId, VARIANT *opValue) const
Definition: DSSIPhoneEnums.h:864
const PolarInfo & mrPolarInfo
Keeps a reference to the polar information struct.
Definition: PolarValueAxis.h:203
virtual void GenerateMapAndList()
bool mUseRemoteAxis
Indicates whether remote axis is used or not.
Definition: PolarValueAxis.h:41
std::vector< float > mXTickAngles
Maintains the tick angles of X axis.
Definition: PolarValueAxis.h:50
Definition: Msi_variant.h:147
void MapRouAndDRouByAngle(double iAngleRad, double &iorRou, double &iorDRou) const
virtual ~PolarValueAxis()
Definition: DSSIPhoneEnums.h:876
Int32 mRadius
Definition: PolarValueAxis.h:48
Definition: PolarValueAxis.h:57
Rect2D mFrameRect
Definition: PolarValueAxis.h:49
PolarValueAxis(const TripleId &irTripleId, GraphObjectManager *ipManager, double iMin, double iMax, const PolarInfo &irPolarInfo, bool iLargerGridInterval=false)
Definition: GraphObjectManager.h:37
double MapRadiusByAngle(double iAngleRad, double iRadius) const
Use four Int32 values to represent a 2D rectangle.
Definition: Rect2D.h:25
unsigned char mMarkerShape
Indicates the marker shape.
Definition: PolarValueAxis.h:46
virtual void ReserveLabelArea(Rect2D &iorArea, bool iIsReversed)