Class PivotChartZoomSettings
Allow options to customize the pivot chart zooming with different properties such as enablePinchZooming, enableSelectionZooming, enableDeferredZooming, enableMouseWheelZooming, zoom modes, toolbarItems, enableScrollbar and enablePan.
Inheritance
Namespace: Syncfusion.Blazor.PivotView
Assembly: Syncfusion.Blazor.dll
Syntax
public class PivotChartZoomSettings : OwningComponentBase
Constructors
PivotChartZoomSettings()
Declaration
public PivotChartZoomSettings()
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 |
---|
System.Boolean |
EnableMouseWheelZooming
If set to true, chart can be zoomed by using mouse wheel.
Declaration
public bool EnableMouseWheelZooming { get; set; }
Property Value
Type |
---|
System.Boolean |
EnablePan
Specifies whether chart needs to be panned by default.
Declaration
public bool EnablePan { get; set; }
Property Value
Type |
---|
System.Boolean |
EnablePinchZooming
If to true, chart can be pinched to zoom in / zoom out.
Declaration
public bool EnablePinchZooming { get; set; }
Property Value
Type |
---|
System.Boolean |
EnableScrollbar
Specifies whether axis needs to have scrollbar.
Declaration
public bool EnableScrollbar { get; set; }
Property Value
Type |
---|
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 |
---|
System.Boolean |
Mode
Allows to specify whether to allow zooming vertically or horizontally or in both ways. They are,
X: Chart can be zoomed horizontally.
Y: Chart can be zoomed vertically.
X,Y: Chart can be zoomed both vertically and horizontally.
It requires EnableSelectionZooming
to be true.
Declaration
public PivotChartZoomMode Mode { get; set; }
Property Value
Type |
---|
PivotChartZoomMode |
ToolbarItems
Allows to set the toolkit options for the zooming as follows: ZoomIn ZoomOut Pan Zoom Reset.
Declaration
public List<PivotChartToolbarItems> ToolbarItems { get; set; }
Property Value
Type |
---|
System.Collections.Generic.List<PivotChartToolbarItems> |
Methods
OnInitializedAsync()
Method invoked when the component is ready to start, having received its initial parameters from its parent in the render tree. Override this method if you will perform an asynchronous operation and want the component to refresh when that operation is completed.
Declaration
protected override Task OnInitializedAsync()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task | A System.Threading.Tasks.Task representing any asynchronous operation. |
OnParametersSetAsync()
Method invoked when the component has received parameters from its parent in the render tree, and the incoming values have been assigned to properties.
Declaration
protected override Task OnParametersSetAsync()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task | A System.Threading.Tasks.Task representing any asynchronous operation. |