Skip to main content
Version: 1.0.0

ScrollBar

Each individual scrollbar can be configured from config() api.

The configurations is as follows:

parameters:
  - scrollBar:
      required: false
      type: Object
      description: Configures various aspects of chart scrollBar
      parameters:
        - vertical:
            required: false
            type: Object
            parameters:
              - align:
                  required: true
                  type: String
                  description: Specifies the position of the vertical scrollbar
                  default: right ## other option: left
        - horizontal:
            required: false
            type: Object
            parameters:
              - align:
                  required: true
                  type: String
                  description: Specifies the position of the horizontal scrollbar
                  default: bottom ## other option: top
        - thickness:
            required: false
            type: Number
            default: 10
            description: Controls thickness of the scrollbar
        - speed:
            required: false
            type: Number
            default: 2
            description: Controls the speed of the scrollbar