v7.3.0
SupportExamplesFree Trial

TimelineChartProviderBase
Abstract

This class provides a base API for the chart providers. Chart provider is responsible for actually drawing the canvas and the chart. It is provided with data and view details by the timeline chart feature.

Chart canvas (implemented by subclasses) will be sized according to the timeline size. Width will be equal to the time axis size and height - to the timeline subgrid height. Canvas will be scrollable in horizontal direction and will remain at the top of the timeline view on vertical scroll.

No results

Configs

Configs are options you supply in a configuration object when creating an instance of this class
  • Property allowing to customize the tooltip appearance.

    Has a corresponding runtime tooltip property.

  • Defines vertical margins for the chart, set to 0 to fill entire view.

  • Internal listeners, that cannot be removed by the user.

Properties

Properties are getters/setters or publicly accessible variables on this class
  • isDelayable : Booleantrue
    READONLY
    static
    ADVANCED
    Delayable
    Identifies an object as an instance of Delayable class, or subclass thereof.
  • isEvents : Booleantrue
    READONLY
    static
    ADVANCED
    Events
    Identifies an object as an instance of Events class, or subclass thereof.
  • isTimelineChartProviderBase : Booleantrue
    READONLY
    static
    ADVANCED
    Identifies an object as an instance of TimelineChartProviderBase class, or subclass thereof.
  • properties : Object
    internal
    static
    Base

    A class property getter for the default values of internal properties for this class.

  • Property allowing to customize the tooltip appearance.

    Has a corresponding tooltip config.

  • emptyArray : Array
    internal
    READONLY
    Base

    An empty array that can be used as a default value.

  • emptyObject : Object
    internal
    READONLY
    Base

    An empty object that can be used as a default value.

  • isTimelineChartProviderBase : Booleantrue
    READONLY
    ADVANCED
    Identifies an object as an instance of TimelineChartProviderBase class, or subclass thereof.
  • config : Object
    READONLY
    ADVANCED
    Base

    Returns a copy of the full configuration which was used to configure this object.

  • isConstructing : Boolean
    READONLY
    ADVANCED
    Base

    This property is set to true before the constructor returns.

  • isDestroying : Boolean
    READONLY
    ADVANCED
    Base

    This property is set to true on entry to the destroy method. It remains on the objects after returning from destroy(). If isDestroyed is true, this property will also be true, so there is no need to test for both (for example, comp.isDestroying || comp.isDestroyed).

Functions

Functions are methods available for calling on the class
  • onClassMixedIn( )
    internal
    static
    Base

    This optional class method is called when a class is mixed in using the mixin() method.

  • initClass( )
    static
    ADVANCED
    Base

    Registers this class type with its Factory

  • Internal function used to hook destroy() calls when using thisObj

  • Internal function used restore hooked destroy() calls when using thisObj

  • doDestroy( )
    internal
    Events

    Auto detaches listeners registered from start, if set as detachable

  • once( )
    private
    Events

    Internal function used to run a callback function after an event is triggered

  • Removes all listeners registered to this object by the application.

Events

Events are triggered for certain actions in this class and can be listened for to react to those actions in your code

Event handlers

Event handlers are callbacks called as a result of certain actions in this class

Source path

Gantt/util/chart/TimelineChartProviderBase.js

Contents