|
Mobile API Reference
MicroStrategy 2019
|
#import <MSIModelData.h>
Properties | |
| BOOL | isFormatInfoShared |
| NSMutableArray * | rowHeaderArray |
| NSMutableArray * | rowTemplateUnitArray |
| NSMutableArray * | colHeaderArray |
| NSMutableArray * | colTemplateUnitArray |
| NSMutableArray * | metricHeaderArray |
| NSMutableArray * | arrayWithRowOffset |
| NSMutableArray * | arrayWithColOffset |
| NSMutableArray * | arrayWithRowOffsetForUnit |
| NSMutableArray * | arrayWithColOffsetForUnit |
| - (MSIHeaderValue*) allocHeaderValueAtRow: | (NSInteger) | rowIndex | |
| atColumn: | (NSInteger) | colIndex | |
| - (MSIHeaderValue*) allocHeaderValueByAxisType: | (AxisType) | type | |
| andRowIndex: | (NSInteger) | row | |
| andColumnIndex: | (NSInteger) | col | |
Return the headerValue at given location. MSIMetricValue is subclass of headerValue : AxisType has two types: row_axis and col_axis : row is 0-based : 0 1 2 3 : col (0-based) RegionID DESC Profit Revenue
| - (MSIMetricValue*) allocMetricValueAtRow: | (NSInteger) | rowIndex | |
| atColumn: | (NSInteger) | colIndex | |
| - (NSMutableArray*) arrayWithHeaderValueOfWholeRowByAxisType: | (AxisType) | iAxis | |
| andRowIndex: | (NSInteger) | row | |
| - (void) clearCachedData |
clear all cached data.
| - (NSInteger) colAxisHeaderCount |
the header num in column axis
| - (NSInteger) colAxisIndexOfHeaderObject: | (MSIHeader *) | headerObject |
@ return: index of the given header object in column axis , NSNotFound if not found
| - (NSInteger) colAxisTemplateUnitCount |
TemplateUnits count in column axis, won't be affected by attribute form
| - (NSInteger) columnCount |
Total number of cells in a row of row axis
| - (NSString*) formatMetricValue: | (double) | iValue | |
| withMetricIndex: | (int) | iIndex | |
: a double value you want to format : the metric index fromat according to, 0-based, if two metric exits on the dataset, the value can be 0 or 1
| - (NSString*) getAttributeElementID: | (AxisType) | type | |
| withOrdinal: | (NSInteger) | rowIndex | |
| withDepth: | (NSInteger) | titleIndex | |
| - (NSString*) getDisplayStringWithAxisType: | (AxisType) | type | |
| AtRow: | (NSInteger) | rowIndex | |
| columnDepth: | (NSInteger) | depth | |
| withDelimiter: | (NSString *) | delimeter | |
1 : (AxisType)type 2 : (NSInteger)rowIndex 3 : (NSInteger)depth, not colIndex, depth can be converted from colIndex using [widgetHelper getDepthByAxisType:(AxisType)type andColIndex:(int)col] 4 : (NSString*)delimeter, delimeter you want to insert into this string
| - (void*) getDropZoneSet |
| - (NSString*) getEntireColDisplayStringAtColumn: | (NSInteger) | colIndex | |
| withDelimiter: | (NSString *) | delimeter | |
Reimplemented from <ModelDataProtocol>.
| - (MSIHeaderValue *) getFirstHeaderElement: | (MSIHeader *) | iHeader |
| - (ThresholdSliderData*) getThresholdInfo: | (NSString *) | iMetricID | |
| defaultIndex: | (int) | index | |
| threshold: | (BOOL *) | oHasThresholdInfo | |
| - (ThresholdSliderData*) getThresholdInfo: | (NSString *) | iMetricID | |
| defaultIndex: | (int) | index | |
| threshold: | (BOOL *) | oHasThresholdInfo | |
| withIgnoreTotal: | (BOOL) | ignoreTotal | |
| - (NSArray*) getThresholdsByMetricIndex: | (int) | index | |
| thresholdsSemanticType: | (BaseFormSemanticType) | SemanticType | |
: cell's row index : cell's col index, 0-based
| - (NSDictionary *) getVisualizationProperties |
| - (MSIHeader*) headerObject: | (MSIDisplayInfo *) | object |
: any displayInfo like attributeForm, metric
| - (NSInteger) indexOfHeaderObject: | (MSIHeader *) | headerObject |
@ return: index of the given header object in row axis , NSNotFound if not found
| - (id) initWithIterator: | (void *) | ipIterator |
| - (id) initWithIterator: | (void *) | ipIterator | |
| withSliceCountOnRow: | (int) | sliceCountOnRow | |
| andSliceCountOnCol: | (int) | sliceCountOnCol | |
| - (BOOL) isEditableWithAxisType: | (AxisType) | AxisType | |
| RowIndex: | (NSInteger) | rowIndex | |
| columnIndex: | (NSInteger) | columnIndex | |
| - (BOOL) isElementEqualWithAxisType: | (int) | iAxisType | |
| AtRow: | (NSInteger) | rowIndex | |
| andColumn: | (NSInteger) | colIndex | |
| withElement: | (void *) | element | |
| 3 | : element is acturally an DSSBaseElementProxy pointer |
| - (BOOL) isMetricInRowAxis |
Is there metric in row axis
| - (BOOL) isSubtotalCell: | (MSIHeaderValue *) | headerValue |
| - (BOOL) isSubtotalCellWithAxisType: | (AxisType) | iAxisType | |
| withOrdinal: | (int) | iOrdinal | |
| withDepth: | (int) | iDepth | |
Quick API to detect subtotal cell. 1: (AxisType)type 2: cell ordinal 3: cell depth
| - (BOOL) isTransactionEnabled |
| - (NSInteger) metricColumnCount |
Total number of metric cell in a row of row axis if no attribute in column axis Total number of metric cell in a row of row axis if has attribute in column axis and metric in column axis Total number of cell in a column of column axis if metric in row axis.
| - (NSInteger) metricCount |
metric count
| - (MSIDisplayInfo*) objectByID: | (NSString *) | objID |
| - (void) resetIterator: | (void *) | iterator |
For Graph Matrix, updating slice iterator 1 : Slice iterator
| - (NSInteger) rowAxisHeaderCount |
the header num in row axis , do not include metric header
| - (NSInteger) rowAxisTemplateUnitCount |
TemplateUnits count in row axis, won't be affected by attribute form
| - (NSInteger) rowCount |
Total number of rows in row axis
| - (BOOL) rowMarkedForTransactions |
| - (void) updateDataElementInCacheAtAxisType: | (AxisType) | type | |
| andRowIndex: | (NSInteger) | row | |
| andColumnIndex: | (NSInteger) | col | |
update specified cache value.
|
readnonatomicassign |
|
readnonatomicassign |
|
readnonatomicassign |
|
readnonatomicassign |
|
readnonatomicassign |
|
readnonatomicassign |
|
readwritenonatomicassign |
|
readnonatomicassign |
|
readnonatomicassign |
|
readnonatomicassign |