dymaptic.GeoBlazor.Core

dymaptic.GeoBlazor.Core.Components

PieChartMediaInfo Class

A PieChartMediaInfo is a type of chart media element that represents a pie chart displayed within a popup.
ArcGIS Maps SDK for JavaScript

public class PieChartMediaInfo : dymaptic.GeoBlazor.Core.Components.MediaInfo,
dymaptic.GeoBlazor.Core.Interfaces.IChartMediaInfo,
dymaptic.GeoBlazor.Core.Interfaces.IMapComponent

Inheritance System.Object 🡒 Microsoft.AspNetCore.Components.ComponentBase 🡒 MapComponent 🡒 MediaInfo 🡒 PieChartMediaInfo

Implements IChartMediaInfo, IMapComponent

Constructors

PieChartMediaInfo() Constructor

Parameterless constructor for use as a Razor Component.

public PieChartMediaInfo();

PieChartMediaInfo(string, string, string, ChartMediaInfoValue) Constructor

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

public PieChartMediaInfo(string? title=null, string? caption=null, string? altText=null, dymaptic.GeoBlazor.Core.Components.ChartMediaInfoValue? value=null);

Parameters

title System.String

The title of the media element.
ArcGIS Maps SDK for JavaScript

caption System.String

Defines a caption for the media.
ArcGIS Maps SDK for JavaScript

altText System.String

Provides an alternate text for an image if the image cannot be displayed.
ArcGIS Maps SDK for JavaScript

value ChartMediaInfoValue

Defines the chart value.
ArcGIS Maps SDK for JavaScript

Properties

PieChartMediaInfo.Type Property

Indicates the type of media

public override string Type { get; }

Property Value

System.String

PieChartMediaInfo.Value Property

Defines the chart value.
ArcGIS Maps SDK for JavaScript

public dymaptic.GeoBlazor.Core.Components.ChartMediaInfoValue? Value { get; set; }

Implements Value

Property Value

ChartMediaInfoValue

Methods

PieChartMediaInfo.GetValue() Method

Asynchronously retrieve the current value of the Value property.

public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Components.ChartMediaInfoValue?> GetValue();

Implements GetValue()

Returns

System.Threading.Tasks.Task<ChartMediaInfoValue>

PieChartMediaInfo.SetValue(ChartMediaInfoValue) Method

Asynchronously set the value of the Value property after render.

public System.Threading.Tasks.Task SetValue(dymaptic.GeoBlazor.Core.Components.ChartMediaInfoValue? value);

Parameters

value ChartMediaInfoValue

The value to set.

Implements SetValue(ChartMediaInfoValue)

Returns

System.Threading.Tasks.Task

PieChartMediaInfo.ValidateRequiredGeneratedChildren() Method

Validates source-generated child components.

public override void ValidateRequiredGeneratedChildren();

Implements ValidateRequiredGeneratedChildren()