Class ChartZoomSettingsBuilder
Inheritance
System.Object
ChartZoomSettingsBuilder
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: Syncfusion.EJ2.dll
Syntax
public class ChartZoomSettingsBuilder : ControlBuilder
Constructors
ChartZoomSettingsBuilder()
Declaration
public ChartZoomSettingsBuilder()
ChartZoomSettingsBuilder(ChartZoomSettings)
Declaration
public ChartZoomSettingsBuilder(ChartZoomSettings model)
Parameters
Methods
EnableDeferredZooming(Boolean)
If set to true, zooming will be performed on mouse up. It requires enableSelectionZooming
to be true.
Declaration
public ChartZoomSettingsBuilder EnableDeferredZooming(bool value)
Parameters
Type |
Name |
Description |
System.Boolean |
value |
|
Returns
EnableMouseWheelZooming(Boolean)
If set to true, chart can be zoomed by using mouse wheel.
Declaration
public ChartZoomSettingsBuilder EnableMouseWheelZooming(bool value)
Parameters
Type |
Name |
Description |
System.Boolean |
value |
|
Returns
EnablePan(Boolean)
Specifies whether chart needs to be panned by default.
Declaration
public ChartZoomSettingsBuilder EnablePan(bool value)
Parameters
Type |
Name |
Description |
System.Boolean |
value |
|
Returns
EnablePinchZooming(Boolean)
If to true, chart can be pinched to zoom in / zoom out.
Declaration
public ChartZoomSettingsBuilder EnablePinchZooming(bool value)
Parameters
Type |
Name |
Description |
System.Boolean |
value |
|
Returns
Specifies whether axis needs to have scrollbar.
Declaration
public ChartZoomSettingsBuilder EnableScrollbar(bool value)
Parameters
Type |
Name |
Description |
System.Boolean |
value |
|
Returns
EnableSelectionZooming(Boolean)
If set to true, chart can be zoomed by a rectangular selecting region on the plot area.
Declaration
public ChartZoomSettingsBuilder EnableSelectionZooming(bool value)
Parameters
Type |
Name |
Description |
System.Boolean |
value |
|
Returns
Mode(ZoomMode)
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 ChartZoomSettingsBuilder Mode(ZoomMode value)
Parameters
Returns
If set to true, chart can be rendered with toolbar at initial load.
Declaration
public ChartZoomSettingsBuilder ShowToolbar(bool value)
Parameters
Type |
Name |
Description |
System.Boolean |
value |
|
Returns
Specifies the toolkit options for the zooming as follows:
Zoom
ZoomIn
ZoomOut
Pan
Reset
Declaration
public ChartZoomSettingsBuilder ToolbarItems(object value)
Parameters
Type |
Name |
Description |
System.Object |
value |
|
Returns