Class RadzenSeriesMeanLine
Displays the mean of a chart series.
Inheritance
System.Object
RadzenSeriesMeanLine
Namespace: Radzen.Blazor
Assembly: Radzen.Blazor.dll
Syntax
public class RadzenSeriesMeanLine : RadzenSeriesValueLine
Examples
<RadzenChart>
<RadzenLineSeries Data=@revenue CategoryProperty="Quarter" ValueProperty="Revenue">
<RadzenSeriesMeanLine />
</RadzenLineSeries>
</RadzenChart>
@code {
class DataItem
{
public string Quarter { get; set; }
public double Revenue { get; set; }
}
DataItem[] revenue = new DataItem[]
{
new DataItem { Quarter = "Q1", Revenue = 234000 },
new DataItem { Quarter = "Q2", Revenue = 284000 },
new DataItem { Quarter = "Q3", Revenue = 274000 },
new DataItem { Quarter = "Q4", Revenue = 294000 }
};
}
Properties
Name
Declaration
protected override string Name { get; }
Property Value
Type | Description |
---|---|
System.String |
Value
Declaration
public override double Value { get; set; }
Property Value
Type | Description |
---|---|
System.Double |