dymaptic.GeoBlazor.Core

dymaptic.GeoBlazor.Core.Components

ChartMediaInfoValue Class

The ChartMediaInfoValue class contains information for popups regarding how charts should be constructed.
ArcGIS Maps SDK for JavaScript

public class ChartMediaInfoValue : dymaptic.GeoBlazor.Core.Components.MapComponent

Inheritance System.Object 🡒 Microsoft.AspNetCore.Components.ComponentBase 🡒 MapComponent 🡒 ChartMediaInfoValue

Constructors

ChartMediaInfoValue() Constructor

Parameterless constructor for use as a Razor Component.

public ChartMediaInfoValue();

ChartMediaInfoValue(IReadOnlyList, string, string, IReadOnlyList, IReadOnlyList) Constructor

Constructor for use in C# code. Use named parameters (e.g., item1: value1, item2: value2) to set properties in any order.

public ChartMediaInfoValue(System.Collections.Generic.IReadOnlyList<string>? fields=null, string? normalizeField=null, string? tooltipField=null, System.Collections.Generic.IReadOnlyList<dymaptic.GeoBlazor.Core.Components.ChartMediaInfoValueSeries>? series=null, System.Collections.Generic.IReadOnlyList<dymaptic.GeoBlazor.Core.Model.MapColor>? colors=null);

Parameters

fields System.Collections.Generic.IReadOnlyList<System.String>

An array of strings, with each string containing the name of a field to display in the chart.
ArcGIS Maps SDK for JavaScript

normalizeField System.String

A string containing the name of a field.
ArcGIS Maps SDK for JavaScript

tooltipField System.String

String value indicating the tooltip for a chart specified from another field.
ArcGIS Maps SDK for JavaScript

series System.Collections.Generic.IReadOnlyList<ChartMediaInfoValueSeries>

An array of ChartMediaInfoValueSeries objects which provide
information of x/y data that is plotted in a chart.
ArcGIS Maps SDK for JavaScript

colors System.Collections.Generic.IReadOnlyList<MapColor>

An optional array of colors where each color corresponds respectively to a field in the fields.
ArcGIS Maps SDK for JavaScript

Properties

ChartMediaInfoValue.Colors Property

An optional array of colors where each color corresponds respectively to a field in the fields.
ArcGIS Maps SDK for JavaScript

public System.Collections.Generic.IReadOnlyList<dymaptic.GeoBlazor.Core.Model.MapColor>? Colors { get; set; }

Property Value

System.Collections.Generic.IReadOnlyList<MapColor>

ChartMediaInfoValue.Fields Property

An array of strings, with each string containing the name of a field to display in the chart.
ArcGIS Maps SDK for JavaScript

public System.Collections.Generic.IReadOnlyList<string>? Fields { get; set; }

Property Value

System.Collections.Generic.IReadOnlyList<System.String>

ChartMediaInfoValue.NormalizeField Property

A string containing the name of a field. The values of all fields in the chart will be normalized (divided) by the value of this field.

public string? NormalizeField { get; set; }

Property Value

System.String

ChartMediaInfoValue.Series Property

An array of ChartMediaInfoValueSeries objects which provide
information of x/y data that is plotted in a chart.
ArcGIS Maps SDK for JavaScript

public System.Collections.Generic.IReadOnlyList<dymaptic.GeoBlazor.Core.Components.ChartMediaInfoValueSeries>? Series { get; set; }

Property Value

System.Collections.Generic.IReadOnlyList<ChartMediaInfoValueSeries>

ChartMediaInfoValue.TooltipField Property

String value indicating the tooltip for a chart specified from another field. It is used for showing tooltips from another field in the same layer or related layer/table.

public string? TooltipField { get; set; }

Property Value

System.String

Methods

ChartMediaInfoValue.AddToColors(MapColor[]) Method

Asynchronously adds elements to the Colors property.

public System.Threading.Tasks.Task AddToColors(params dymaptic.GeoBlazor.Core.Model.MapColor[] values);

Parameters

values MapColor[]

The elements to add.

Returns

System.Threading.Tasks.Task

ChartMediaInfoValue.AddToFields(string[]) Method

Asynchronously adds elements to the Fields property.

public System.Threading.Tasks.Task AddToFields(params string[] values);

Parameters

values System.String[]

The elements to add.

Returns

System.Threading.Tasks.Task

ChartMediaInfoValue.AddToSeries(ChartMediaInfoValueSeries[]) Method

Asynchronously adds elements to the Series property.

public System.Threading.Tasks.Task AddToSeries(params dymaptic.GeoBlazor.Core.Components.ChartMediaInfoValueSeries[] values);

Parameters

values ChartMediaInfoValueSeries[]

The elements to add.

Returns

System.Threading.Tasks.Task

ChartMediaInfoValue.GetColors() Method

Asynchronously retrieve the current value of the Colors property.

public System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<dymaptic.GeoBlazor.Core.Model.MapColor>?> GetColors();

Returns

System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<MapColor>>

ChartMediaInfoValue.GetFields() Method

Asynchronously retrieve the current value of the Fields property.

public System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<string>?> GetFields();

Returns

System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<System.String>>

ChartMediaInfoValue.GetNormalizeField() Method

Asynchronously retrieve the current value of the NormalizeField property.

public System.Threading.Tasks.Task<string?> GetNormalizeField();

Returns

System.Threading.Tasks.Task<System.String>

ChartMediaInfoValue.GetSeries() Method

Asynchronously retrieve the current value of the Series property.

public System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<dymaptic.GeoBlazor.Core.Components.ChartMediaInfoValueSeries>?> GetSeries();

Returns

System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<ChartMediaInfoValueSeries>>

ChartMediaInfoValue.GetTooltipField() Method

Asynchronously retrieve the current value of the TooltipField property.

public System.Threading.Tasks.Task<string?> GetTooltipField();

Returns

System.Threading.Tasks.Task<System.String>

ChartMediaInfoValue.RemoveFromColors(MapColor[]) Method

Asynchronously remove an element from the Colors property.

public System.Threading.Tasks.Task RemoveFromColors(params dymaptic.GeoBlazor.Core.Model.MapColor[] values);

Parameters

values MapColor[]

The elements to remove.

Returns

System.Threading.Tasks.Task

ChartMediaInfoValue.RemoveFromFields(string[]) Method

Asynchronously remove an element from the Fields property.

public System.Threading.Tasks.Task RemoveFromFields(params string[] values);

Parameters

values System.String[]

The elements to remove.

Returns

System.Threading.Tasks.Task

ChartMediaInfoValue.RemoveFromSeries(ChartMediaInfoValueSeries[]) Method

Asynchronously remove an element from the Series property.

public System.Threading.Tasks.Task RemoveFromSeries(params dymaptic.GeoBlazor.Core.Components.ChartMediaInfoValueSeries[] values);

Parameters

values ChartMediaInfoValueSeries[]

The elements to remove.

Returns

System.Threading.Tasks.Task

ChartMediaInfoValue.SetColors(IReadOnlyList) Method

Asynchronously set the value of the Colors property after render.

public System.Threading.Tasks.Task SetColors(System.Collections.Generic.IReadOnlyList<dymaptic.GeoBlazor.Core.Model.MapColor>? value);

Parameters

value System.Collections.Generic.IReadOnlyList<MapColor>

The value to set.

Returns

System.Threading.Tasks.Task

ChartMediaInfoValue.SetFields(IReadOnlyList) Method

Asynchronously set the value of the Fields property after render.

public System.Threading.Tasks.Task SetFields(System.Collections.Generic.IReadOnlyList<string>? value);

Parameters

value System.Collections.Generic.IReadOnlyList<System.String>

The value to set.

Returns

System.Threading.Tasks.Task

ChartMediaInfoValue.SetNormalizeField(string) Method

Asynchronously set the value of the NormalizeField property after render.

public System.Threading.Tasks.Task SetNormalizeField(string? value);

Parameters

value System.String

The value to set.

Returns

System.Threading.Tasks.Task

ChartMediaInfoValue.SetSeries(IReadOnlyList) Method

Asynchronously set the value of the Series property after render.

public System.Threading.Tasks.Task SetSeries(System.Collections.Generic.IReadOnlyList<dymaptic.GeoBlazor.Core.Components.ChartMediaInfoValueSeries>? value);

Parameters

value System.Collections.Generic.IReadOnlyList<ChartMediaInfoValueSeries>

The value to set.

Returns

System.Threading.Tasks.Task

ChartMediaInfoValue.SetTooltipField(string) Method

Asynchronously set the value of the TooltipField property after render.

public System.Threading.Tasks.Task SetTooltipField(string? value);

Parameters

value System.String

The value to set.

Returns

System.Threading.Tasks.Task

ChartMediaInfoValue.ValidateRequiredGeneratedChildren() Method

Validates source-generated child components.

public override void ValidateRequiredGeneratedChildren();

Implements ValidateRequiredGeneratedChildren()