A chart series that renders a filled contour (isoband) plot from scalar field data sampled on a regular grid. Each data item provides an X coordinate (CategoryProperty), a Y coordinate (ValueProperty) and an intensity value (IntensityProperty). The series draws one filled polygon per (cell, band) so that areas with intensity within a given SeriesColorRange are shaded with that range's color. Uses linear interpolation inside each grid triangle (marching-triangles), which avoids the saddle ambiguity of marching-squares and produces smooth iso-bands suitable for isoilluminance plots, temperature maps and similar visualisations.
CartesianSeries<TItem>.RequireChart
CartesianSeries<TItem>.ComposeCategory
CartesianSeries<TItem>.ComposeValue
CartesianSeries<TItem>.IsValueNullable
CartesianSeries<TItem>.GetRawValueGetter
CartesianSeries<TItem>.IsNumeric
CartesianSeries<TItem>.GetCategories
CartesianSeries<TItem>.TransformCategoryScale
CartesianSeries<TItem>.RenderOverlays
CartesianSeries<TItem>.RenderTopOverlays
CartesianSeries<TItem>.SetParametersAsync
CartesianSeries<TItem>.Initialize
CartesianSeries<TItem>.MeasureLegend
CartesianSeries<TItem>.MeasureLegendItems
CartesianSeries<TItem>.InsidePolygon
CartesianSeries<TItem>.RenderTooltip
CartesianSeries<TItem>.RenderSharedTooltipItem
CartesianSeries<TItem>.GetTooltipPosition
CartesianSeries<TItem>.TooltipStyle
CartesianSeries<TItem>.TooltipClass
CartesianSeries<TItem>.GetMedian
CartesianSeries<TItem>.GetMean
CartesianSeries<TItem>.GetMode
CartesianSeries<TItem>.GetTrend
CartesianSeries<TItem>.GetScaledDataPoints
CartesianSeries<TItem>.GetTitle
CartesianSeries<TItem>.TooltipLabel
CartesianSeries<TItem>.GetDataLabels
CartesianSeries<TItem>.PickColor
CartesianSeries<TItem>.Dispose
CartesianSeries<TItem>.InvokeClick
CartesianSeries<TItem>.ValueAxisName
CartesianSeries<TItem>.ChildContent
CartesianSeries<TItem>.TooltipTemplate
CartesianSeries<TItem>.Overlays
CartesianSeries<TItem>.CoordinateSystem
CartesianSeries<TItem>.CategoryProperty
CartesianSeries<TItem>.Visible
CartesianSeries<TItem>.ShowInLegend
CartesianSeries<TItem>.ValueProperty
CartesianSeries<TItem>.RenderingOrder
CartesianSeries<TItem>.Markers
CartesianSeries<TItem>.MarkerType
CartesianSeries<TItem>.ShowActivePoint
CartesianSeries<TItem>.ShowLineInLegend
CartesianSeries<TItem>.MarkerSize
RadzenChartComponentBase.ShouldRefreshChart
RadzenChartComponentBase.ValidateParameters
RadzenChartComponentBase.DidParameterChange
RadzenChartComponentBase.Chart
ComponentBase.OnInitialized
ComponentBase.OnInitializedAsync
ComponentBase.OnParametersSet
ComponentBase.OnParametersSetAsync
ComponentBase.StateHasChanged
ComponentBase.ShouldRender
ComponentBase.OnAfterRender
ComponentBase.OnAfterRenderAsync
ComponentBase.InvokeAsync
ComponentBase.DispatchExceptionAsync
ComponentBase.RendererInfo
ComponentBase.Assets
ComponentBase.AssignedRenderMode
Namespace: Radzen.Blazor
Assembly: Radzen.Blazor.dll
public class RadzenContourSeries<TItem> : CartesianSeries<TItem>, IComponent, IHandleEvent, IHandleAfterRender, IChartSeries, IChartValueAxisSeries| Name | Description |
|---|---|
| TItem | The type of data items in the series. |
<RadzenChart>
<RadzenContourSeries Data=@grid CategoryProperty="X" ValueProperty="Y" IntensityProperty="Lux"
ColorRange="@ranges" ShowLines="true" Title="Illuminance" />
<RadzenCategoryAxis Min="0" Max="5" />
<RadzenValueAxis Min="0" Max="5" />
</RadzenChart>A chart series that renders a filled contour (isoband) plot from scalar field data sampled on a regular grid. Each data item provides an X coordinate (CategoryProperty), a Y coordinate (ValueProperty) and an intensity value (IntensityProperty). The series draws one filled polygon per (cell, band) so that areas with intensity within a given SeriesColorRange are shaded with that range's color. Uses linear interpolation inside each grid triangle (marching-triangles), which avoids the saddle ambiguity of marching-squares and produces smooth iso-bands suitable for isoilluminance plots, temperature maps and similar visualisations.
public RadzenContourSeries<TItem>()The value-to-color mapping for isoband fills. Each range specifies a Min, Max and Color.
public IList<SeriesColorRange> ColorRange { get; set; }
| Type | Description |
|---|---|
| IList<SeriesColorRange> | The value-to-color mapping for isoband fills. Each range specifies a Min, Max and Color. |
The default fill color applied to regions whose intensity does not match any entry in ColorRange.
public string Fill { get; set; }
| Type | Description |
|---|---|
| string | The default fill color applied to regions whose intensity does not match any entry in ColorRange. |
The label used for the intensity dimension in the tooltip. Defaults to "Value".
public string IntensityLabel { get; set; }
| Type | Description |
|---|---|
| string | The label used for the intensity dimension in the tooltip. Defaults to "Value". |
The name of the numeric property of TItem that provides the scalar field (the value mapped to color).
public string IntensityProperty { get; set; }
| Type | Description |
|---|---|
| string | The name of the numeric property of TItem that provides the scalar field (the value mapped to color). |
The color used for iso-lines when ShowLines is true. When not set the band color is used.
public string LineColor { get; set; }
| Type | Description |
|---|---|
| string | The color used for iso-lines when ShowLines is true. When not set the band color is used. |
Explicit iso-line thresholds. When null the Min of each entry in ColorRange is used.
public IList<double> LineThresholds { get; set; }
| Type | Description |
|---|---|
| IList<double> | Explicit iso-line thresholds. When null the Min of each entry in ColorRange is used. |
The iso-line width in pixels.
public double LineWidth { get; set; }
| Type | Description |
|---|---|
| double | The iso-line width in pixels. |
When true iso-lines are drawn between bands. Defaults to false.
public bool ShowLines { get; set; }
| Type | Description |
|---|---|
| bool | When true iso-lines are drawn between bands. Defaults to false. |
protected override void BuildRenderTree(Rendering.RenderTreeBuilder __builder)
| Type | Name | Description |
|---|---|---|
| Rendering.RenderTreeBuilder | __builder |
public override bool Contains(double x, double y, double tolerance)
| Type | Name | Description |
|---|---|---|
| double | x | |
| double | y | |
| double | tolerance |
| Type | Description |
|---|---|
| bool |
public override ValueTuple<object, Point> DataAt(double x, double y)
| Type | Name | Description |
|---|---|---|
| double | x | |
| double | y |
| Type | Description |
|---|---|
| ValueTuple<object, Point> |
public override RenderFragment Render(ScaleBase categoryScale, ScaleBase valueScale)
| Type | Description |
|---|---|
| RenderFragment |
protected override RenderFragment RenderLegendItem(bool clickable)
| Type | Name | Description |
|---|---|---|
| bool | clickable |
| Type | Description |
|---|---|
| RenderFragment |
protected override string TooltipTitle(TItem item)
| Type | Name | Description |
|---|---|---|
| TItem | item |
| Type | Description |
|---|---|
| string |
protected override string TooltipValue(TItem item)
| Type | Name | Description |
|---|---|---|
| TItem | item |
| Type | Description |
|---|---|
| string |