Class ChartZoomSettings
Options to customize the zoom settings of the chart.
Inherited Members
Namespace: Syncfusion.Blazor.Charts
Assembly: Syncfusion.Blazor.dll
Syntax
public class ChartZoomSettings : ChartSubComponent, ISubcomponentTracker
Constructors
ChartZoomSettings()
Declaration
public ChartZoomSettings()
Properties
EnableDeferredZooming
If set to true, zooming will be performed on mouse up. It requires EnableSelectionZooming
to be true.
Declaration
public bool EnableDeferredZooming { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
EnableMouseWheelZooming
If set to true, chart can be zoomed by using mouse wheel.
Declaration
public bool EnableMouseWheelZooming { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
EnablePan
Specifies whether chart needs to be panned by default.
Declaration
public bool EnablePan { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
EnablePinchZooming
If to true, chart can be pinched to zoom in / zoom out.
Declaration
public bool EnablePinchZooming { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
EnableScrollbar
Specifies whether axis needs to have scrollbar.
Declaration
public bool EnableScrollbar { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
EnableSelectionZooming
If set to true, chart can be zoomed by a rectangular selecting region on the plot area.
Declaration
public bool EnableSelectionZooming { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Mode
Specifies whether to allow zooming vertically or horizontally or in both ways. They are,
x,y: Chart can be zoomed both vertically and horizontally.
x: Chart can be zoomed horizontally.
y: Chart can be zoomed vertically.
It requires EnableSelectionZooming
to be true.
Declaration
public ZoomMode Mode { get; set; }
Property Value
Type | Description |
---|---|
ZoomMode |
ToolbarItems
Specifies the toolkit options for the zooming as follows: Zoom ZoomIn ZoomOut Pan Reset.
Declaration
public List<ToolbarItems> ToolbarItems { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<ToolbarItems> |
Methods
OnInitialized()
Declaration
protected override void OnInitialized()
OnParametersSetAsync()
Declaration
protected override Task OnParametersSetAsync()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task |