ShowHistoryPreviousStepsOnly: Boolean;
The ShowHistoryPreviousStepsOnly property determines display mode only for values history of previous bubbles.
Values history bubbles is a display mode for values of previous years. By default value for several previous years is displayed, if the value is True, only one previous history value is displayed.
Use JSON or the setShowHistory method to set the property value, and the getShowHistoryPreviousStepsOnly method to get the property value.
To execute this example, the HTML page must contain the BubbleChart component named bubbleChart (see. Example of Creating the BubbleChart Component). Enable display mode of values history bubbles and determine display mode for only previous bubbles:
// Display values history bubbles bubbleChart.setShowBubbleHistory(true); // Enable values history bubbles displaying on tooltips displaying bubbleChart.setShowHistoryBubbleTooltip(true); // Display only previous bubbles of values history bubbleChart.setShowHistoryPreviousStepsOnly(true); // Disable the second element on the time line bubbleChart.setTimelineStep(1);
After executing the example, the following display modes are enabled: for values history bubbles, for values history bubble labels and for only previous values history bubbles.
To execute the example, the HTML page must contain the ExpressBox component named expressBox (see Example of Creating the ExpressBox Component). Enable display mode of values history bubbles and determine display mode for only previous bubbles:
// Get bubble chart instance DV = expressBox.getDataView(); CV = DV.getBubbleChartView(); bubbleChart = CV.getInstance(); // Display values history bubbles bubbleChart.setShowBubbleHistory(true); // Enable values history bubbles displaying on tooltips displaying bubbleChart.setShowHistoryBubbleTooltip(true); //Display only previous values history bubbles bubbleChart.setShowHistoryPreviousStepsOnly(true); // Enable the second element on time line bubbleChart.setTimelineStep(1);
After executing the example, the following display modes are enabled: for values history bubbles, for values history bubble labels and for only previous values history bubbles.
See also: