Mobile API Reference  MicroStrategy 2019
PiePlotRenderer Class Reference

#include <PiePlotRenderer.h>

Public Types

typedef MSynch::SmartPtr< PiePlotRendererPtr
 

Public Member Functions

 PiePlotRenderer (GraphObjectManager *ipManager, Dataset::Ptr iDatasetPtr, ChartContext::Ptr irChartContextPtr, EnumGraphMatrixPiePlotType iPlotType, Int32 iMaxRadius=-1)
 
virtual ~PiePlotRenderer ()
 
std::vector< GraphObject::PtrhDrawSinglePie (Int32 iGroupId, Int32 iSeriesId, Int32 iAngleIndex, const Point2D &iCenter)
 
void EnableDataLabel ()
 
void GetDataLableVecs (std::vector< GraphObject::Ptr > &iorLables)
 
virtual void AddObjectsToDataLabelManager (DataLabelManager::Ptr iDataLabelManagerPtr)
 

Protected Member Functions

PieSliceObject::Ptr hCreateSlice (Int32 iSeriesIndex, Int32 iGroupId, Int32 iAngleIndex, Int32 iSliceId, const Point2D &iCenter, Int32 iStartAngle, Int32 iEndAngle, bool iIsOneSeries)
 
bool hGetAngleInfoForSinglePie (Int32 iGroupId, Int32 iSeriesId, Int32 iAngleIndex, Int32 &orValidSeriesNumber, std::vector< Int32 > &orValidSeriesIndex, std::vector< Int32 > &orAngles)
 
double hGetTotal (Int32 iGroupIndex, Int32 iSeriesId, EnumGraphMatrixDataIndexType iDataIndexType, Int32 iAngleIndex)
 
Int32 hGetPieRadius (Int32 iGroupId, Int32 iSeriesId, Int32 iAngleIndex)
 
double hGetMaxSizeByGroupTotal ()
 
double hGetMinSizeByGroupTotal ()
 

Member Typedef Documentation

◆ Ptr

Constructor & Destructor Documentation

◆ PiePlotRenderer()

PiePlotRenderer::PiePlotRenderer ( GraphObjectManager ipManager,
Dataset::Ptr  iDatasetPtr,
ChartContext::Ptr  irChartContextPtr,
EnumGraphMatrixPiePlotType  iPlotType,
Int32  iMaxRadius = -1 
)

◆ ~PiePlotRenderer()

virtual PiePlotRenderer::~PiePlotRenderer ( )
virtual

Member Function Documentation

◆ AddObjectsToDataLabelManager()

virtual void PiePlotRenderer::AddObjectsToDataLabelManager ( DataLabelManager::Ptr  iDataLabelManagerPtr)
virtual

◆ EnableDataLabel()

void PiePlotRenderer::EnableDataLabel ( )

◆ GetDataLableVecs()

void PiePlotRenderer::GetDataLableVecs ( std::vector< GraphObject::Ptr > &  iorLables)

◆ hCreateSlice()

PieSliceObject::Ptr PiePlotRenderer::hCreateSlice ( Int32  iSeriesIndex,
Int32  iGroupId,
Int32  iAngleIndex,
Int32  iSliceId,
const Point2D iCenter,
Int32  iStartAngle,
Int32  iEndAngle,
bool  iIsOneSeries 
)
protected

◆ hDrawSinglePie()

std::vector<GraphObject::Ptr > PiePlotRenderer::hDrawSinglePie ( Int32  iGroupId,
Int32  iSeriesId,
Int32  iAngleIndex,
const Point2D iCenter 
)

◆ hGetAngleInfoForSinglePie()

bool PiePlotRenderer::hGetAngleInfoForSinglePie ( Int32  iGroupId,
Int32  iSeriesId,
Int32  iAngleIndex,
Int32 orValidSeriesNumber,
std::vector< Int32 > &  orValidSeriesIndex,
std::vector< Int32 > &  orAngles 
)
protected

◆ hGetMaxSizeByGroupTotal()

double PiePlotRenderer::hGetMaxSizeByGroupTotal ( )
protected

◆ hGetMinSizeByGroupTotal()

double PiePlotRenderer::hGetMinSizeByGroupTotal ( )
protected

◆ hGetPieRadius()

Int32 PiePlotRenderer::hGetPieRadius ( Int32  iGroupId,
Int32  iSeriesId,
Int32  iAngleIndex 
)
protected

◆ hGetTotal()

double PiePlotRenderer::hGetTotal ( Int32  iGroupIndex,
Int32  iSeriesId,
EnumGraphMatrixDataIndexType  iDataIndexType,
Int32  iAngleIndex 
)
protected