Difference between revisions of "Tables For Data Automation"
From dataZoa Wiki
(6 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <div class="imgGlyph24 imgIdea"></div> Instead of using the API to loop through and fetch many series for a given app (like mapping, or HiCharts), use displays ([[ | + | <div class="imgGlyph24 imgIdea"></div> Instead of using the [[DataZoa_API|API]] to loop through and fetch many series for a given app (like mapping, or HiCharts), you can just use [[Displays|displays]] ([[Table_Displays|tables]], [[LatestValues_Displays|latest values]]) |
− | + | <br> | |
− | + | Just create a table specifically for your app which contains all the data needed and then use AJAX to fetch it. | |
− | + | <br> | |
+ | <br> | ||
<div class="imgGlyph24 imgConcept"></div> Some Advantges: | <div class="imgGlyph24 imgConcept"></div> Some Advantges: | ||
− | * You can | + | * You can mark the row (series) labels to easily identify their data |
* Label [[Label_Knockouts|knockouts]] are available | * Label [[Label_Knockouts|knockouts]] are available | ||
− | * | + | * Just one fetch for multiple series |
− | * The displays are server cached for speed | + | * The displays are server-cached for speed |
− | * | + | * A GroupList parameter (<i>glname=...</i> on a table gives access to multiple datasets |
− | * | + | * A LatestValues display gives you current values, prior values and/or (%) changes |
<br> | <br> | ||
− | <div class="imgGlyph24 | + | <div class="imgGlyph24 imgNote"></div> Remember: |
− | * | + | * Use jQuery (or similar library) to parse the structured classes in the display and get the data values |
− | * | + | * There is a limit of 50 points of historical data per series for tables. |
<br> | <br> | ||
− | [[Category:Advanced]][[Category:Displays]][[Category: | + | [[Category:Advanced]][[Category:Displays]][[Category:Publishing]][[Category:Developers]][[Category:API]] |
Latest revision as of 06:55, 10 May 2017
Instead of using the API to loop through and fetch many series for a given app (like mapping, or HiCharts), you can just use displays (tables, latest values)
Just create a table specifically for your app which contains all the data needed and then use AJAX to fetch it.
- You can mark the row (series) labels to easily identify their data
- Label knockouts are available
- Just one fetch for multiple series
- The displays are server-cached for speed
- A GroupList parameter (glname=... on a table gives access to multiple datasets
- A LatestValues display gives you current values, prior values and/or (%) changes
- Use jQuery (or similar library) to parse the structured classes in the display and get the data values
- There is a limit of 50 points of historical data per series for tables.