Class StockChartZoomSettings
Inheritance
Namespace: Syncfusion.EJ2.Charts
Assembly: Syncfusion.EJ2.dll
Syntax
public class StockChartZoomSettings : EJTagHelper
Constructors
StockChartZoomSettings()
Declaration
public StockChartZoomSettings()
Properties
ContentTemplate
To get or set value for ContentTemplate.
Declaration
public MvcTemplate<object> ContentTemplate { get; set; }
Property Value
Type |
---|
Syncfusion.EJ2.MvcTemplate<System.Object> |
EnableAnimation
If set to true, the chart will animate when zooming.
Declaration
public bool EnableAnimation { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The default value is false |
EnableDeferredZooming
If set to true, zooming will be performed on mouse up.
Note that
enableDeferredZooming
requiresenableSelectionZooming
to be true.
Declaration
public bool EnableDeferredZooming { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The default value is true |
EnableMouseWheelZooming
If set to true, the chart can be zoomed using the mouse wheel.
Declaration
public bool EnableMouseWheelZooming { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The default value is false |
EnablePan
If set to true, the chart can be panned without requiring toolbar items. If set to false, panning is disabled, and the toolbar options must be used to pan the chart.
Declaration
public bool EnablePan { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The default value is false |
EnablePinchZooming
If set to true, the chart can be pinched to zoom in and out.
Declaration
public bool EnablePinchZooming { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The default value is false |
EnableScrollbar
Specifies whether the axis should have a scrollbar.
Declaration
public bool EnableScrollbar { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The default value is false |
EnableSelectionZooming
If set to true, the chart can be zoomed in by selecting a rectangular region on the plot area.
Declaration
public bool EnableSelectionZooming { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The default value is false |
Mode
Specifies whether to allow zooming vertically, horizontally, or in both ways. Available options are: XY: Chart can be zoomed both vertically and horizontally. X: Chart can be zoomed horizontally. Y: Chart can be zoomed vertically.
Note that
enableSelectionZooming
must be set to true for this feature to work.
Declaration
public ZoomMode Mode { get; set; }
Property Value
Type | Description |
---|---|
ZoomMode | The default value is ZoomMode.XY |
ShowToolbar
If set to true, the chart is rendered with a toolbar on initial load.
Declaration
public bool ShowToolbar { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The default value is false |
ToolbarItems
Specifies the toolkit options for zooming as follows: Zoom - Enables the zooming tool to select and zoom into a specific region of the chart. ZoomIn - Provides a button to zoom in on the chart. ZoomOut - Provides a button to zoom out from the chart. Pan - Allows panning across the chart to explore different regions. Reset - Resets the zoom level to the default view of the chart.
Declaration
public object ToolbarItems { get; set; }
Property Value
Type | Description |
---|---|
System.Object | The default value is null |