menu

ASP.NET MVC - EJ2

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ChartZoomSettingsBuilder - API Reference

    Show / Hide Table of Contents

    Class ChartZoomSettingsBuilder

    Inheritance
    System.Object
    ControlBuilder
    ChartZoomSettingsBuilder
    Inherited Members
    ControlBuilder.Output
    ControlBuilder.Context
    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()
    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

    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
    Type Description
    ChartZoomSettingsBuilder

    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
    Type Description
    ChartZoomSettingsBuilder

    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
    Type Description
    ChartZoomSettingsBuilder

    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
    Type Description
    ChartZoomSettingsBuilder

    EnableScrollbar(Boolean)

    Specifies whether axis needs to have scrollbar.

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

    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
    Type Description
    ChartZoomSettingsBuilder

    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
    Type Name Description
    ZoomMode value
    Returns
    Type Description
    ChartZoomSettingsBuilder

    ShowToolbar(Boolean)

    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
    Type Description
    ChartZoomSettingsBuilder

    ToolbarItems(Object)

    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
    Type Description
    ChartZoomSettingsBuilder
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved