Databases Reference
In-Depth Information
In the
Available Variables
list to the left, we will see all created variables. There is
also a button to create a
New Variable
, which is very convenient if we previously
forgot to add the variable we want to use.
We are going to add the
vTop
variable to the
Displayed Variables
list on the right.
Do this by highlighting the variable's name and clicking on the
Add >
button. Once
the variable is in the
Displayed Variables
list, highlight it and the
Label
field,
located below, will be enabled. On this field, replace the name of the variable with
Top Values
.
There are other options that can be set in the rest of the tabs, but we can click on
OK
at this point and the object will be created with just what we need.
Most of the other tabs hold settings that are similar to those
used in other sheet objects, such as charts. For instance, we
also have the
Presentation
tab or the
Layout
tab. We invite
you to explore those tabs and change their settings based on
what you've learned from previous chapters.
When the object is created, the input cell will have the number
5
, which is the value
we previously defined for our variable. If we click on the value cell, we will enter
into edit mode and be able to change the variable's value; upon doing so, the chart
will be instantly updated to reflect the change.
Change the variable's value to
10
using the
Input Box
object and see the effect
on the chart.
Resizing the
Input Box
object is achieved using the method
previously described for resizing a multi box, which consists
of simply resizing the label cell and the value cell individually.
Using the Slider object
Similar to the Input Box object, the Slider object is used to interactively change a
variable's value from the frontend. The main difference is the way in which the user
interacts with the object. The Slider object is a little more visual.
To create a
Slider
object, right-click on an empty space of the sheet workspace and,
from the
New Sheet Object
section, select
Slider/Calendar Object...
.