# RadzenChartRangeNavigator Class

Attaches a [RadzenRangeNavigator](https://blazor.radzen.com/docs/api/Radzen.Blazor.RadzenRangeNavigator.md) below a [RadzenChart](https://blazor.radzen.com/docs/api/Radzen.Blazor.RadzenChart.md), 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>](https://blazor.radzen.com/docs/api/Radzen.Blazor.RadzenRangeNavigatorLineSeries-1.md) children to display a data preview, or leave empty for a compact navigator.

Namespace: [Radzen.Blazor](https://blazor.radzen.com/docs/api/Radzen.Blazor.md)

Assembly: Radzen.Blazor.dll

## Inheritance

- Object
- ComponentBase
- [RadzenChartComponentBase](https://blazor.radzen.com/docs/api/Radzen.Blazor.RadzenChartComponentBase.md)
- RadzenChartRangeNavigator

## Implements

- IComponent
- IHandleEvent
- IHandleAfterRender

## Syntax

```csharp
public class RadzenChartRangeNavigator : RadzenChartComponentBase, IComponent, IHandleEvent, IHandleAfterRender
```

## Examples

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

## Constructors

| Constructor | Description |
|-------------|-------------|
| `public RadzenChartRangeNavigator()` | Attaches a [RadzenRangeNavigator](https://blazor.radzen.com/docs/api/Radzen.Blazor.RadzenRangeNavigator.md) below a [RadzenChart](https://blazor.radzen.com/docs/api/Radzen.Blazor.RadzenChart.md), 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>](https://blazor.radzen.com/docs/api/Radzen.Blazor.RadzenRangeNavigatorLineSeries-1.md) children to display a data preview, or leave empty for a compact navigator. |

## Properties

| Property | Type | Description |
|------|------|-------------|
| ChildContent | `RenderFragment` | Gets or sets the child content. Used to declare [RadzenRangeNavigatorLineSeries<T>](https://blazor.radzen.com/docs/api/Radzen.Blazor.RadzenRangeNavigatorLineSeries-1.md) preview series. |
| HandleLabelFormatString | `string` | Gets or sets the format string used to format the handle labels. |
| HandleLabelFormatter | `Func<object, string>` | Gets or sets a formatter function that formats the handle label values. Receives a DateTime for date ranges or a Double for numeric ranges. Takes precedence over HandleLabelFormatString when set. |
| Height | `double` | Gets or sets the height of the navigator in pixels. |
| ShowHandleLabels | `bool` | Gets or sets a value indicating whether labels with the current range values are displayed next to the drag handles. |
| ShowTooltip | `bool` | Gets or sets a value indicating whether hovering the navigator shows the nearest point's category and value. |
| TooltipFormatString | `string` | Gets or sets the format string used to format the value shown in the tooltip. |
| Visible | `bool` | Gets or sets a value indicating whether the navigator is displayed. Set to true by default. |

## Methods

| Method | Returns | Description |
|------|---------|-------------|
| `Initialize()` | `void` |  |
| `ShouldRefreshChart(ParameterView parameters)` | `bool` |  |

## Inherited Members

- From [RadzenChartComponentBase](https://blazor.radzen.com/docs/api/Radzen.Blazor.RadzenChartComponentBase.md): Chart, DidParameterChange, SetParametersAsync, ValidateParameters
- From ComponentBase: Assets, AssignedRenderMode, BuildRenderTree, DispatchExceptionAsync, InvokeAsync, OnAfterRender, OnAfterRenderAsync, OnInitialized, OnInitializedAsync, OnParametersSet, OnParametersSetAsync, RendererInfo, ShouldRender, StateHasChanged

