menu

ASP.NET MVC - EJ2

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ChartZoomSettingsBuilder - ASP.NETMVC-EJ2 API Reference | Syncfusion

    Show / Hide Table of Contents

    Class ChartZoomSettingsBuilder

    Inheritance
    System.Object
    Syncfusion.EJ2.ControlBuilder
    ChartZoomSettingsBuilder
    Namespace: Syncfusion.EJ2.Charts
    Assembly: Syncfusion.EJ2.dll
    Syntax
    public class ChartZoomSettingsBuilder : ControlBuilder

    Constructors

    ChartZoomSettingsBuilder()

    Declaration
    public ChartZoomSettingsBuilder()

    ChartZoomSettingsBuilder(ChartZoomSettings)

    Declaration
    public ChartZoomSettingsBuilder(ChartZoomSettings model)
    Parameters
    Type Name Description
    ChartZoomSettings model

    Methods

    Accessibility(ZoomSettingsAccessibility)

    Options to improve accessibility for zoom toolkit elements.

    Declaration
    public ChartZoomSettingsBuilder Accessibility(ZoomSettingsAccessibility value)
    Parameters
    Type Name Description
    ZoomSettingsAccessibility value
    Returns
    Type
    ChartZoomSettingsBuilder

    Accessibility(Action<ChartAccessibilityBuilder>)

    Declaration
    public ChartZoomSettingsBuilder Accessibility(Action<ChartAccessibilityBuilder> accessibility)
    Parameters
    Type Name Description
    System.Action<ChartAccessibilityBuilder> accessibility
    Returns
    Type
    ChartZoomSettingsBuilder

    EnableAnimation(Boolean)

    If set to true, the chart will animate when zooming.

    Declaration
    public ChartZoomSettingsBuilder EnableAnimation(bool value)
    Parameters
    Type Name Description
    System.Boolean value
    Returns
    Type
    ChartZoomSettingsBuilder

    EnableDeferredZooming(Boolean)

    If set to true, zooming will be performed on mouse up.

    Note that enableDeferredZooming requires enableSelectionZooming to be true.

    Declaration
    public ChartZoomSettingsBuilder EnableDeferredZooming(bool value)
    Parameters
    Type Name Description
    System.Boolean value
    Returns
    Type
    ChartZoomSettingsBuilder

    EnableMouseWheelZooming(Boolean)

    If set to true, the chart can be zoomed using the mouse wheel.

    Declaration
    public ChartZoomSettingsBuilder EnableMouseWheelZooming(bool value)
    Parameters
    Type Name Description
    System.Boolean value
    Returns
    Type
    ChartZoomSettingsBuilder

    EnablePan(Boolean)

    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 ChartZoomSettingsBuilder EnablePan(bool value)
    Parameters
    Type Name Description
    System.Boolean value
    Returns
    Type
    ChartZoomSettingsBuilder

    EnablePinchZooming(Boolean)

    If set to true, the chart can be pinched to zoom in and out.

    Declaration
    public ChartZoomSettingsBuilder EnablePinchZooming(bool value)
    Parameters
    Type Name Description
    System.Boolean value
    Returns
    Type
    ChartZoomSettingsBuilder

    EnableScrollbar(Boolean)

    Specifies whether the axis should have a scrollbar.

    Declaration
    public ChartZoomSettingsBuilder EnableScrollbar(bool value)
    Parameters
    Type Name Description
    System.Boolean value
    Returns
    Type
    ChartZoomSettingsBuilder

    EnableSelectionZooming(Boolean)

    If set to true, the chart can be zoomed in by selecting a rectangular region on the plot area.

    Declaration
    public ChartZoomSettingsBuilder EnableSelectionZooming(bool value)
    Parameters
    Type Name Description
    System.Boolean value
    Returns
    Type
    ChartZoomSettingsBuilder

    Mode(ZoomMode)

    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 ChartZoomSettingsBuilder Mode(ZoomMode value)
    Parameters
    Type Name Description
    ZoomMode value
    Returns
    Type
    ChartZoomSettingsBuilder

    ShowToolbar(Boolean)

    If set to true, the chart is rendered with a toolbar on initial load.

    Declaration
    public ChartZoomSettingsBuilder ShowToolbar(bool value)
    Parameters
    Type Name Description
    System.Boolean value
    Returns
    Type
    ChartZoomSettingsBuilder

    ToolbarItems(Object)

    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 ChartZoomSettingsBuilder ToolbarItems(object value)
    Parameters
    Type Name Description
    System.Object value
    Returns
    Type
    ChartZoomSettingsBuilder

    ToolbarPosition(ChartToolbarPosition)

    Allows customization of the zoom toolbar position. Users can set the horizontal and vertical alignment of the toolbar, as well as specify offsets for precise placement.

    Declaration
    public ChartZoomSettingsBuilder ToolbarPosition(ChartToolbarPosition value)
    Parameters
    Type Name Description
    ChartToolbarPosition value
    Returns
    Type
    ChartZoomSettingsBuilder

    ToolbarPosition(Action<ChartToolbarPositionBuilder>)

    Declaration
    public ChartZoomSettingsBuilder ToolbarPosition(Action<ChartToolbarPositionBuilder> toolbarPosition)
    Parameters
    Type Name Description
    System.Action<ChartToolbarPositionBuilder> toolbarPosition
    Returns
    Type
    ChartZoomSettingsBuilder
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved