dymaptic.GeoBlazor.Core
dymaptic.GeoBlazor.Core.Components.Popups
LineChartMediaInfo Class
A LineChartMediaInfo is a type of chart media element that represents a line chart displayed within a popup.
ArcGIS
JS API
</a>
public class LineChartMediaInfo : dymaptic.GeoBlazor.Core.Components.Popups.MediaInfo
Inheritance System.Object 🡒 Microsoft.AspNetCore.Components.ComponentBase 🡒 MapComponent 🡒 MediaInfo 🡒 LineChartMediaInfo
Properties
LineChartMediaInfo.AltText Property
Provides an alternate text for an image if the image cannot be displayed.
public string? AltText { get; set; }
Property Value
LineChartMediaInfo.Caption Property
Defines a caption for the media.
public string? Caption { get; set; }
Property Value
LineChartMediaInfo.Title Property
The title of the media element.
public string? Title { get; set; }
Property Value
LineChartMediaInfo.Type Property
Indicates the type of media
public override string Type { get; }
Property Value
LineChartMediaInfo.Value Property
Defines the chart value.
public dymaptic.GeoBlazor.Core.Components.Popups.ChartMediaInfoValue? Value { get; set; }
Property Value
Methods
LineChartMediaInfo.RegisterChildComponent(MapComponent) Method
Called from dymaptic.GeoBlazor.Core.Components.MapComponent.OnAfterRenderAsync(System.Boolean) to “Register” the current component with it’s parent.
public override System.Threading.Tasks.Task RegisterChildComponent(dymaptic.GeoBlazor.Core.Components.MapComponent child);
Parameters
child
MapComponent
The calling, child component to register
Returns
Exceptions
InvalidChildElementException
Throws if the current child is not a valid sub-component to the parent.
LineChartMediaInfo.UnregisterChildComponent(MapComponent) Method
Undoes the “Registration” of a child with its parent.
public override System.Threading.Tasks.Task UnregisterChildComponent(dymaptic.GeoBlazor.Core.Components.MapComponent child);
Parameters
child
MapComponent
The child to unregister
Returns
LineChartMediaInfo.ValidateRequiredChildren() Method
When a MapView is prepared to render, this will check to make sure that all properties with the
RequiredPropertyAttribute are provided.
public override void ValidateRequiredChildren();
Exceptions
MissingRequiredChildElementException
The consumer needs to provide the missing child component
MissingRequiredOptionsChildElementException
The consumer needs to provide ONE of the options of child components