RadzenChartRangeNavigator Class

Attaches a RadzenRangeNavigator below a RadzenChart, automatically bound to the chart's view range. Dragging the navigator window zooms the chart; zooming or panning the chart moves the navigator window. No manual binding is required. Declare RadzenRangeNavigatorLineSeries<T> children to display a data preview, or leave empty for a compact navigator.

Inheritance

Object

ComponentBase

RadzenChartComponentBase

RadzenChartRangeNavigator

Implements

IComponent

IHandleEvent

IHandleAfterRender

Inherited Members

RadzenChartComponentBase.SetParametersAsync

RadzenChartComponentBase.ValidateParameters

RadzenChartComponentBase.DidParameterChange

RadzenChartComponentBase.Chart

ComponentBase.BuildRenderTree

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

Syntax

public class RadzenChartRangeNavigator : RadzenChartComponentBase, IComponent, IHandleEvent, IHandleAfterRender

Examples

<RadzenChart AllowZoom="true" AllowPan="true">
    <RadzenLineSeries Data=@data CategoryProperty="Date" ValueProperty="Value" />
    <RadzenChartRangeNavigator>
        <RadzenRangeNavigatorLineSeries Data=@data CategoryProperty="Date" ValueProperty="Value" />
    </RadzenChartRangeNavigator>
</RadzenChart>

Constructors

RadzenChartRangeNavigatorlink

Attaches a RadzenRangeNavigator below a RadzenChart, automatically bound to the chart's view range. Dragging the navigator window zooms the chart; zooming or panning the chart moves the navigator window. No manual binding is required. Declare RadzenRangeNavigatorLineSeries<T> children to display a data preview, or leave empty for a compact navigator.

Declaration
public RadzenChartRangeNavigator()

Properties

ChildContentlink

Gets or sets the child content. Used to declare RadzenRangeNavigatorLineSeries<T> preview series.

Declaration
public RenderFragment ChildContent { get; set; }
Property Value
Type Description
RenderFragmentGets or sets the child content. Used to declare RadzenRangeNavigatorLineSeries<T> preview series.

HandleLabelFormatStringlink

Gets or sets the format string used to format the handle labels.

Declaration
public string HandleLabelFormatString { get; set; }
Property Value
Type Description
stringGets or sets the format string used to format the handle labels.

Heightlink

Gets or sets the height of the navigator in pixels.

Declaration
public double Height { get; set; }
Property Value
Type Description
doubleGets or sets the height of the navigator in pixels.

ShowHandleLabelslink

Gets or sets a value indicating whether labels with the current range values are displayed next to the drag handles.

Declaration
public bool ShowHandleLabels { get; set; }
Property Value
Type Description
boolGets or sets a value indicating whether labels with the current range values are displayed next to the drag handles.

Visiblelink

Gets or sets a value indicating whether the navigator is displayed. Set to true by default.

Declaration
public bool Visible { get; set; }
Property Value
Type Description
boolGets or sets a value indicating whether the navigator is displayed. Set to true by default.

Methods

Initializelink

Declaration
protected override void Initialize()

ShouldRefreshChartlink

Declaration
protected override bool ShouldRefreshChart(ParameterView parameters)
Parameters
Type Name Description
ParameterView parameters
Returns
Type Description
bool
An error has occurred. This app may no longer respond until reloaded. Reload 🗙