AxisLayer
Extends:
src/core/layer~Layer → AxisLayer
Simplified Layer for Axis. The main difference with a regular layer is that
an axis layer use the Timeline~timeContext attributes to render it's layout
and stay synchronized with the tracks visible area. All getters and setters
to the TimelineTimeContext attributes are bypassed.
It also handle it's own data and its updates. The _generateData method is
responsible to create some usefull data to visualize
Constructor Summary
| Public Constructor | ||
| public |
constructor(generator: Function, options: Object) |
|
Member Summary
| Public Members | ||
| public |
|
|
| public |
|
|
| public |
|
|
| public set |
The generator that creates the data to be rendered to display the axis. |
|
| public get |
The generator that creates the data to be rendered to display the axis. |
|
Method Summary
| Public Methods | ||
| public |
update() Generates the data and update the layer. |
|
| public |
Updates the layout of the layer. |
|