Options
All
  • Public
  • Public/Protected
  • All
Menu

An add-on interface for chart activities where it should be possible to change the chart value at a later time. This turns a chart activity into a mutable activity and allows for the user to edit the value interactively.

since

1.2

Hierarchy

Implemented by

Index

Methods

getChartValue

  • getChartValue(): number
  • Returns the chart value of the activity. The value can be positive or negative.

    since

    1.2

    Returns number

    The chart value of the activity. The value can be positive or negative.

getEndTime

  • getEndTime(): number
  • The end time of the activity.

    since

    1.0

    Returns number

    the activity end time

getId

  • getId(): string
  • The unique id of the activity.

    since

    1.0

    Returns string

    the unique activity ID

getName

  • getName(): string
  • The name of the activity, for example "Flight 3441".

    since

    1.0

    Returns string

    the name of the activity

getStartTime

  • getStartTime(): number

setChartValue

  • setChartValue(value: number): void
  • Sets a new chart value.

    since

    1.2

    Parameters

    • value: number

      the new value

    Returns void

setEndTime

  • setEndTime(time: number): void
  • Sets a new end time on the activity.

    since

    1.0

    Parameters

    • time: number

      the new end time

    Returns void

setName

  • setName(name: string): void
  • Sets the name of the activity.

    since

    1.0

    Parameters

    • name: string

      the new name of the activity

    Returns void

setStartTime

  • setStartTime(time: number): void
  • Sets a new start time on the activity.

    since

    1.0

    Parameters

    • time: number

      the new start time

    Returns void