DataVisualizer.getTimelineStepName

Syntax

getTimelineStepName(): String;

Description

The getTimelineStepName method returns current step of the time line.

Example

To execute the example, the HTML page must contain the ExpressBox component named expressBox (see Example of Creating the ExpressBox Component). It is necessary to chose the bubble chart visualizer:

// Get view of the PP.Ui.BubbleChart visualizer
dataV = expressBox.getDataView();
chartV = dataV.getBubbleChartView();
bubbleC = chartV.getInstance();
// Display current step of the timeline to the console
console.debug(bubbleC.getTimelineStepName());

As a result of example executing current step of the time line is displayed.

See also:

DataVisualizer