Interface for chart overlays
Namespace: Radzen.Blazor
Assembly: Radzen.Blazor.dll
public interface IChartSeriesOverlayWhen true the overlay renders in a layer above all series, so later series cannot draw over it (e.g. value labels). Default is false - the overlay renders with its own series.
public bool RenderOnTop { get; }
| Type | Description |
|---|---|
| bool | When true the overlay renders in a layer above all series, so later series cannot draw over it (e.g. value labels). Default is false - the overlay renders with its own series. |
Gets overlay visibility state
public bool Visible { get; }
| Type | Description |
|---|---|
| bool | Gets overlay visibility state |
Hit test
public abstract bool Contains(double mouseX, double mouseY, int tolerance)
| Type | Name | Description |
|---|---|---|
| double | mouseX | |
| double | mouseY | |
| int | tolerance |
| Type | Description |
|---|---|
| bool |
Get position of the overlay tooltip.
public abstract Point GetTooltipPosition(double mouseX, double mouseY)
| Type | Name | Description |
|---|---|---|
| double | mouseX | |
| double | mouseY |
| Type | Description |
|---|---|
| Point | Position. |
Render overlay
public abstract RenderFragment Render(ScaleBase categoryScale, ScaleBase valueScale)
| Type | Description |
|---|---|
| RenderFragment | RenderFragment |
Renders tooltip
public abstract RenderFragment RenderTooltip(double mouseX, double mouseY)
| Type | Name | Description |
|---|---|---|
| double | mouseX | |
| double | mouseY |
| Type | Description |
|---|---|
| RenderFragment |