Table of Contents

Class TwContourChart

Namespace
TwBlazor.Components
Assembly
TwBlazor.dll

A contour plot: lines joining the places where a measured surface has the same value, like the height lines on a map, drawn from samples taken at scattered positions.

public class TwContourChart : TwPointSurfaceChartBase, IComponent, IHandleEvent, IHandleAfterRender, ITwComponent, IAsyncDisposable
Inheritance
TwContourChart
Implements
Inherited Members

Remarks

Give each point its measurement as Size; points without one are left out. The surface between the samples is estimated from the nearest of them, and a stronger line marks a higher value. At least three samples are needed.

Constructors

TwContourChart()

public TwContourChart()

Properties

Levels

Gets or sets how many contour lines are drawn, from 2 to 10.

[Parameter]
public int Levels { get; set; }

Property Value

int

Remarks

Default is 5. The lines are spaced evenly between the lowest and highest measurement.

ValueTitle

Gets or sets the label for a sample's measurement in tooltips and the table view. Defaults to the localized Chart_Value text ("Value").

[Parameter]
public string? ValueTitle { get; set; }

Property Value

string