ArcGIS Runtime SDK for iOS: AGSClassBreaksRenderer.h Source File
ArcGIS Runtime SDK for iOS  100.15
AGSClassBreaksRenderer.h
Go to the documentation of this file.
1 /*
2  COPYRIGHT 2022 ESRI
3 
4  All rights reserved under the copyright laws of the United States
5  and applicable international laws, treaties, and conventions.
6 
7  This material is licensed for use under the Esri Master License
8  Agreement (MLA), and is bound by the terms of that agreement.
9  You may redistribute and use this code without modification,
10  provided you adhere to the terms of the MLA and include this
11  copyright notice.
12 
13  See use restrictions at http://www.esri.com/legal/pdfs/mla_e204_e300/english
14 
15  For additional information, contact:
16  Environmental Systems Research Institute, Inc.
17  Attn: Contracts and Legal Services Department
18  380 New York Street
19  Redlands, California, 92373
20  USA
21 
22  email: contracts@esri.com
23  */
24  //Required for Globals API doc
26 
27 #import <Foundation/Foundation.h>
28 #import <ArcGIS/AGSRenderer.h>
29 
30 
31 
36 typedef NS_ENUM(NSInteger, AGSRendererClassificationMethod)
37 {
45 };
46 
52 typedef NS_ENUM(NSInteger, AGSRendererNormalizationType) {
57  AGSRendererNormalizationTypeUnknown ("AGSRendererNormalizationTypeUnknown is no longer supported") = -1
58 };
59 
60 @class AGSSymbol;
61 @class AGSClassBreak;
62 
82 
83 #pragma mark -
84 #pragma mark initializers
85 
92 -(instancetype)initWithFieldName:(NSString *)fieldName classBreaks:(NSArray<AGSClassBreak*> *)classBreaks;
93 
98 +(instancetype)classBreaksRenderer;
99 
106 +(instancetype)classBreaksRendererWithFieldName:(NSString *)fieldName classBreaks:(NSArray<AGSClassBreak*> *)classBreaks;
107 
108 #pragma mark -
109 #pragma mark properties
110 
114 @property (nullable, nonatomic, strong, readwrite) AGSSymbol *backgroundFillSymbol;
115 
120 @property (nonatomic, copy, readwrite) NSArray<AGSClassBreak*> *classBreaks;
121 
125 @property (nonatomic, assign, readonly) AGSRendererClassificationMethod classificationMethod;
126 
130 @property (nonatomic, copy, readwrite) NSString *defaultLabel;
131 
135 @property (nullable, nonatomic, strong, readwrite) AGSSymbol *defaultSymbol;
136 
141 @property (nonatomic, copy, readwrite) NSString *fieldName;
142 
146 @property (nonatomic, assign, readwrite) double minValue;
147 
151 @property (nonatomic, copy, readwrite) NSString *normalizationField;
152 
157 @property (nonatomic, assign, readwrite) double normalizationTotal;
158 
162 @property (nonatomic, assign, readwrite) AGSRendererNormalizationType normalizationType;
163 
164 #pragma mark -
165 #pragma mark methods
166 
167 @end
168 
169 
AGSRendererClassificationMethod
Definition: AGSClassBreaksRenderer.h:37
@ AGSRendererClassificationMethodGeometricalInterval
Definition: AGSClassBreaksRenderer.h:40
@ AGSRendererClassificationMethodStandardDeviation
Definition: AGSClassBreaksRenderer.h:43
@ AGSRendererClassificationMethodNaturalBreaks
Definition: AGSClassBreaksRenderer.h:41
@ AGSRendererClassificationMethodQuantile
Definition: AGSClassBreaksRenderer.h:42
@ AGSRendererClassificationMethodDefinedInterval
Definition: AGSClassBreaksRenderer.h:38
@ AGSRendererClassificationMethodEqualInterval
Definition: AGSClassBreaksRenderer.h:39
@ AGSRendererClassificationMethodManual
Definition: AGSClassBreaksRenderer.h:44
AGSRendererNormalizationType
Definition: AGSClassBreaksRenderer.h:52
@ AGSRendererNormalizationTypeNone
Definition: AGSClassBreaksRenderer.h:56
@ AGSRendererNormalizationTypeByField
Definition: AGSClassBreaksRenderer.h:53
@ AGSRendererNormalizationTypeByLog
Definition: AGSClassBreaksRenderer.h:54
@ AGSRendererNormalizationTypeByPercentOfTotal
Definition: AGSClassBreaksRenderer.h:55
@ AGSRendererNormalizationTypeUnknown
Definition: AGSClassBreaksRenderer.h:57
A class break object used to categorize a group of values that fall within a range of values.
Definition: AGSClassBreak.h:84
A renderer based on class breaks.
Definition: AGSClassBreaksRenderer.h:82
AGSSymbol * defaultSymbol
Definition: AGSClassBreaksRenderer.h:135
NSArray< AGSClassBreak * > * classBreaks
Definition: AGSClassBreaksRenderer.h:120
AGSSymbol * backgroundFillSymbol
Definition: AGSClassBreaksRenderer.h:114
AGSRendererClassificationMethod classificationMethod
Definition: AGSClassBreaksRenderer.h:125
NSString * fieldName
Definition: AGSClassBreaksRenderer.h:141
NSString * normalizationField
Definition: AGSClassBreaksRenderer.h:151
double normalizationTotal
Definition: AGSClassBreaksRenderer.h:157
NSString * defaultLabel
Definition: AGSClassBreaksRenderer.h:130
double minValue
Definition: AGSClassBreaksRenderer.h:146
instancetype classBreaksRenderer()
AGSRendererNormalizationType normalizationType
Definition: AGSClassBreaksRenderer.h:162
An abstract base class for renderers.
Definition: AGSRenderer.h:55
A symbol used to display a graphic or a feature.
Definition: AGSSymbol.h:93