layout: default title: StatisticDefinition parent: Core Classes —

dymaptic.GeoBlazor.Core

dymaptic.GeoBlazor.Core.Objects

StatisticDefinition Class

This class defines the parameters for querying a layer or layer view for statistics.
ArcGIS Maps SDK for JavaScript

public class StatisticDefinition :
System.IEquatable<dymaptic.GeoBlazor.Core.Objects.StatisticDefinition>

Inheritance System.Object 🡒 StatisticDefinition

Implements System.IEquatable<StatisticDefinition>

Constructors

StatisticDefinition(string, string, StatisticType, StatisticParameters) Constructor

This class defines the parameters for querying a layer or layer view for statistics.
ArcGIS Maps SDK for JavaScript

public StatisticDefinition(string OnStatisticField, string OutStatisticFieldName, dymaptic.GeoBlazor.Core.Objects.StatisticType StatisticType, dymaptic.GeoBlazor.Core.Objects.StatisticParameters StatisticParameters);

Parameters

OnStatisticField System.String

Defines the field for which statistics will be calculated. This can be service field names or SQL expressions. See
the snippets below for examples.

OutStatisticFieldName System.String

Specifies the output field name for the requested statistic. Output field names can only contain alpha-numeric
characters and an underscore. If no output field name is specified, the server assigns a field name to the returned
statistic field.

StatisticType StatisticType

Defines the type of statistic.

StatisticParameters StatisticParameters

The parameters for percentile statistics. This property must be set when the statisticType is set to either
percentile-continuous or percentile-discrete.

Properties

StatisticDefinition.OnStatisticField Property

Defines the field for which statistics will be calculated. This can be service field names or SQL expressions. See
the snippets below for examples.

public string OnStatisticField { get; set; }

Property Value

System.String

StatisticDefinition.OutStatisticFieldName Property

Specifies the output field name for the requested statistic. Output field names can only contain alpha-numeric
characters and an underscore. If no output field name is specified, the server assigns a field name to the returned
statistic field.

public string OutStatisticFieldName { get; set; }

Property Value

System.String

StatisticDefinition.StatisticParameters Property

The parameters for percentile statistics. This property must be set when the statisticType is set to either
percentile-continuous or percentile-discrete.

public dymaptic.GeoBlazor.Core.Objects.StatisticParameters StatisticParameters { get; set; }

Property Value

StatisticParameters

StatisticDefinition.StatisticType Property

Defines the type of statistic.

public dymaptic.GeoBlazor.Core.Objects.StatisticType StatisticType { get; set; }

Property Value

StatisticType