Blazor

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ZoomSettingsModel - Blazor API Reference | Syncfusion

    Show / Hide Table of Contents

    Class ZoomSettingsModel

    Interface for a class ZoomSettings

    Inheritance
    System.Object
    ZoomSettingsModel
    Implements
    System.IEquatable<ZoomSettingsModel>
    Namespace: Syncfusion.Blazor.Charts
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class ZoomSettingsModel : Object, IEquatable<ZoomSettingsModel>

    Constructors

    ZoomSettingsModel()

    Declaration
    public ZoomSettingsModel()

    Properties

    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

    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

    EnablePan

    Specifies whether chart needs to be panned by default.

    Declaration
    public bool EnablePan { get; set; }
    Property Value
    Type Description
    System.Boolean

    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

    EnableScrollbar

    Specifies whether axis needs to have scrollbar.

    Declaration
    public bool EnableScrollbar { get; set; }
    Property Value
    Type Description
    System.Boolean

    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

    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

    ToolbarItems

    Specifies the toolkit options for the zooming as follows: Zoom ZoomIn ZoomOut Pan Reset

    Declaration
    public List<ToolbarItems> ToolbarItems { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.List<ToolbarItems>

    Methods

    Equals(ZoomSettingsModel)

    Returns a boolean by comparing zoomSettingsModel

    Declaration
    public bool Equals(ZoomSettingsModel zoomSettingsModel)
    Parameters
    Type Name Description
    ZoomSettingsModel zoomSettingsModel
    Returns
    Type Description
    System.Boolean

    Implements

    System.IEquatable<>
    Back to top Generated by DocFX
    Copyright © 2001 - 2021 Syncfusion Inc. All Rights Reserved