Table Of Contents

Data Types for Visualizing Tag Data

Version:
    Last Modified: November 14, 2017

    The type of control or indicator determines the type of tag data it accepts. Refer to the following table to format your tags for the control or indicator you want to use.

    Control or Indicator Type Valid Tag Data Type Example
    Number Double 2.5
    String String hello, world
    Boolean Integer 1
    Drop down list, list box, or radio button group String representing a JSON array of objects. Each object includes the following:
    • label - the text displayed on the control
    • value - the item value
    [{"label":"Item 1","value":"Value 1"},{"label":"Item 2","value":"Value 2"}]
    Graph String representing a JSON array of numbers. [1.0, 2.0]
    Chart Double (one per plot value) 1.0
    Tree String representing a JSON array of objects. Each object includes the following:
    • name - String label for the item
    • html - HTML to use to display the item
    • value - Value associated with the item
    • items - Array of child items. Each child item is an array that includes name, html, value, and items if the child item contains more child items.
    [{"name":"Item 1","html":"Item 1","value":"1","items":[{"name":"Item 1.1","html":"Item 1.1","value":"1.1"},{"name":"Item 1.2","html":"Item 1.2","value":"1.2"}]},{"name":"Item 2","html":"Item 2","value":"2","items":[{"name":"Item 2.1","html":"Item 2.1","value":"2.1"}]}]

    Recently Viewed Topics