Configuration options

Parent Previous Next

There is a single button that is used to select the tags that will become the sliders.  The dialog appears like this:



The name of a tag can be typed in the left column and can be paired with a specific sorting option.  The sort is applied to the tag values and determines the ordering of the values along the slider(s). It is possible to sort up or down, interpreting the value as a number or a text string. Finally, an axis can not be sorted at all, preserving the order of the data items themselves as set by the template sorting features (e.g. by date, sequence number, etc).

Properties

Several properties specifically control the display of the sliders and the titles.

Property

Value

common_slider_tags

A list of tag values that should be used for the common sliders controlling both image sections, when image comparison is enabled. Example: [timestep, variable]

common_slider_title_width

Width of the common slider caption column in percent. Default is 20.  0 removes the column.

common_slider_title_justification

Common slider caption justification: center, left, right, justify. Default is left.

first_image_only

If set to 1, the extra slider that allows the user to walk through all of the images that match the current tag values will not be displayed and only the first image in the image set will be displayed.

height

The height of the image in pixels

image_comparison

Flag to show/hide a copied section of the image with sliders for comparison. Default is 0. Setting it to 1 will enable comparison.

deep_image_comparison

Flag to enable comparison of enhanced images. Default is 0. Setting it to 1 will enable it.

image_controls

Flag to show/hide image controls like pan, zoom, etc. when image comparison is enabled. Default is 0. Setting it to 1 will enable the control panel.

image_link


Value

Operation

0

image is not clickable (the default)

1

click on the image to go to a page with only the image

2

click on the image to open the image in a new tab

3

click on the image to open the image data item details page in a new tab

image_title

String of HTML displayed beneath the image.  Item and context properties can be used with the macro syntax {{}}. Default: ""

initial_values

List of the tag values that the sliders should be set to initially.  This is an array of values, one per slider (tag).  If the specific value cannot be found in the tags, the first value will be used.  Example:  [10.0,displacement,hidden] would yield the initial position illustrated above.

slider_title_justification

The justification of the slider title text in its column.  Values can be: center, left, right, justify  The default is left.

show_nodes

List of values that can be 1 or none.  If 1, the steps of the corresponding slider will be displayed as nodes. If none, no nodes will be displayed.

slider_title

List of strings in the same format as 'image_title'.  One for each slider. Note: the macro expansion for each substring can include the values for any of the sliders. An example: [Timestep: {{timestep}},Variable: {{variable}},Mode: {{mode}}]

slider_title_width

The width of the slider title column.  In percent.  0=do not display slider titles. The default: 30

slider_xaxis_tag

Select the name of a tag that clicking and dragging on the image in the x axis will change the value for.  No slider will be displayed for this tag.

slider_yaxis_tag

Select the name of a tag that clicking and dragging on the image in the y axis will change the value for.  No slider will be displayed for this tag.

slider_xaxis_scale

By default, dragging a distance the same as the width of the image in pixels will cause all of the images for the specified tag to be iterated over.  The default is 1.0.  Increasing this value, to 2.0 will halve the pixel motion requirements to cause the same change in the image sequence.  

slider_yaxis_scale

By default, dragging a distance the same as the height of the image in pixels will cause all of the images for the specified tag to be iterated over.  The default is 1.0.  Increasing this value, to 2.0 will halve the pixel motion requirements to cause the same change in the image sequence.

slider_xaxis_clamp

By default, when mouse motion in the x axis would cause the image sequence to progress beyond natural limits, the axis will "wrap around" to the opposite limit.  If this property is set to 1, mouse motion beyond the natural limits will "clamp" to the minimum/maximum image in the sequence.

slider_yaxis_clamp

By default, when mouse motion in the y axis would cause the image sequence to progress beyond natural limits, the axis will "wrap around" to the opposite limit.  If this property is set to 1, mouse motion beyond the natural limits will "clamp" to the minimum/maximum image in the sequence.

width

The width of the image in pixels