Class ChartZoomSettings
Inherited Members
Namespace: Syncfusion.EJ2.Charts
Assembly: Syncfusion.EJ2.dll
Syntax
public class ChartZoomSettings : EJTagHelper
Constructors
ChartZoomSettings()
Declaration
public ChartZoomSettings()
Properties
ContentTemplate
To get or set value for ContentTemplate.
Declaration
public MvcTemplate<object> ContentTemplate { get; set; }
Property Value
Type | Description |
---|---|
MvcTemplate<System.Object> |
EnableDeferredZooming
If set to true, zooming will be performed on mouse up. It requires enableSelectionZooming
to be true.
Declaration
[HtmlAttributeName("enableDeferredZooming")]
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
[HtmlAttributeName("enableMouseWheelZooming")]
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
[HtmlAttributeName("enablePan")]
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
[HtmlAttributeName("enablePinchZooming")]
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
[HtmlAttributeName("enableScrollbar")]
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
[HtmlAttributeName("enableSelectionZooming")]
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
[HtmlAttributeName("mode")]
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
[HtmlAttributeName("showToolbar")]
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
[HtmlAttributeName("toolbarItems")]
public object ToolbarItems { get; set; }
Property Value
Type | Description |
---|---|
System.Object | The default value is null |