TimeLinearChart - Ledragon/ldd3 GitHub Wiki

Module "src/charts/TimeLinearChart"

Class TimeLinearChart

Constructor

Usage:

new TimeLinearChart(selector: string, width: number, height: number)

Parameters:

  • selector - string:
  • width - number:
  • height - number:

Return type: TimeLinearChart

color

Usage:

color(value: string)

Parameters:

  • value - string:

Return type: TimeLinearChart<T>

title

Usage:

title(value: string)

Parameters:

  • value - string:

Return type: TimeLinearChart<T>

update

Usage:

update(data: Array<T>)

Parameters:

  • data - Array:

Return type: void

x

Usage:

x(value: )

Parameters:

  • value - :

Return type: TimeLinearChart<T>

xFormat

Usage:

xFormat(value: string)

Parameters:

  • value - string:

Return type: TimeLinearChart<T>

y

Usage:

y(value: )

Parameters:

  • value - :

Return type: TimeLinearChart<T>

yFormat

Usage:

yFormat(value: string)

Parameters:

  • value - string:

Return type: TimeLinearChart<T>