Skip to content

Dynamic CSV chart #5028

Answered by KeyboardSounds
Juanezm asked this question in Q&A
Nov 27, 2020 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

There absolutely is a way!

If you're using terriajs v7 or below, have a look at this example (taken from AREMI):

{
   "name":"Current Power Generation - NEM",
   "type":"group",
   "preserveOrder":true,
   "items":[
      {
         "id":"54a553b4",
         "name":"All generation types",
         "url":"https://services.aremi.data61.io/aemo/v6/csv/all",
         "type":"csv",
         "cacheDuration":"5m",
         "featureInfoTemplate":{
            "name":"{{DUID}} - {{Station Name}}: {{Current % of Max Cap}}%",
            "template":"<h3>{{Station Name}} ({{DUID}})</h3><p><strong>{{Participant}}</strong><div><strong>{{Current Output (MW)}}MW</strong> at {{Most Recent Output Time (AES…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@Juanezm
Comment options

@na9da
Comment options

Answer selected by KeyboardSounds
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants