customize the ZoomBar component

interface ZoomBarOptions {
    data?: object[];
    enabled?: boolean;
    initialZoomDomain?: object[];
    loading?: boolean;
    locked?: boolean;
    type?: string;
}

Properties

data?: object[]

options related to zoom bar data

enabled?: boolean

is the zoom-bar visible or not

initialZoomDomain?: object[]

an two element array which represents the initial zoom domain

loading?: boolean

is the zoom-bar in loading state

locked?: boolean

is the zoom-bar in locked state

type?: string

whether the zoom bar is showing a slider view or a graph view etc.