Mobile API Reference  MicroStrategy 2019
Metric.h
Go to the documentation of this file.
1 //
2 // Metric.h
3 // MSTRMobile
4 //
5 // Created by Amirali Charania on 2/18/10.
6 // Copyright 2010 MicroStrategy. All rights reserved.
7 //
8 
9 #import <Foundation/Foundation.h>
10 #import "MSIDisplayInfo.h"
11 
12 @class MSTRFormatHelper;
13 
14 @interface MSIMetric : MSIDisplayInfo {
15 
16 }
17 
18 - (void) setFormatForCategory: (NSInteger)cat cp:(NSInteger)cp ts:(NSInteger)ts nn:(NSInteger)nn dp:(NSInteger)dp cs:(NSString*)cs format:(NSString*)format;
19 - (NSString*) formattedValue:(NSNumber*)number;
20 
21 @property (nonatomic) NSInteger category;
22 @property (nonatomic) NSInteger currencyPosition;
23 @property (nonatomic) NSInteger thousandSeparator;
24 @property (nonatomic) NSInteger negativeNumbers;
25 @property (nonatomic) NSInteger decimalPlaces;
26 @property (nonatomic, copy) NSString* currencySymbol;
27 @property (nonatomic, copy) NSString* metricFormat;
28 @property (nonatomic, copy) NSString* controlPropertyFormatString;
29 @property NSInteger metricIndex;
30 
31 @end
Definition: Metric.h:14
NSInteger metricIndex
Definition: Metric.h:29
Definition: MSIDisplayInfo.h:10