Mobile API Reference  MicroStrategy 2019
MsiChart::Dataset Class Referenceabstract

#include <Dataset.h>

Inheritance diagram for MsiChart::Dataset:
MsiChart::DatasetImpl MsiChart::GraphMatrixDataSetWrapper

Public Types

typedef DatasetPtr
 

Public Member Functions

virtual void SetSeriesByColumn (bool iSeriesByColumn)=0
 
virtual bool GetSeriesByColumn () const =0
 
virtual void SetReverseGroup (bool iReverseGroup)=0
 
virtual bool GetReverseGroup ()=0
 
virtual void SetReverseSeries (bool iRevereSeries)=0
 
virtual void SetForHistogram (bool iIsForHistogram)=0
 
virtual float GetMemoryUsageEstimation ()=0
 
virtual bool GetSliceGroupRange (Int32 &iBeginGroup, Int32 &iEndGroup)=0
 
virtual bool PopulateOneSlice (Int32 iBeinSeries, Int32 iEndSeries, Int32 iBeginGroup, Int32 iEndGroup)=0
 get the index for start & end group of one slice, valid for slice with continous group. More...
 
virtual bool GetOneSliceRange (Int32 &iBeinSeries, Int32 &iEndSeries, Int32 &iBeginGroup, Int32 &iEndGroup)=0
 assume we are dealing with the simplest case More...
 
virtual bool PopulateOneSlice (const std::vector< Int32 > &irSeriesIndex, const std::vector< Int32 > &irGroupIndex, SLICE_TYPE iType=SLICE_STRIPPED)=0
 this is for the more complex ones More...
 
virtual bool GetOneSliceRange (std::vector< Int32 > &irSeriesIndex, std::vector< Int32 > &irGroupIndex)=0
 this is for more complex ones More...
 
virtual bool ShuffleIndex (bool iIsOnRow, const std::vector< Int32 > &iShuffledIndexList)=0
 
virtual SHUFFLE_STATUS GetShuffledStatus ()=0
 
virtual void RestoreFromShuffle ()=0
 
virtual bool PopulateOneSlice (Int32 iBegin, Int32 iEnd, const std::vector< Int32 > &irIndex, SLICE_TYPE iType=SLICE_MIXED_GROUP)=0
 
virtual bool GetSliceFlag ()=0
 
virtual void EnableSlices (bool iUseSlice=true)=0
 
virtual bool IsSliced ()=0
 
virtual bool SetActiveSliceIndex (Int32 iIndex=0)=0
 
virtual Int32 GetActiveSliceIndex ()=0
 
virtual bool AdjustGroupRange (Int32 iOffset)=0
 
virtual bool AdjustGroupRange (Int32 iBeginGroup, Int32 iEndGroup)=0
 
virtual HRESULT SetDataGroup (Int32 iDataGroup, bool iIgnoreForNoSeriesOrGroup=true)=0
 
virtual Int32 GetDataGroup ()=0
 
virtual HRESULT GetData (Int32 iSeriesID, Int32 iGroupID, const double *&iorValue, Int32 iColumnOffset=0, bool iIsForSlice=true)=0
 
virtual HRESULT GetTotalData (Int32 iIndex, bool iIsGroupTotal, Int32 iSpanStartIndex, Int32 iSpanEndIndex, double &iorValue, Int32 iColumnOffset, bool iIsUseAbsValue=false, bool iIsForSlice=true)=0
 
virtual HRESULT GetTotalData (Int32 iIndex, bool iIsGroupTotal, const std::vector< Int32 > &iPickedIndexSet, double &iorValue, Int32 iColumnOffset, bool iIsUseAbsValue=false, bool iIsForSlice=true)=0
 
virtual HRESULT GetToolTipDataString (Int32 iSeriesID, Int32 iGroupID, MBase::String &orDataString, Int32 iOffset)=0
 
virtual HRESULT GetPieSubtotal (std::map< std::pair< Int32, Int32 >, double > iPieSubtotalMap, Int32 iGroupId, const std::vector< Int32 > &iPickedIndexSet, double &iorValue, Int32 iColumnOffset, bool iIsUseAbsValue=false, bool iIsForSlice=true)=0
 
virtual void GetSubTotalGlobalRowAndColumnIndex (Int32 iGroupId, const std::vector< Int32 > &iPickedIndexSet, Int32 iColumnOffset, Int32 &iorRowOrdinal, Int32 &iorColOrdinal)=0
 
virtual HRESULT GetPrimaryData (Int32 iSeriesID, Int32 iGroupID, const double *&iorValue, Int32 iPrimaryIndex=0, bool iIsForColor=false, bool iIsForSlice=true, int iAngleIndex=0, int iSliceIndex=0)=0
 
virtual HRESULT GetGMPieMaxMin (double &orMax, double &orMin, Int32 iColumnOffset, DATA_RETRIEVAL_TYPE iType=DRT_NORMAL)=0
 
virtual HRESULT GetGMPieSubtotalMaxMin (std::map< std::pair< Int32, Int32 >, double > iPieSubtotalMap, double &orMax, double &orMin, Int32 iColumnOffset, DATA_RETRIEVAL_TYPE iType=DRT_NORMAL)=0
 
virtual HRESULT GetSeriesCount (Int32 &orSeriesCount)=0
 
virtual HRESULT GetGroupCount (Int32 &orGroupCount)=0
 
virtual HRESULT GetPieAngleCount (Int32 iGroupId, Int32 iSeriesId, Int32 &orAngleCount)=0
 
virtual HRESULT GetPieSliceCount (Int32 iGroupId, Int32 iSeriesId, Int32 iAngleId, Int32 &orSliceCount)=0
 
virtual HRESULT GetPieSliceData (Int32 iGroupId, Int32 iSeriesId, Int32 iAngleId, Int32 iSliceId, const double *&iorValue, Int32 iColumnOffset=-1)=0
 
virtual HRESULT GetData (Int32 iGroupId, Int32 iSeriesId, EnumGraphMatrixDataIndexType iDataIndexType, const double *&iorValue, Int32 iAngleId=-3)=0
 
virtual HRESULT GetDataPositionPartSize (Int32 &orDataPositionPartSize)=0
 
virtual HRESULT GetDataSizeByPartSize (Int32 &orDataSizeByPartSize)=0
 
virtual HRESULT GetDataAdditionPartSize (Int32 &orDataAdditionPartSize)=0
 
virtual HRESULT GetSeriesLabel (Int32 iSeriesID, MBase::String &orSeriesLabel, bool iSubstitute=true, Int32 iColumnOffset=0, bool iIsForSlice=true, LABEL_LEVEL_OPTION iOption=LLO_NORMAL, bool iIsForEmptyAxisWithTemplateMetrc=false)=0
 
virtual HRESULT GetGroupLabel (Int32 iGroupID, MBase::String &orGroupLabel, bool iSubstitute=true, Int32 iColumnOffset=0, bool iIsForSlice=true, LABEL_LEVEL_OPTION iOption=LLO_NORMAL)=0
 
virtual HRESULT GetPeakValuesAcrossSeries (double &orMax, double &orMin, const std::vector< Int32 > &irSereisSet, Int32 iColumnOffset=0)=0
 
virtual HRESULT GetPeakValuesAcrossSeries (double &orMax, double &orMin, Int32 iBeginSeries, Int32 iEndSeries, Int32 iColumnOffset=0)=0
 
virtual void GetGroupDimTree (DimTree *&iopDimTree)=0
 
virtual MBase::String GetTemplateUnitElementName (Int32 iDimLayer, Int32 iIndexInsideDim, bool iIsInRowTree=false, Int32 iFormIndex=0, MBase::String iSeperator=L" ")=0
 
virtual MBase::String GetTemplateUnitName (Int32 iDimLayer, bool iIsInRowTree=false, bool iUseAlias=false)=0
 
virtual Int32 GetTreeWidth (Int32 iDimLayer, bool iIsInRowTree, bool iIsActualSize=false, bool iIsSqueezeHCG=true)=0
 
virtual DimTreeGetRowTree ()=0
 Get the number of dim node in one dim. More...
 
virtual DimTreeGetColTree ()=0
 
virtual HRESULT GetValueAxisNumberFormat (ChartAdvFormat &orFormat, bool iConsiderThresholds=true, Int32 iStartIndex=0, Int32 iStep=0)=0
 
virtual HRESULT GetValueAxisNumberFormat (ChartAdvFormat &orFormat, const std::set< Int32 > &irMetricSet)=0
 
virtual HRESULT GetGridDataFormat (ChartAdvFormat &orFormat, Int32 iSeriesId, Int32 iGroupId, Int32 iColumnOffset, Int32 iAngleId=-3, Int32 iSliceId=-3)=0
 
virtual HRESULT GetGridDataFormat (ChartAdvFormat &orFormat, Int32 iHostMetricIndex, bool iIsAngleMetricIndex=false, Int32 iGroupId=0)=0
 
virtual HRESULT GetThresholdFillColor (Int32 iSeriesId, Int32 iGroupId, CComVariant *opValue)=0
 
virtual THRESHOLD_FILL_STYLE GetCurrentTreshHoldFillType ()=0
 
virtual bool GetReplacedText (Int32 iSeriesId, Int32 iGroupId, Int32 iColumnOffset, MBase::String &orReplacedText, Int32 &orColor)=0
 
virtual std::vector< double > GetTrendLineValuesWithForecast (Int32 iSeriesId)=0
 
virtual std::vector< double > GetCoefficients (Int32 iSeriesId)=0
 
virtual bool IsExpomentialBaseNearOne (Int32 iSeriesId)=0
 
virtual std::vector< double > GetRefLineValues (Int32 iSeriesId)=0
 
virtual std::vector< double > GetRefLineValuesForBubble (Int32 iIndex, Int32 iAxisIndex)=0
 
virtual void GetRefLineLable (Int32 iSeriesId, Int32 iRefLineIndex, std::string &iText, bool &orIsShowValue, double &orValue)=0
 
virtual HRESULT SetRowAndColumn (Int32 iRowNumber, Int32 iColumnNumber)=0
 
virtual HRESULT SetData (Int32 iRow, Int32 iCol, double iValue)=0
 
virtual HRESULT SetRowLabel (Int32 iRow, const wchar_t *ipRowLabel)=0
 
virtual HRESULT SetColumnLabel (Int32 iColumn, const wchar_t *ipColumnLabel)=0
 
virtual bool GetTextValue (Int32 iSeriesId, Int32 iGroupId, double &orDataValue)=0
 
virtual Int32 FindCell (bool iFromSeries, Int32 Index, Int32 Target)=0
 
virtual bool GetGenericFillFormatColor (RGBColor &orColor, Int32 iSeriesId, Int32 iGroupId, Int32 iAngleId=-3, Int32 iSliceId=-3)=0
 
virtual bool GetGenericFillFormatType (unsigned char &orFillType, Int32 iSeriesId, Int32 iGroupId, Int32 iAngleId=-3, Int32 iSliceId=-3)=0
 
virtual bool GetGenericFillFormatAlpha (unsigned char &orAlpha, Int32 iSeriesId, Int32 iGroupId, Int32 iAngleId=-3, Int32 iSliceId=-3)=0
 
virtual bool GetGenericFillFormatGradient (GraphFillGradient &irFillGradient, Int32 iSeriesId, Int32 iGroupId, Int32 iSliceId=-3)=0
 
virtual bool GetTrendLineThickness (Int32 &orLineThickness, Int32 iSeriesId, Int32 iGroupId)=0
 
virtual bool GetTrendLineStyle (unsigned char &orLineStyle, Int32 iSeriesId, Int32 iGroupId)=0
 
virtual bool GetTrendLineColor (RGBColor &orLineColor, Int32 iSeriesId, Int32 iGroupId)=0
 
virtual bool GetReferenceLineThickness (Int32 &orLineThickness, Int32 iSeriesId, Int32 iGroupId)=0
 
virtual bool GetReferenceLineStyle (unsigned char &orLineStyle, Int32 iSeriesId, Int32 iGroupId)=0
 
virtual bool GetReferenceLineColor (RGBColor &orLineColor, Int32 mSeriesId, Int32 iGroupId)=0
 
virtual bool GetAxisOriginLineThickness (Int32 &orLineThickness, Int32 iObjectID)=0
 
virtual bool GetAxisOriginLineStyle (unsigned char &orLineStyle, Int32 iObjectID)=0
 
virtual bool GetAxisOriginLineColor (RGBColor &orLineColor, Int32 iObjectID)=0
 
virtual bool GetGenericLineThickness (Int32 &orLineThickness, Int32 iSeriesId, Int32 iGroupId, Int32 iAngleId=-3, Int32 iSliceId=-3)=0
 
virtual bool GetGenericLineStyle (unsigned char &orLineStyle, Int32 iSeriesId, Int32 iGroupId, Int32 iAngleId=-3, Int32 iSliceId=-3)=0
 
virtual bool GetGenericLineColor (RGBColor &orLineColor, Int32 iSeriesId, Int32 iGroupId, Int32 iAngleId=-3, Int32 iSliceId=-3)=0
 
virtual bool GetAxisLineThicknessFormat (Int32 &orLineThickness)=0
 
virtual bool GetAxisLineStyleFormat (unsigned char &orLineStyle)=0
 
virtual bool GetAxisLineColorFormat (RGBColor &orLineColor)=0
 
virtual bool GetAxisMajorTickLineThicknessFormat (Int32 &orLineThickness, Int32 iObjectID)=0
 
virtual bool GetAxisMajorTickLineStyleFormat (unsigned char &orLineStyle, Int32 iObjectID)=0
 
virtual bool GetAxisMajorTickLineColorFormat (RGBColor &orLineColor, Int32 iObjectID)=0
 
virtual bool GetAxisMinorTickLineThicknessFormat (Int32 &orLineThickness, Int32 iObjectID)=0
 
virtual bool GetAxisMinorTickLineStyleFormat (unsigned char &orLineStyle, Int32 iObjectID)=0
 
virtual bool GetAxisMinorTickLineColorFormat (RGBColor &orLineColor, Int32 iObjectID)=0
 
virtual bool GetReferenceLineFontColor (RGBColor &orFontColor, Int32 iSeriesId, Int32 iGroupId)=0
 
virtual bool GetReferenceLineFontSize (Int32 &orFontSize, Int32 iSeriesId, Int32 iGroupId)=0
 
virtual bool GetReferenceLineFontStyle (unsigned char &orFontStyle, Int32 iSeriesId, Int32 iGroupId)=0
 
virtual bool GetReferenceLineFontName (MBase::String &orFontName, Int32 iSeriesId, Int32 iGroupId)=0
 
virtual bool GetDataLableFontAlignment (unsigned char &orFontAlignment)=0
 
virtual bool GetDataLableFontSize (Int32 &orFontSize)=0
 
virtual bool GetDataLableFontStyle (unsigned char &orFontStyle)=0
 
virtual bool GetDataLableFontName (MBase::String &orFontName)=0
 
virtual bool GetDataLableFontBox (unsigned char &orFontBox)=0
 
virtual bool GetDataLableFontAlpha (unsigned char &orFontAlpha)=0
 
virtual bool GetDataLabelFontColor (RGBColor &orFontColor)=0
 
virtual bool GetAxisLabelFontSize (Int32 &orFontSize, Int32 iWhichAxis)=0
 
virtual bool GetAxisLabelFontName (MBase::String &orFontName, Int32 iWhichAxis)=0
 
virtual bool GetAxisLabelFontStyle (unsigned char &orFontStyle, Int32 iWhichAxis)=0
 
virtual bool GetAxisLabelFontRotation (unsigned char &orFontRotation, Int32 iWhichAxis)=0
 
virtual bool GetAxisLabelFontColor (RGBColor &orFontColor, Int32 iWhichAxis)=0
 
virtual bool GetTextAsShapeFontSize (Int32 &orFontSize, Int32 iSeriesId, Int32 iGroupId)=0
 
virtual bool GetTextAsShapeFontColor (RGBColor &orFontColor, Int32 iSeriesId, Int32 iGroupId)=0
 
virtual bool GetTextAsShapeFontName (MBase::String &orFontName, Int32 iSeriesId, Int32 iGroupId)=0
 
virtual bool GetTextAsShapeFontStyle (unsigned char &orFontStyle, Int32 iSeriesId, Int32 iGroupId)=0
 
virtual bool GetTextAsShapeAlignment (unsigned char &orFontAlignment, Int32 iSeriesId, Int32 iGroupId)=0
 
virtual bool GetAxisOriginValue (double &orAxisOriginValue, Int32 iObjectId)=0
 
virtual HRESULT InitFromTemplateAndGrid (DSSTemplate *ipTemplate, DSSRWGridIterator *ipGridIterator, bool iIsParseTotals)=0
 
virtual HRESULT InitFromTemplateSlice (DSSTemplate *ipTemplate, DSSRWGridIterator *ipGridIterator, Int32 iSliceID, bool iIsCacheData=false, bool iIncludeSubtotal=true)=0
 
virtual bool IsHeaderTreeEmpty (bool iIsForGroup)=0
 
virtual void Delete ()=0
 
virtual bool PopulateOneTree (std::wifstream &iFileStream, bool iIsForRow=true)=0
 
virtual void ConvertLocalAEIndexToGlobal (int &ioRowIndex, int &ioColIndex)=0
 
virtual bool PopulateTokenManager (bool iEnableToken)=0
 
virtual bool GetTokenFlag ()=0
 
virtual TokenManagerGetTokenManager ()=0
 
virtual bool PopulateTotalValues (std::wifstream &iFileStream)=0
 
virtual bool Refresh ()=0
 
virtual bool GetRowCount (Int32 &orCount)=0
 
virtual bool GetRowLabel (Int32 iIndex, MBase::String &orLabel)=0
 
virtual bool GetMetricsLabel (Int32 iIndex, MBase::String &orLabel)=0
 
virtual MetricUnitInfoGetMetricInfo ()=0
 
virtual bool IsMetricBySeries ()=0
 
virtual bool IsSubtotalAt (Int32 iRowIndex, Int32 iColIndex, bool &orIsTotal)=0
 
virtual bool IsEmpty ()=0
 
virtual Int32 GetMetricsCount (bool iIsAtTopLevel=false)=0
 
virtual std::string GetLabelInDrillPath (bool iIsByRow, Int32 iIndex, const std::string &irCandiate, bool iIncludeAllForms=false)=0
 
virtual bool IsHeaderEmpty (bool iIsForRow=true)=0
 
virtual bool GetAvgValue (double &orValue, Int32 iIndex, Int32 iColumnOffset=0, bool iIsForSeries=true, bool iIsForSlice=false)=0
 
virtual void SetTreeInstance (DimTree *ipTree, bool iIsForRowTree)=0
 
virtual Int32 GetThresholdIndex (Int32 iRowIndex, Int32 iColIndex)=0
 
virtual Int32 GetMetricIndex (Int32 iRowIndex, Int32 iColIndex)=0
 
virtual Int32 GetMetricIndex (Int32 iGroupId, Int32 iSeriesId, Int32 iAngleIndex, Int32 iSliceIndex)=0
 
virtual Int32 GetAESliceId ()=0
 
virtual Int32 GetAggregationResult (double &orValue, Int32 iIndex, bool iIsForSeries=true, AGG_TYPE iAggType=AGG_TYPE_AVG)=0
 
virtual DATASET_STATUS GetStatus (bool iIsGraph, bool iIsDummyGridChart=false)=0
 
virtual bool NextSliceToDisplay (bool iIsPrevious, bool iIsStaring=false)=0
 
virtual Int32 CurrentSliceNumberToDisplay ()=0
 
virtual bool IsDisplaySliceInvalid ()=0
 
virtual void CurrentSlicePosition (Int32 &orRowIndex, Int32 &orColIndex)=0
 
virtual void SetFormatManager (FormatManager *ipFormatManager)=0
 
virtual void SeriesGroupIndexToRowColumnIndex (Int32 iSeriesID, Int32 iGroupID, Int32 &orRowIndex, Int32 &orColumnIndex, Int32 iColumnOffset, Int32 iAngleId=-3, Int32 iSliceId=-3, bool iIsConsiderSubtotal=true)=0
 
virtual void GetRowAndColumnIndexForMinMaxMetrixIndex (bool iIsForMax, std::vector< Int32 > iMetricIndex, Int32 &orRowIndex, Int32 &orColumnIndex)=0
 
virtual bool GetSeriesGroupIdsFromIndex (std::vector< std::pair< Int32, Int32 > > &iorSGPairs, const std::vector< Int32 > &irRowIndexSet, const std::vector< Int32 > &irColIndexSet)=0
 
virtual Int32 GetColorStyleIndex (Int32 iLocalIndex)=0
 
virtual Int32 GetColorStyleIndex (Int32 iSeriesID, Int32 iGroupID, Int32 iColumnOffset=0, bool iIsConsiderSubtotal=true)=0
 
virtual std::string GetGMColorByKey (std::vector< std::pair< Int32, Int32 > > iColorByUnitsIndex, Int32 iSeriesID, Int32 iGroupID, Int32 iColumnOffset=0, bool iIsConsiderSubtotal=true)=0
 
virtual int GetGMColorByIndex (Int32 iSeriesID, Int32 iGroupID, Int32 iAngleIndex=-3, Int32 iColumnOffset=0)=0
 
virtual void getLineMarkerColorSetting (std::vector< int > &iSetting)=0
 
virtual MBase::String GetColorStyleLabel (Int32 iSeriesID, Int32 iGroupID, Int32 iColumnOffset, bool iIsConsiderSubtotal=true)=0
 
virtual MBase::String GetColorStyleLabel (Int32 iLocalColorIndex)=0
 
virtual Int32 GetColorStyleNumber ()=0
 
virtual void SetColorSlices (std::vector< Int32 > &irRowUnits, std::vector< Int32 > irColumnUnits)=0
 
virtual void SetGlobalIterator (DSSRWGridIterator *ipIterator)=0
 
virtual void GetLabelCollection (Int32 iOrdinal, bool iIsForRow, std::vector< std::string > &orCollection)=0
 
virtual void GetDataTextLabel (Int32 iOrdinal, bool iIsForRow, MBase::String &orCollection, int iDepth)=0
 
virtual void GetBreakByLabel (Int32 iOrdinal, bool iIsForRow, MBase::String &orCollection)=0
 
virtual void GetUnitNameCollection (bool iIsForRow, std::vector< std::string > &orCollection)=0
 
virtual void GetSliceLabel (Int32 iOrdinal, bool iIsForRow, MBase::String &orCollection)=0
 
virtual void GetTextDataLabel (Int32 iGroupId, Int32 iSeriesId, std::string &orCollection, Int32 iAngleId=-3, Int32 iSliceId=-3)=0
 
virtual void GetTextDataLabel (Int32 iOrdinal, std::string &orCollection)=0
 
virtual void GetBandDivision (Int32 iGroupId, Int32 iVAIndex, std::vector< double > &iMetrics, std::vector< double > &iRatios)=0
 
virtual bool IsGroupOnScreen (Int32 iGroupId)=0
 
virtual bool IsSeriesOnScreen (Int32 iSeriesId)=0
 
virtual Int32 GetShapeBySeriesId (Int32 iSeriesId)=0
 
virtual bool IsDataLabelEnaled (Int32 iSeriesId, Int32 iGroupId, Int32 iAngleId=-3, Int32 iSliceId=-3)=0
 
virtual std::set< int > GetSeriesInSecondaryAxis ()=0
 
virtual bool IsDataTimeType (Int32 iSeriesID, Int32 iGroupID)=0
 
virtual HRESULT GetCumulatedData (Int32 iGroupId, Int32 iSeriesId, EnumGraphMatrixDataIndexType iDataIndexType, const double *&iorValue)=0
 
virtual std::pair< int, int > getOnScreenTextRange (bool isForGroup)=0
 
virtual bool PopulateReformer (DSSRWGridIterator *ipGridIterator, DataSetReformInfo *ipReformInfo)=0
 
virtual bool IsReformed ()=0
 
virtual Int32 GetMetricLabelCount ()=0
 
virtual Int32 GetBalancedCount (bool iIsForGroup)=0
 
virtual const DataGroupInfoGetDataGroupInfo ()=0
 
virtual Int32 GetSeriesPieceStartIndex (Int32 iIndex)=0
 
virtual void SetDatagroupInfo (const DataGroupInfo &irInfo)=0
 
virtual const std::vector< int > GetAxisInfo ()=0
 
virtual void SetAxisInfo (const std::vector< int > &irAxisInfo)=0
 
virtual void GetSeriesSplitVector (std::vector< Int32 > &orVec)=0
 
virtual void SetSeriesSplitVector (const std::vector< Int32 > &irVec)=0
 
virtual void SetPieGroupDetph (Int32 irDetph)=0
 
virtual void GetPieGroupDetph (Int32 &orDepth)=0
 
virtual void DumpDataSet (bool iIsNaive, bool isGlobalIterator=false)=0
 
virtual void SetGMDataSet (void *pDataSet=NULL)=0
 
virtual void PrepareIterator ()=0
 

Member Typedef Documentation

◆ Ptr

Member Function Documentation

◆ AdjustGroupRange() [1/2]

virtual bool MsiChart::Dataset::AdjustGroupRange ( Int32  iOffset)
pure virtual

◆ AdjustGroupRange() [2/2]

virtual bool MsiChart::Dataset::AdjustGroupRange ( Int32  iBeginGroup,
Int32  iEndGroup 
)
pure virtual

◆ ConvertLocalAEIndexToGlobal()

virtual void MsiChart::Dataset::ConvertLocalAEIndexToGlobal ( int &  ioRowIndex,
int &  ioColIndex 
)
pure virtual

◆ CurrentSliceNumberToDisplay()

virtual Int32 MsiChart::Dataset::CurrentSliceNumberToDisplay ( )
pure virtual

This method would return the current slice index.

Returns
the current slice index

Implemented in MsiChart::DatasetImpl, and MsiChart::GraphMatrixDataSetWrapper.

◆ CurrentSlicePosition()

virtual void MsiChart::Dataset::CurrentSlicePosition ( Int32 orRowIndex,
Int32 orColIndex 
)
pure virtual

This method would return the starting postion of current slice into the whole data table.

Parameters
orRowIndexis the row coordinate
orColIndexis the column coordinate

Implemented in MsiChart::DatasetImpl, and MsiChart::GraphMatrixDataSetWrapper.

◆ Delete()

virtual void MsiChart::Dataset::Delete ( )
pure virtual

This function deletes the Dataset instance.

Implemented in MsiChart::DatasetImpl, and MsiChart::GraphMatrixDataSetWrapper.

◆ DumpDataSet()

virtual void MsiChart::Dataset::DumpDataSet ( bool  iIsNaive,
bool  isGlobalIterator = false 
)
pure virtual

◆ EnableSlices()

virtual void MsiChart::Dataset::EnableSlices ( bool  iUseSlice = true)
pure virtual

◆ FindCell()

virtual Int32 MsiChart::Dataset::FindCell ( bool  iFromSeries,
Int32  Index,
Int32  Target 
)
pure virtual

◆ GetActiveSliceIndex()

virtual Int32 MsiChart::Dataset::GetActiveSliceIndex ( )
pure virtual

◆ GetAESliceId()

virtual Int32 MsiChart::Dataset::GetAESliceId ( )
pure virtual

◆ GetAggregationResult()

virtual Int32 MsiChart::Dataset::GetAggregationResult ( double &  orValue,
Int32  iIndex,
bool  iIsForSeries = true,
AGG_TYPE  iAggType = AGG_TYPE_AVG 
)
pure virtual

◆ GetAvgValue()

virtual bool MsiChart::Dataset::GetAvgValue ( double &  orValue,
Int32  iIndex,
Int32  iColumnOffset = 0,
bool  iIsForSeries = true,
bool  iIsForSlice = false 
)
pure virtual

◆ GetAxisInfo()

virtual const std::vector<int> MsiChart::Dataset::GetAxisInfo ( )
pure virtual

◆ GetAxisLabelFontColor()

virtual bool MsiChart::Dataset::GetAxisLabelFontColor ( RGBColor orFontColor,
Int32  iWhichAxis 
)
pure virtual

◆ GetAxisLabelFontName()

virtual bool MsiChart::Dataset::GetAxisLabelFontName ( MBase::String orFontName,
Int32  iWhichAxis 
)
pure virtual

◆ GetAxisLabelFontRotation()

virtual bool MsiChart::Dataset::GetAxisLabelFontRotation ( unsigned char &  orFontRotation,
Int32  iWhichAxis 
)
pure virtual

◆ GetAxisLabelFontSize()

virtual bool MsiChart::Dataset::GetAxisLabelFontSize ( Int32 orFontSize,
Int32  iWhichAxis 
)
pure virtual

◆ GetAxisLabelFontStyle()

virtual bool MsiChart::Dataset::GetAxisLabelFontStyle ( unsigned char &  orFontStyle,
Int32  iWhichAxis 
)
pure virtual

◆ GetAxisLineColorFormat()

virtual bool MsiChart::Dataset::GetAxisLineColorFormat ( RGBColor orLineColor)
pure virtual

◆ GetAxisLineStyleFormat()

virtual bool MsiChart::Dataset::GetAxisLineStyleFormat ( unsigned char &  orLineStyle)
pure virtual

◆ GetAxisLineThicknessFormat()

virtual bool MsiChart::Dataset::GetAxisLineThicknessFormat ( Int32 orLineThickness)
pure virtual

◆ GetAxisMajorTickLineColorFormat()

virtual bool MsiChart::Dataset::GetAxisMajorTickLineColorFormat ( RGBColor orLineColor,
Int32  iObjectID 
)
pure virtual

◆ GetAxisMajorTickLineStyleFormat()

virtual bool MsiChart::Dataset::GetAxisMajorTickLineStyleFormat ( unsigned char &  orLineStyle,
Int32  iObjectID 
)
pure virtual

◆ GetAxisMajorTickLineThicknessFormat()

virtual bool MsiChart::Dataset::GetAxisMajorTickLineThicknessFormat ( Int32 orLineThickness,
Int32  iObjectID 
)
pure virtual

◆ GetAxisMinorTickLineColorFormat()

virtual bool MsiChart::Dataset::GetAxisMinorTickLineColorFormat ( RGBColor orLineColor,
Int32  iObjectID 
)
pure virtual

◆ GetAxisMinorTickLineStyleFormat()

virtual bool MsiChart::Dataset::GetAxisMinorTickLineStyleFormat ( unsigned char &  orLineStyle,
Int32  iObjectID 
)
pure virtual

◆ GetAxisMinorTickLineThicknessFormat()

virtual bool MsiChart::Dataset::GetAxisMinorTickLineThicknessFormat ( Int32 orLineThickness,
Int32  iObjectID 
)
pure virtual

◆ GetAxisOriginLineColor()

virtual bool MsiChart::Dataset::GetAxisOriginLineColor ( RGBColor orLineColor,
Int32  iObjectID 
)
pure virtual

◆ GetAxisOriginLineStyle()

virtual bool MsiChart::Dataset::GetAxisOriginLineStyle ( unsigned char &  orLineStyle,
Int32  iObjectID 
)
pure virtual

◆ GetAxisOriginLineThickness()

virtual bool MsiChart::Dataset::GetAxisOriginLineThickness ( Int32 orLineThickness,
Int32  iObjectID 
)
pure virtual

◆ GetAxisOriginValue()

virtual bool MsiChart::Dataset::GetAxisOriginValue ( double &  orAxisOriginValue,
Int32  iObjectId 
)
pure virtual

◆ GetBalancedCount()

virtual Int32 MsiChart::Dataset::GetBalancedCount ( bool  iIsForGroup)
pure virtual

◆ GetBandDivision()

virtual void MsiChart::Dataset::GetBandDivision ( Int32  iGroupId,
Int32  iVAIndex,
std::vector< double > &  iMetrics,
std::vector< double > &  iRatios 
)
pure virtual

◆ GetBreakByLabel()

virtual void MsiChart::Dataset::GetBreakByLabel ( Int32  iOrdinal,
bool  iIsForRow,
MBase::String orCollection 
)
pure virtual

◆ GetCoefficients()

virtual std::vector<double> MsiChart::Dataset::GetCoefficients ( Int32  iSeriesId)
pure virtual

◆ GetColorStyleIndex() [1/2]

virtual Int32 MsiChart::Dataset::GetColorStyleIndex ( Int32  iLocalIndex)
pure virtual

◆ GetColorStyleIndex() [2/2]

virtual Int32 MsiChart::Dataset::GetColorStyleIndex ( Int32  iSeriesID,
Int32  iGroupID,
Int32  iColumnOffset = 0,
bool  iIsConsiderSubtotal = true 
)
pure virtual

◆ GetColorStyleLabel() [1/2]

virtual MBase::String MsiChart::Dataset::GetColorStyleLabel ( Int32  iSeriesID,
Int32  iGroupID,
Int32  iColumnOffset,
bool  iIsConsiderSubtotal = true 
)
pure virtual

◆ GetColorStyleLabel() [2/2]

virtual MBase::String MsiChart::Dataset::GetColorStyleLabel ( Int32  iLocalColorIndex)
pure virtual

◆ GetColorStyleNumber()

virtual Int32 MsiChart::Dataset::GetColorStyleNumber ( )
pure virtual

◆ GetColTree()

virtual DimTree* MsiChart::Dataset::GetColTree ( )
pure virtual

◆ GetCumulatedData()

virtual HRESULT MsiChart::Dataset::GetCumulatedData ( Int32  iGroupId,
Int32  iSeriesId,
EnumGraphMatrixDataIndexType  iDataIndexType,
const double *&  iorValue 
)
pure virtual

◆ GetCurrentTreshHoldFillType()

virtual THRESHOLD_FILL_STYLE MsiChart::Dataset::GetCurrentTreshHoldFillType ( )
pure virtual

◆ GetData() [1/2]

virtual HRESULT MsiChart::Dataset::GetData ( Int32  iSeriesID,
Int32  iGroupID,
const double *&  iorValue,
Int32  iColumnOffset = 0,
bool  iIsForSlice = true 
)
pure virtual

◆ GetData() [2/2]

virtual HRESULT MsiChart::Dataset::GetData ( Int32  iGroupId,
Int32  iSeriesId,
EnumGraphMatrixDataIndexType  iDataIndexType,
const double *&  iorValue,
Int32  iAngleId = -3 
)
pure virtual

◆ GetDataAdditionPartSize()

virtual HRESULT MsiChart::Dataset::GetDataAdditionPartSize ( Int32 orDataAdditionPartSize)
pure virtual

◆ GetDataGroup()

virtual Int32 MsiChart::Dataset::GetDataGroup ( )
pure virtual

◆ GetDataGroupInfo()

virtual const DataGroupInfo* MsiChart::Dataset::GetDataGroupInfo ( )
pure virtual

◆ GetDataLabelFontColor()

virtual bool MsiChart::Dataset::GetDataLabelFontColor ( RGBColor orFontColor)
pure virtual

◆ GetDataLableFontAlignment()

virtual bool MsiChart::Dataset::GetDataLableFontAlignment ( unsigned char &  orFontAlignment)
pure virtual

◆ GetDataLableFontAlpha()

virtual bool MsiChart::Dataset::GetDataLableFontAlpha ( unsigned char &  orFontAlpha)
pure virtual

◆ GetDataLableFontBox()

virtual bool MsiChart::Dataset::GetDataLableFontBox ( unsigned char &  orFontBox)
pure virtual

◆ GetDataLableFontName()

virtual bool MsiChart::Dataset::GetDataLableFontName ( MBase::String orFontName)
pure virtual

◆ GetDataLableFontSize()

virtual bool MsiChart::Dataset::GetDataLableFontSize ( Int32 orFontSize)
pure virtual

◆ GetDataLableFontStyle()

virtual bool MsiChart::Dataset::GetDataLableFontStyle ( unsigned char &  orFontStyle)
pure virtual

◆ GetDataPositionPartSize()

virtual HRESULT MsiChart::Dataset::GetDataPositionPartSize ( Int32 orDataPositionPartSize)
pure virtual

◆ GetDataSizeByPartSize()

virtual HRESULT MsiChart::Dataset::GetDataSizeByPartSize ( Int32 orDataSizeByPartSize)
pure virtual

◆ GetDataTextLabel()

virtual void MsiChart::Dataset::GetDataTextLabel ( Int32  iOrdinal,
bool  iIsForRow,
MBase::String orCollection,
int  iDepth 
)
pure virtual

◆ GetGenericFillFormatAlpha()

virtual bool MsiChart::Dataset::GetGenericFillFormatAlpha ( unsigned char &  orAlpha,
Int32  iSeriesId,
Int32  iGroupId,
Int32  iAngleId = -3,
Int32  iSliceId = -3 
)
pure virtual

◆ GetGenericFillFormatColor()

virtual bool MsiChart::Dataset::GetGenericFillFormatColor ( RGBColor orColor,
Int32  iSeriesId,
Int32  iGroupId,
Int32  iAngleId = -3,
Int32  iSliceId = -3 
)
pure virtual

◆ GetGenericFillFormatGradient()

virtual bool MsiChart::Dataset::GetGenericFillFormatGradient ( GraphFillGradient irFillGradient,
Int32  iSeriesId,
Int32  iGroupId,
Int32  iSliceId = -3 
)
pure virtual

◆ GetGenericFillFormatType()

virtual bool MsiChart::Dataset::GetGenericFillFormatType ( unsigned char &  orFillType,
Int32  iSeriesId,
Int32  iGroupId,
Int32  iAngleId = -3,
Int32  iSliceId = -3 
)
pure virtual

◆ GetGenericLineColor()

virtual bool MsiChart::Dataset::GetGenericLineColor ( RGBColor orLineColor,
Int32  iSeriesId,
Int32  iGroupId,
Int32  iAngleId = -3,
Int32  iSliceId = -3 
)
pure virtual

◆ GetGenericLineStyle()

virtual bool MsiChart::Dataset::GetGenericLineStyle ( unsigned char &  orLineStyle,
Int32  iSeriesId,
Int32  iGroupId,
Int32  iAngleId = -3,
Int32  iSliceId = -3 
)
pure virtual

◆ GetGenericLineThickness()

virtual bool MsiChart::Dataset::GetGenericLineThickness ( Int32 orLineThickness,
Int32  iSeriesId,
Int32  iGroupId,
Int32  iAngleId = -3,
Int32  iSliceId = -3 
)
pure virtual

◆ GetGMColorByIndex()

virtual int MsiChart::Dataset::GetGMColorByIndex ( Int32  iSeriesID,
Int32  iGroupID,
Int32  iAngleIndex = -3,
Int32  iColumnOffset = 0 
)
pure virtual

◆ GetGMColorByKey()

virtual std::string MsiChart::Dataset::GetGMColorByKey ( std::vector< std::pair< Int32, Int32 > >  iColorByUnitsIndex,
Int32  iSeriesID,
Int32  iGroupID,
Int32  iColumnOffset = 0,
bool  iIsConsiderSubtotal = true 
)
pure virtual

◆ GetGMPieMaxMin()

virtual HRESULT MsiChart::Dataset::GetGMPieMaxMin ( double &  orMax,
double &  orMin,
Int32  iColumnOffset,
DATA_RETRIEVAL_TYPE  iType = DRT_NORMAL 
)
pure virtual

◆ GetGMPieSubtotalMaxMin()

virtual HRESULT MsiChart::Dataset::GetGMPieSubtotalMaxMin ( std::map< std::pair< Int32, Int32 >, double >  iPieSubtotalMap,
double &  orMax,
double &  orMin,
Int32  iColumnOffset,
DATA_RETRIEVAL_TYPE  iType = DRT_NORMAL 
)
pure virtual

◆ GetGridDataFormat() [1/2]

virtual HRESULT MsiChart::Dataset::GetGridDataFormat ( ChartAdvFormat orFormat,
Int32  iSeriesId,
Int32  iGroupId,
Int32  iColumnOffset,
Int32  iAngleId = -3,
Int32  iSliceId = -3 
)
pure virtual

◆ GetGridDataFormat() [2/2]

virtual HRESULT MsiChart::Dataset::GetGridDataFormat ( ChartAdvFormat orFormat,
Int32  iHostMetricIndex,
bool  iIsAngleMetricIndex = false,
Int32  iGroupId = 0 
)
pure virtual

◆ GetGroupCount()

virtual HRESULT MsiChart::Dataset::GetGroupCount ( Int32 orGroupCount)
pure virtual

◆ GetGroupDimTree()

virtual void MsiChart::Dataset::GetGroupDimTree ( DimTree *&  iopDimTree)
pure virtual

◆ GetGroupLabel()

virtual HRESULT MsiChart::Dataset::GetGroupLabel ( Int32  iGroupID,
MBase::String orGroupLabel,
bool  iSubstitute = true,
Int32  iColumnOffset = 0,
bool  iIsForSlice = true,
LABEL_LEVEL_OPTION  iOption = LLO_NORMAL 
)
pure virtual

◆ GetLabelCollection()

virtual void MsiChart::Dataset::GetLabelCollection ( Int32  iOrdinal,
bool  iIsForRow,
std::vector< std::string > &  orCollection 
)
pure virtual

◆ GetLabelInDrillPath()

virtual std::string MsiChart::Dataset::GetLabelInDrillPath ( bool  iIsByRow,
Int32  iIndex,
const std::string &  irCandiate,
bool  iIncludeAllForms = false 
)
pure virtual

◆ getLineMarkerColorSetting()

virtual void MsiChart::Dataset::getLineMarkerColorSetting ( std::vector< int > &  iSetting)
pure virtual

◆ GetMemoryUsageEstimation()

virtual float MsiChart::Dataset::GetMemoryUsageEstimation ( )
pure virtual

◆ GetMetricIndex() [1/2]

virtual Int32 MsiChart::Dataset::GetMetricIndex ( Int32  iRowIndex,
Int32  iColIndex 
)
pure virtual

◆ GetMetricIndex() [2/2]

virtual Int32 MsiChart::Dataset::GetMetricIndex ( Int32  iGroupId,
Int32  iSeriesId,
Int32  iAngleIndex,
Int32  iSliceIndex 
)
pure virtual

◆ GetMetricInfo()

virtual MetricUnitInfo* MsiChart::Dataset::GetMetricInfo ( )
pure virtual

This method would return one metricUnitInfo object which is used to provide metric related information.

Returns
the MetricUnitInfo object

Implemented in MsiChart::DatasetImpl, and MsiChart::GraphMatrixDataSetWrapper.

◆ GetMetricLabelCount()

virtual Int32 MsiChart::Dataset::GetMetricLabelCount ( )
pure virtual

◆ GetMetricsCount()

virtual Int32 MsiChart::Dataset::GetMetricsCount ( bool  iIsAtTopLevel = false)
pure virtual

◆ GetMetricsLabel()

virtual bool MsiChart::Dataset::GetMetricsLabel ( Int32  iIndex,
MBase::String orLabel 
)
pure virtual

◆ GetOneSliceRange() [1/2]

virtual bool MsiChart::Dataset::GetOneSliceRange ( Int32 iBeinSeries,
Int32 iEndSeries,
Int32 iBeginGroup,
Int32 iEndGroup 
)
pure virtual

assume we are dealing with the simplest case

Implemented in MsiChart::DatasetImpl, and MsiChart::GraphMatrixDataSetWrapper.

◆ GetOneSliceRange() [2/2]

virtual bool MsiChart::Dataset::GetOneSliceRange ( std::vector< Int32 > &  irSeriesIndex,
std::vector< Int32 > &  irGroupIndex 
)
pure virtual

this is for more complex ones

Implemented in MsiChart::DatasetImpl, and MsiChart::GraphMatrixDataSetWrapper.

◆ getOnScreenTextRange()

virtual std::pair<int, int> MsiChart::Dataset::getOnScreenTextRange ( bool  isForGroup)
pure virtual

◆ GetPeakValuesAcrossSeries() [1/2]

virtual HRESULT MsiChart::Dataset::GetPeakValuesAcrossSeries ( double &  orMax,
double &  orMin,
const std::vector< Int32 > &  irSereisSet,
Int32  iColumnOffset = 0 
)
pure virtual

◆ GetPeakValuesAcrossSeries() [2/2]

virtual HRESULT MsiChart::Dataset::GetPeakValuesAcrossSeries ( double &  orMax,
double &  orMin,
Int32  iBeginSeries,
Int32  iEndSeries,
Int32  iColumnOffset = 0 
)
pure virtual

◆ GetPieAngleCount()

virtual HRESULT MsiChart::Dataset::GetPieAngleCount ( Int32  iGroupId,
Int32  iSeriesId,
Int32 orAngleCount 
)
pure virtual

◆ GetPieGroupDetph()

virtual void MsiChart::Dataset::GetPieGroupDetph ( Int32 orDepth)
pure virtual

◆ GetPieSliceCount()

virtual HRESULT MsiChart::Dataset::GetPieSliceCount ( Int32  iGroupId,
Int32  iSeriesId,
Int32  iAngleId,
Int32 orSliceCount 
)
pure virtual

◆ GetPieSliceData()

virtual HRESULT MsiChart::Dataset::GetPieSliceData ( Int32  iGroupId,
Int32  iSeriesId,
Int32  iAngleId,
Int32  iSliceId,
const double *&  iorValue,
Int32  iColumnOffset = -1 
)
pure virtual

◆ GetPieSubtotal()

virtual HRESULT MsiChart::Dataset::GetPieSubtotal ( std::map< std::pair< Int32, Int32 >, double >  iPieSubtotalMap,
Int32  iGroupId,
const std::vector< Int32 > &  iPickedIndexSet,
double &  iorValue,
Int32  iColumnOffset,
bool  iIsUseAbsValue = false,
bool  iIsForSlice = true 
)
pure virtual

◆ GetPrimaryData()

virtual HRESULT MsiChart::Dataset::GetPrimaryData ( Int32  iSeriesID,
Int32  iGroupID,
const double *&  iorValue,
Int32  iPrimaryIndex = 0,
bool  iIsForColor = false,
bool  iIsForSlice = true,
int  iAngleIndex = 0,
int  iSliceIndex = 0 
)
pure virtual

◆ GetReferenceLineColor()

virtual bool MsiChart::Dataset::GetReferenceLineColor ( RGBColor orLineColor,
Int32  mSeriesId,
Int32  iGroupId 
)
pure virtual

◆ GetReferenceLineFontColor()

virtual bool MsiChart::Dataset::GetReferenceLineFontColor ( RGBColor orFontColor,
Int32  iSeriesId,
Int32  iGroupId 
)
pure virtual

◆ GetReferenceLineFontName()

virtual bool MsiChart::Dataset::GetReferenceLineFontName ( MBase::String orFontName,
Int32  iSeriesId,
Int32  iGroupId 
)
pure virtual

◆ GetReferenceLineFontSize()

virtual bool MsiChart::Dataset::GetReferenceLineFontSize ( Int32 orFontSize,
Int32  iSeriesId,
Int32  iGroupId 
)
pure virtual

◆ GetReferenceLineFontStyle()

virtual bool MsiChart::Dataset::GetReferenceLineFontStyle ( unsigned char &  orFontStyle,
Int32  iSeriesId,
Int32  iGroupId 
)
pure virtual

◆ GetReferenceLineStyle()

virtual bool MsiChart::Dataset::GetReferenceLineStyle ( unsigned char &  orLineStyle,
Int32  iSeriesId,
Int32  iGroupId 
)
pure virtual

◆ GetReferenceLineThickness()

virtual bool MsiChart::Dataset::GetReferenceLineThickness ( Int32 orLineThickness,
Int32  iSeriesId,
Int32  iGroupId 
)
pure virtual

◆ GetRefLineLable()

virtual void MsiChart::Dataset::GetRefLineLable ( Int32  iSeriesId,
Int32  iRefLineIndex,
std::string &  iText,
bool &  orIsShowValue,
double &  orValue 
)
pure virtual

◆ GetRefLineValues()

virtual std::vector<double> MsiChart::Dataset::GetRefLineValues ( Int32  iSeriesId)
pure virtual

◆ GetRefLineValuesForBubble()

virtual std::vector<double> MsiChart::Dataset::GetRefLineValuesForBubble ( Int32  iIndex,
Int32  iAxisIndex 
)
pure virtual

◆ GetReplacedText()

virtual bool MsiChart::Dataset::GetReplacedText ( Int32  iSeriesId,
Int32  iGroupId,
Int32  iColumnOffset,
MBase::String orReplacedText,
Int32 orColor 
)
pure virtual

◆ GetReverseGroup()

virtual bool MsiChart::Dataset::GetReverseGroup ( )
pure virtual

◆ GetRowAndColumnIndexForMinMaxMetrixIndex()

virtual void MsiChart::Dataset::GetRowAndColumnIndexForMinMaxMetrixIndex ( bool  iIsForMax,
std::vector< Int32 iMetricIndex,
Int32 orRowIndex,
Int32 orColumnIndex 
)
pure virtual

◆ GetRowCount()

virtual bool MsiChart::Dataset::GetRowCount ( Int32 orCount)
pure virtual

◆ GetRowLabel()

virtual bool MsiChart::Dataset::GetRowLabel ( Int32  iIndex,
MBase::String orLabel 
)
pure virtual

◆ GetRowTree()

virtual DimTree* MsiChart::Dataset::GetRowTree ( )
pure virtual

Get the number of dim node in one dim.

Implemented in MsiChart::DatasetImpl, and MsiChart::GraphMatrixDataSetWrapper.

◆ GetSeriesByColumn()

virtual bool MsiChart::Dataset::GetSeriesByColumn ( ) const
pure virtual

◆ GetSeriesCount()

virtual HRESULT MsiChart::Dataset::GetSeriesCount ( Int32 orSeriesCount)
pure virtual

◆ GetSeriesGroupIdsFromIndex()

virtual bool MsiChart::Dataset::GetSeriesGroupIdsFromIndex ( std::vector< std::pair< Int32, Int32 > > &  iorSGPairs,
const std::vector< Int32 > &  irRowIndexSet,
const std::vector< Int32 > &  irColIndexSet 
)
pure virtual

◆ GetSeriesInSecondaryAxis()

virtual std::set<int> MsiChart::Dataset::GetSeriesInSecondaryAxis ( )
pure virtual

◆ GetSeriesLabel()

virtual HRESULT MsiChart::Dataset::GetSeriesLabel ( Int32  iSeriesID,
MBase::String orSeriesLabel,
bool  iSubstitute = true,
Int32  iColumnOffset = 0,
bool  iIsForSlice = true,
LABEL_LEVEL_OPTION  iOption = LLO_NORMAL,
bool  iIsForEmptyAxisWithTemplateMetrc = false 
)
pure virtual

◆ GetSeriesPieceStartIndex()

virtual Int32 MsiChart::Dataset::GetSeriesPieceStartIndex ( Int32  iIndex)
pure virtual

◆ GetSeriesSplitVector()

virtual void MsiChart::Dataset::GetSeriesSplitVector ( std::vector< Int32 > &  orVec)
pure virtual

◆ GetShapeBySeriesId()

virtual Int32 MsiChart::Dataset::GetShapeBySeriesId ( Int32  iSeriesId)
pure virtual

◆ GetShuffledStatus()

virtual SHUFFLE_STATUS MsiChart::Dataset::GetShuffledStatus ( )
pure virtual

◆ GetSliceFlag()

virtual bool MsiChart::Dataset::GetSliceFlag ( )
pure virtual

◆ GetSliceGroupRange()

virtual bool MsiChart::Dataset::GetSliceGroupRange ( Int32 iBeginGroup,
Int32 iEndGroup 
)
pure virtual

◆ GetSliceLabel()

virtual void MsiChart::Dataset::GetSliceLabel ( Int32  iOrdinal,
bool  iIsForRow,
MBase::String orCollection 
)
pure virtual

◆ GetStatus()

virtual DATASET_STATUS MsiChart::Dataset::GetStatus ( bool  iIsGraph,
bool  iIsDummyGridChart = false 
)
pure virtual

Get the currrent status of this dataset.

Parameters
isGraph,whetherthis dataset is used for graph rendering
isDummyGrid,whetherthis dataset is used for grid rendering, this one is obsolete
Returns
the status.

Implemented in MsiChart::DatasetImpl, and MsiChart::GraphMatrixDataSetWrapper.

◆ GetSubTotalGlobalRowAndColumnIndex()

virtual void MsiChart::Dataset::GetSubTotalGlobalRowAndColumnIndex ( Int32  iGroupId,
const std::vector< Int32 > &  iPickedIndexSet,
Int32  iColumnOffset,
Int32 iorRowOrdinal,
Int32 iorColOrdinal 
)
pure virtual

◆ GetTemplateUnitElementName()

virtual MBase::String MsiChart::Dataset::GetTemplateUnitElementName ( Int32  iDimLayer,
Int32  iIndexInsideDim,
bool  iIsInRowTree = false,
Int32  iFormIndex = 0,
MBase::String  iSeperator = L" " 
)
pure virtual

◆ GetTemplateUnitName()

virtual MBase::String MsiChart::Dataset::GetTemplateUnitName ( Int32  iDimLayer,
bool  iIsInRowTree = false,
bool  iUseAlias = false 
)
pure virtual

◆ GetTextAsShapeAlignment()

virtual bool MsiChart::Dataset::GetTextAsShapeAlignment ( unsigned char &  orFontAlignment,
Int32  iSeriesId,
Int32  iGroupId 
)
pure virtual

◆ GetTextAsShapeFontColor()

virtual bool MsiChart::Dataset::GetTextAsShapeFontColor ( RGBColor orFontColor,
Int32  iSeriesId,
Int32  iGroupId 
)
pure virtual

◆ GetTextAsShapeFontName()

virtual bool MsiChart::Dataset::GetTextAsShapeFontName ( MBase::String orFontName,
Int32  iSeriesId,
Int32  iGroupId 
)
pure virtual

◆ GetTextAsShapeFontSize()

virtual bool MsiChart::Dataset::GetTextAsShapeFontSize ( Int32 orFontSize,
Int32  iSeriesId,
Int32  iGroupId 
)
pure virtual

◆ GetTextAsShapeFontStyle()

virtual bool MsiChart::Dataset::GetTextAsShapeFontStyle ( unsigned char &  orFontStyle,
Int32  iSeriesId,
Int32  iGroupId 
)
pure virtual

◆ GetTextDataLabel() [1/2]

virtual void MsiChart::Dataset::GetTextDataLabel ( Int32  iGroupId,
Int32  iSeriesId,
std::string &  orCollection,
Int32  iAngleId = -3,
Int32  iSliceId = -3 
)
pure virtual

◆ GetTextDataLabel() [2/2]

virtual void MsiChart::Dataset::GetTextDataLabel ( Int32  iOrdinal,
std::string &  orCollection 
)
pure virtual

◆ GetTextValue()

virtual bool MsiChart::Dataset::GetTextValue ( Int32  iSeriesId,
Int32  iGroupId,
double &  orDataValue 
)
pure virtual

◆ GetThresholdFillColor()

virtual HRESULT MsiChart::Dataset::GetThresholdFillColor ( Int32  iSeriesId,
Int32  iGroupId,
CComVariant opValue 
)
pure virtual

◆ GetThresholdIndex()

virtual Int32 MsiChart::Dataset::GetThresholdIndex ( Int32  iRowIndex,
Int32  iColIndex 
)
pure virtual

◆ GetTokenFlag()

virtual bool MsiChart::Dataset::GetTokenFlag ( )
pure virtual

◆ GetTokenManager()

virtual TokenManager* MsiChart::Dataset::GetTokenManager ( )
pure virtual

◆ GetToolTipDataString()

virtual HRESULT MsiChart::Dataset::GetToolTipDataString ( Int32  iSeriesID,
Int32  iGroupID,
MBase::String orDataString,
Int32  iOffset 
)
pure virtual

◆ GetTotalData() [1/2]

virtual HRESULT MsiChart::Dataset::GetTotalData ( Int32  iIndex,
bool  iIsGroupTotal,
Int32  iSpanStartIndex,
Int32  iSpanEndIndex,
double &  iorValue,
Int32  iColumnOffset,
bool  iIsUseAbsValue = false,
bool  iIsForSlice = true 
)
pure virtual

◆ GetTotalData() [2/2]

virtual HRESULT MsiChart::Dataset::GetTotalData ( Int32  iIndex,
bool  iIsGroupTotal,
const std::vector< Int32 > &  iPickedIndexSet,
double &  iorValue,
Int32  iColumnOffset,
bool  iIsUseAbsValue = false,
bool  iIsForSlice = true 
)
pure virtual

◆ GetTreeWidth()

virtual Int32 MsiChart::Dataset::GetTreeWidth ( Int32  iDimLayer,
bool  iIsInRowTree,
bool  iIsActualSize = false,
bool  iIsSqueezeHCG = true 
)
pure virtual

◆ GetTrendLineColor()

virtual bool MsiChart::Dataset::GetTrendLineColor ( RGBColor orLineColor,
Int32  iSeriesId,
Int32  iGroupId 
)
pure virtual

◆ GetTrendLineStyle()

virtual bool MsiChart::Dataset::GetTrendLineStyle ( unsigned char &  orLineStyle,
Int32  iSeriesId,
Int32  iGroupId 
)
pure virtual

◆ GetTrendLineThickness()

virtual bool MsiChart::Dataset::GetTrendLineThickness ( Int32 orLineThickness,
Int32  iSeriesId,
Int32  iGroupId 
)
pure virtual

◆ GetTrendLineValuesWithForecast()

virtual std::vector<double> MsiChart::Dataset::GetTrendLineValuesWithForecast ( Int32  iSeriesId)
pure virtual

◆ GetUnitNameCollection()

virtual void MsiChart::Dataset::GetUnitNameCollection ( bool  iIsForRow,
std::vector< std::string > &  orCollection 
)
pure virtual

This method would return all the alias name of the tempalte unit along the denoted axis.

Parameters
isForRow,ifit is on row axis,
orCollection,theresults, an array of unit name.
iParseTemplateMetrics,howto handle tempalte metrics.

Implemented in MsiChart::DatasetImpl, and MsiChart::GraphMatrixDataSetWrapper.

◆ GetValueAxisNumberFormat() [1/2]

virtual HRESULT MsiChart::Dataset::GetValueAxisNumberFormat ( ChartAdvFormat orFormat,
bool  iConsiderThresholds = true,
Int32  iStartIndex = 0,
Int32  iStep = 0 
)
pure virtual

Get the automatic number format for value axis. It is either the shared format by all choosen metric or general if any two metric's format are different.

Parameters
orFormat,theparsed format
iConsiderThresholds,considerthreshold or not
iStartIndex,whereto start the scan
iStep

Implemented in MsiChart::DatasetImpl, and MsiChart::GraphMatrixDataSetWrapper.

◆ GetValueAxisNumberFormat() [2/2]

virtual HRESULT MsiChart::Dataset::GetValueAxisNumberFormat ( ChartAdvFormat orFormat,
const std::set< Int32 > &  irMetricSet 
)
pure virtual

◆ InitFromTemplateAndGrid()

virtual HRESULT MsiChart::Dataset::InitFromTemplateAndGrid ( DSSTemplate ipTemplate,
DSSRWGridIterator ipGridIterator,
bool  iIsParseTotals 
)
pure virtual

This mehoud is used to initilization all the data members of the dataset instance. This is used for OOTB graph rendering.

Parameters
ipTemplate,thepassed-in template
ipGridIterator,thepassed-in iterator
iIsParseTotals,whetherto consider totals.
Returns
the status of the dataset.

Implemented in MsiChart::DatasetImpl, and MsiChart::GraphMatrixDataSetWrapper.

◆ InitFromTemplateSlice()

virtual HRESULT MsiChart::Dataset::InitFromTemplateSlice ( DSSTemplate ipTemplate,
DSSRWGridIterator ipGridIterator,
Int32  iSliceID,
bool  iIsCacheData = false,
bool  iIncludeSubtotal = true 
)
pure virtual

This mehoud is used to initilization all the data members of the dataset instance. This is used for widget rendering.

Parameters
ipTemplate,thepassed-in template
ipGridIterator,thepassed-in iterator
iSliceID,theslice block index.
iIsCacheData,whetherto cache the data cells.
Returns
the status of the dataset.

Implemented in MsiChart::DatasetImpl, and MsiChart::GraphMatrixDataSetWrapper.

◆ IsDataLabelEnaled()

virtual bool MsiChart::Dataset::IsDataLabelEnaled ( Int32  iSeriesId,
Int32  iGroupId,
Int32  iAngleId = -3,
Int32  iSliceId = -3 
)
pure virtual

◆ IsDataTimeType()

virtual bool MsiChart::Dataset::IsDataTimeType ( Int32  iSeriesID,
Int32  iGroupID 
)
pure virtual

◆ IsDisplaySliceInvalid()

virtual bool MsiChart::Dataset::IsDisplaySliceInvalid ( )
pure virtual

This method would check if current slice is valid

Returns
true means INVALID

Implemented in MsiChart::DatasetImpl, and MsiChart::GraphMatrixDataSetWrapper.

◆ IsEmpty()

virtual bool MsiChart::Dataset::IsEmpty ( )
pure virtual

Whether or not there is valid data values in this dataset.

Returns
true means no valid data value and false means otherwise.

Implemented in MsiChart::DatasetImpl, and MsiChart::GraphMatrixDataSetWrapper.

◆ IsExpomentialBaseNearOne()

virtual bool MsiChart::Dataset::IsExpomentialBaseNearOne ( Int32  iSeriesId)
pure virtual

◆ IsGroupOnScreen()

virtual bool MsiChart::Dataset::IsGroupOnScreen ( Int32  iGroupId)
pure virtual

◆ IsHeaderEmpty()

virtual bool MsiChart::Dataset::IsHeaderEmpty ( bool  iIsForRow = true)
pure virtual

◆ IsHeaderTreeEmpty()

virtual bool MsiChart::Dataset::IsHeaderTreeEmpty ( bool  iIsForGroup)
pure virtual

This method would check if the tree instance is empty.

Parameters
iIsForGroup,turemeans group tree to check out.
Returns
true means empty.

Implemented in MsiChart::DatasetImpl, and MsiChart::GraphMatrixDataSetWrapper.

◆ IsMetricBySeries()

virtual bool MsiChart::Dataset::IsMetricBySeries ( )
pure virtual

This method would determine if the metric is on the series dimension or not.

Returns
true means metric is on the series dimension

Implemented in MsiChart::DatasetImpl, and MsiChart::GraphMatrixDataSetWrapper.

◆ IsReformed()

virtual bool MsiChart::Dataset::IsReformed ( )
pure virtual

◆ IsSeriesOnScreen()

virtual bool MsiChart::Dataset::IsSeriesOnScreen ( Int32  iSeriesId)
pure virtual

◆ IsSliced()

virtual bool MsiChart::Dataset::IsSliced ( )
pure virtual

◆ IsSubtotalAt()

virtual bool MsiChart::Dataset::IsSubtotalAt ( Int32  iRowIndex,
Int32  iColIndex,
bool &  orIsTotal 
)
pure virtual

For Graph Drill to see if a certail graph object is total.

Parameters
iRowIndex: RowIndex to the queried object.
iColIndex: ColIndex id to the queries object.
orIsTotal: the output result
Returns
true means the the result is valid and false otherwise.

Implemented in MsiChart::DatasetImpl, and MsiChart::GraphMatrixDataSetWrapper.

◆ NextSliceToDisplay()

virtual bool MsiChart::Dataset::NextSliceToDisplay ( bool  iIsPrevious,
bool  iIsStaring = false 
)
pure virtual

This method would get a chunck of data from the whole dataset by slicing it with the max row/col setting, and use it as the next slice for rendering.

Parameters
iIsPrevious,truemeans previous slice and false means next
iIsStaring,truemeans the 1st slice and it will overrite the iIsPrvious setting, false means not the first slice.
Returns
true means a successful slicing.

Implemented in MsiChart::DatasetImpl, and MsiChart::GraphMatrixDataSetWrapper.

◆ PopulateOneSlice() [1/3]

virtual bool MsiChart::Dataset::PopulateOneSlice ( Int32  iBeinSeries,
Int32  iEndSeries,
Int32  iBeginGroup,
Int32  iEndGroup 
)
pure virtual

get the index for start & end group of one slice, valid for slice with continous group.

assume we are dealing with the simplest case

Implemented in MsiChart::DatasetImpl, and MsiChart::GraphMatrixDataSetWrapper.

◆ PopulateOneSlice() [2/3]

virtual bool MsiChart::Dataset::PopulateOneSlice ( const std::vector< Int32 > &  irSeriesIndex,
const std::vector< Int32 > &  irGroupIndex,
SLICE_TYPE  iType = SLICE_STRIPPED 
)
pure virtual

this is for the more complex ones

Implemented in MsiChart::DatasetImpl, and MsiChart::GraphMatrixDataSetWrapper.

◆ PopulateOneSlice() [3/3]

virtual bool MsiChart::Dataset::PopulateOneSlice ( Int32  iBegin,
Int32  iEnd,
const std::vector< Int32 > &  irIndex,
SLICE_TYPE  iType = SLICE_MIXED_GROUP 
)
pure virtual

◆ PopulateOneTree()

virtual bool MsiChart::Dataset::PopulateOneTree ( std::wifstream &  iFileStream,
bool  iIsForRow = true 
)
pure virtual

◆ PopulateReformer()

virtual bool MsiChart::Dataset::PopulateReformer ( DSSRWGridIterator ipGridIterator,
DataSetReformInfo ipReformInfo 
)
pure virtual

◆ PopulateTokenManager()

virtual bool MsiChart::Dataset::PopulateTokenManager ( bool  iEnableToken)
pure virtual

◆ PopulateTotalValues()

virtual bool MsiChart::Dataset::PopulateTotalValues ( std::wifstream &  iFileStream)
pure virtual

◆ PrepareIterator()

virtual void MsiChart::Dataset::PrepareIterator ( )
pure virtual

◆ Refresh()

virtual bool MsiChart::Dataset::Refresh ( )
pure virtual

◆ RestoreFromShuffle()

virtual void MsiChart::Dataset::RestoreFromShuffle ( )
pure virtual

◆ SeriesGroupIndexToRowColumnIndex()

virtual void MsiChart::Dataset::SeriesGroupIndexToRowColumnIndex ( Int32  iSeriesID,
Int32  iGroupID,
Int32 orRowIndex,
Int32 orColumnIndex,
Int32  iColumnOffset,
Int32  iAngleId = -3,
Int32  iSliceId = -3,
bool  iIsConsiderSubtotal = true 
)
pure virtual

◆ SetActiveSliceIndex()

virtual bool MsiChart::Dataset::SetActiveSliceIndex ( Int32  iIndex = 0)
pure virtual

◆ SetAxisInfo()

virtual void MsiChart::Dataset::SetAxisInfo ( const std::vector< int > &  irAxisInfo)
pure virtual

◆ SetColorSlices()

virtual void MsiChart::Dataset::SetColorSlices ( std::vector< Int32 > &  irRowUnits,
std::vector< Int32 irColumnUnits 
)
pure virtual

◆ SetColumnLabel()

virtual HRESULT MsiChart::Dataset::SetColumnLabel ( Int32  iColumn,
const wchar_t *  ipColumnLabel 
)
pure virtual

◆ SetData()

virtual HRESULT MsiChart::Dataset::SetData ( Int32  iRow,
Int32  iCol,
double  iValue 
)
pure virtual

◆ SetDataGroup()

virtual HRESULT MsiChart::Dataset::SetDataGroup ( Int32  iDataGroup,
bool  iIgnoreForNoSeriesOrGroup = true 
)
pure virtual

◆ SetDatagroupInfo()

virtual void MsiChart::Dataset::SetDatagroupInfo ( const DataGroupInfo irInfo)
pure virtual

◆ SetForHistogram()

virtual void MsiChart::Dataset::SetForHistogram ( bool  iIsForHistogram)
pure virtual

◆ SetFormatManager()

virtual void MsiChart::Dataset::SetFormatManager ( FormatManager ipFormatManager)
pure virtual

Set formatmanager instance to dataset.

Parameters
ipFormatManager,thepassed-in formatManager instance.

Implemented in MsiChart::DatasetImpl, and MsiChart::GraphMatrixDataSetWrapper.

◆ SetGlobalIterator()

virtual void MsiChart::Dataset::SetGlobalIterator ( DSSRWGridIterator ipIterator)
pure virtual

◆ SetGMDataSet()

virtual void MsiChart::Dataset::SetGMDataSet ( void *  pDataSet = NULL)
pure virtual

◆ SetPieGroupDetph()

virtual void MsiChart::Dataset::SetPieGroupDetph ( Int32  irDetph)
pure virtual

◆ SetReverseGroup()

virtual void MsiChart::Dataset::SetReverseGroup ( bool  iReverseGroup)
pure virtual

◆ SetReverseSeries()

virtual void MsiChart::Dataset::SetReverseSeries ( bool  iRevereSeries)
pure virtual

◆ SetRowAndColumn()

virtual HRESULT MsiChart::Dataset::SetRowAndColumn ( Int32  iRowNumber,
Int32  iColumnNumber 
)
pure virtual

◆ SetRowLabel()

virtual HRESULT MsiChart::Dataset::SetRowLabel ( Int32  iRow,
const wchar_t *  ipRowLabel 
)
pure virtual

◆ SetSeriesByColumn()

virtual void MsiChart::Dataset::SetSeriesByColumn ( bool  iSeriesByColumn)
pure virtual

◆ SetSeriesSplitVector()

virtual void MsiChart::Dataset::SetSeriesSplitVector ( const std::vector< Int32 > &  irVec)
pure virtual

◆ SetTreeInstance()

virtual void MsiChart::Dataset::SetTreeInstance ( DimTree ipTree,
bool  iIsForRowTree 
)
pure virtual

◆ ShuffleIndex()

virtual bool MsiChart::Dataset::ShuffleIndex ( bool  iIsOnRow,
const std::vector< Int32 > &  iShuffledIndexList 
)
pure virtual