v7.3.0
SupportExamplesFree Trial

GanttDataProvider

Data source for the timeline chart

No results

Configs

Configs are options you supply in a configuration object when creating an instance of this class
  • unit : DurationConfig1 day
    internal

    Defines intervals to fill date map. One day by default.

    Has a corresponding runtime unit property.

  • defaultDataset : 'duration'/'progress'/Stringduration

    Default dataset to show.

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

Properties

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

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

  • unit : DurationConfig1 day
    internal

    Defines intervals to fill date map. One day by default.

    Has a corresponding unit 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.

  • isGanttDataProvider : Booleantrue
    READONLY
    ADVANCED
    Identifies an object as an instance of GanttDataProvider class, or subclass thereof.
  • Identifies an object as an instance of TimelineChartDataProviderBase 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).

  • Returns list of supported datasets.

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

Type definitions

Source path

Gantt/util/chart/GanttDataProvider.js

Contents