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> |
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 | The default value is true |
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 | The default value is false |
EnablePan
Specifies whether chart needs to be panned by default.
Declaration
public bool EnablePan { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The default value is false |
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 | The default value is false |
EnableScrollbar
Specifies whether axis needs to have scrollbar.
Declaration
public bool EnableScrollbar { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The default value is false |
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 | The default value is false |
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 | The default value is ZoomMode.XY |
ShowToolbar
If set to true, chart can be rendered with toolbar at 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 the zooming as follows: Zoom ZoomIn ZoomOut Pan Reset
Declaration
public object ToolbarItems { get; set; }
Property Value
Type | Description |
---|---|
System.Object | The default value is null |