# RadzenRangeNavigator Class

A standalone range navigator component that displays a mini-chart with a draggable selection window. Connect to a [RadzenChart](https://blazor.radzen.com/docs/api/Radzen.Blazor.RadzenChart.md) via two-way binding on Start/End and the chart's ViewStart/ViewEnd.

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

Assembly: Radzen.Blazor.dll

## Inheritance

- Object
- ComponentBase
- [RadzenComponent](https://blazor.radzen.com/docs/api/Radzen.RadzenComponent.md)
- RadzenRangeNavigator

## Implements

- IComponent
- IHandleEvent
- IHandleAfterRender

## Syntax

```csharp
public class RadzenRangeNavigator : RadzenComponent, IComponent, IHandleEvent, IHandleAfterRender
```

## Constructors

| Constructor | Description |
|-------------|-------------|
| `public RadzenRangeNavigator()` | A standalone range navigator component that displays a mini-chart with a draggable selection window. Connect to a [RadzenChart](https://blazor.radzen.com/docs/api/Radzen.Blazor.RadzenChart.md) via two-way binding on Start/End and the chart's ViewStart/ViewEnd. |

## Properties

| Property | Type | Description |
|------|------|-------------|
| AxisFormatString | `string` | Gets or sets the format string for axis tick labels. Use standard .NET format strings, e.g. "{0:MMM yyyy}" for dates or "{0:N0}" for numbers. When not set, defaults to a short representation based on the data type. |
| ChildContent | `RenderFragment` | Gets or sets the child content (navigator series). |
| End | `double` | Gets or sets the end of the selected range as a fraction (0-1). Supports two-way binding with @bind-End. |
| EndChanged | `EventCallback<double>` | Gets or sets the callback invoked when the End value changes due to user interaction. |
| HandleLabelFormatString | `string` | Gets or sets the format string for handle labels. Use standard .NET format strings, e.g. "{0:MMM dd, yyyy}" for dates. When not set, defaults to a short representation based on the data type. |
| 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. |
| Max | `object` | Gets or sets the maximum value for the axis. Use when there are no child series to define the range. Supports DateTime, DateOnly and numeric types. |
| Min | `object` | Gets or sets the minimum value for the axis. Use when there are no child series to define the range. Supports DateTime, DateOnly and numeric types. |
| ShowAxis | `bool` | Gets or sets whether an axis with tick labels is displayed below the navigator. |
| ShowHandleLabels | `bool` | Gets or sets whether labels are displayed above the selection handles showing the current range values. |
| ShowTooltip | `bool` | Gets or sets whether hovering the navigator shows the nearest point's category and value. Date and numeric categories are formatted the same way as the handle labels. |
| Start | `double` | Gets or sets the start of the selected range as a fraction (0-1). Supports two-way binding with @bind-Start. |
| StartChanged | `EventCallback<double>` | Gets or sets the callback invoked when the Start value changes due to user interaction. |
| TooltipFormatString | `string` | Gets or sets the format string for the value shown in the tooltip, e.g. "{0:N0}". Defaults to "{0:N}" when not set. |

## Methods

| Method | Returns | Description |
|------|---------|-------------|
| `BuildRenderTree(Rendering.RenderTreeBuilder __builder)` | `void` |  |
| `Dispose()` | `void` |  |
| `GetComponentCssClass()` | `string` |  |
| `OnAfterRenderAsync(bool firstRender)` | `Task` |  |
| `OnNavigatorDrag(double start, double end)` | `Task` | Called from JS when the user drags the selection window or handles. |
| `OnResize(double width, double height)` | `void` | Called from JS when the navigator element is resized. |
| `SetParametersAsync(ParameterView parameters)` | `Task` |  |
| `ShouldRender()` | `bool` |  |

## Inherited Members

- From [RadzenComponent](https://blazor.radzen.com/docs/api/Radzen.RadzenComponent.md): AddContextMenu, Attributes, ContextMenu, Culture, CurrentStyle, Debounce, DefaultCulture, DefaultUICulture, Element, GetCssClass, GetId, GetIdAttribute, IsJSRuntimeAvailable, JSRuntime, Localize, MouseEnter, MouseLeave, OnBecameInvisible, OnContextMenu, OnInitialized, OnMouseEnter, OnMouseLeave, RaiseContextMenu, RaiseMouseEnter, RaiseMouseLeave, Reference, Style, UICulture, UniqueID, Visible
- From ComponentBase: Assets, AssignedRenderMode, DispatchExceptionAsync, InvokeAsync, OnAfterRender, OnInitializedAsync, OnParametersSet, OnParametersSetAsync, RendererInfo, StateHasChanged

