dymaptic.GeoBlazor.Core

dymaptic.GeoBlazor.Core.Components

BarChartMediaInfo Class

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

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

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

Implements IChartMediaInfo, IMapComponent

Constructors

BarChartMediaInfo() Constructor

Parameterless constructor for use as a Razor Component.

public BarChartMediaInfo();

BarChartMediaInfo(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 BarChartMediaInfo(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

BarChartMediaInfo.Type Property

Indicates the type of media

public override string Type { get; }

Property Value

System.String

BarChartMediaInfo.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

BarChartMediaInfo.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>

BarChartMediaInfo.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

BarChartMediaInfo.ValidateRequiredGeneratedChildren() Method

Validates source-generated child components.

public override void ValidateRequiredGeneratedChildren();

Implements ValidateRequiredGeneratedChildren()