Query Tags¶
Tag | Data type | Description |
---|---|---|
query | Object | Creates a query object. |
setQueryManager | Method | Defines an external query manager. |
query¶
Property
<query id=”myQueryId”>…</query>
Data type
Object
Description
Creates a query object.
Attributes:
- id (required): the identifier.
setQueryManager¶
Property
<setQueryManager name=”savcharts” uid=”queryUid” marker1=”myMarker” … />
Data type
Method
Description
Defines the query manager associated with the query.
Attributes:
name (required): Unless you have define you own query manager, use
savcharts
.uid (required): The uid of your query. Queries are defined in the backend.
other attributes define markers that can be used in the query clauses. In these clauses ###myMarker### will be replaced by the value of the marker
myMarker
. Any attribute name, exceptname
anduid
can be used.Markers can be directly defined as, for example,
myMarker#myValue
. In that case, the marker name will bemyMarker
and its value ismyValue
.Markers can be defined as a reference to a marker tag, for example
marker#myMarker
. In that case, the marker name will bemyMarker
and its value is the value of the marker whose id ismyMarker
.Markers can also be defined as a reference to a specific element in a data or marker array, for example
myMarker#data#myData:0
. In that case, the marker name will bemyMarker
and its value is obtained from the data with index0
and whose id ismyData
.