Class StockChartZoomSettings
To specify customization options for stockchart zooming.
Inheritance
Namespace: Syncfusion.Blazor.Charts
Assembly: Syncfusion.Blazor.dll
Syntax
public class StockChartZoomSettings : OwningComponentBase
Constructors
StockChartZoomSettings()
Declaration
public StockChartZoomSettings()
Properties
ChildContent
Gets and sets the content of the UI element.
Declaration
public RenderFragment ChildContent { get; set; }
Property Value
Type |
---|
Microsoft.AspNetCore.Components.RenderFragment |
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
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 |
---|
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 |
---|
System.Collections.Generic.List<ToolbarItems> |
Methods
BuildRenderTree(RenderTreeBuilder)
Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder | __builder |
Dispose(Boolean)
Declaration
protected override void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing |
OnInitializedAsync()
Method invoked when the component is ready to start.
Declaration
protected override Task OnInitializedAsync()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task | A System.Threading.Tasks.Task representing the asynchronous operation. |