Slider (Object)

Member of:

Dashboard objects

Description:

Represents the slider control object that drives the indicator on an associated gauge

The current value of the Slider is determined by the relative location between the end points of the track or the minimum and maximum values defined for the slider. The Slider allows for a continuous range of values between its minimum and maximum values, but you can also set the snap interval parameter to specify intervals between the minimum and maximum value. A Slider can show tick marks, which are independent of the assigned values, at specified intervals along the track. The slider has a horizontal orientation by default, but it can be set to a vertical orientation by setting the value of the direction parameter to vertical. The slider track stretches from end to end and the tick marks are placed from left to right just above the track.

When associating a slider with a gauge, note that the slider can control multiple gauges in the same dashboard section, and there is no need to have cross dashboard controls. The Slider should use the data set from a section, but can reference any data type except for a BLOB and CLOBs. The data set a can only be imported from Result, Table, Pivot, OLAP Query and CubeQuery sections.

Example:

This example shows how to add the tooltip “East Coast Sales”, unlock the slider object, use data from the Results set, set the slider to a realistic theme, and make the slider visible:

SalesSlider.Comments = "East Coast Sales"
SalesSlider.Locked = false
SalesSlider.SourceSectionName = "Results"
SalesSlider.Subtype = "realistic"
SalesSlider.Visible = true

Methods:

OnSelection

Properties:

Read-write: AccessibilityText (Property), AppendObjectText (Property), Comments as String, Locked as Boolean, Name as String, SelectedIndex as Number, SourceSectionName as String, Subtype as String, Visible as Boolean

Read only:: SelectedValue as String, Type as BqShapeType

Objects:

UserValues collection, Placement object, Subcomponents object, Themes collection, Data object