wpu.nu

Skillnad mellan versioner av "Graftest"

Från wpu.nu

(Skapade sidan med '{{Graph:Chart|width=600|height=100|xAxisTitle=X|yAxisTitle=Y |type=rect|x=1,2,3,4,5,6,7,8|y=10,12,6,14,2,10,7,9}} {{Graph:Chart|width=100|height=100|type=pie|legend=Legende...')
 
 
(3 mellanliggande versioner av samma användare visas inte)
Rad 1: Rad 1:
{{Graph:Chart|width=600|height=100|xAxisTitle=X|yAxisTitle=Y
+
<graph>
|type=rect|x=1,2,3,4,5,6,7,8|y=10,12,6,14,2,10,7,9}}
+
{
 
+
  "description": "A simple bar chart with embedded data.",
{{Graph:Chart|width=100|height=100|type=pie|legend=Legende
+
  "data": {
|x=A,B,C,D,E,F,G,H,I|y1=100,200,150,300,100,100,150,50,200
+
    "values": [
|y2=7,8,9,8,8,9,10,9,5|showValues=}}
+
      {"a": "A","b": 28},
 
+
      {"a": "B","b": 55},
{{Graph:Chart|width=400|height=100|xAxisTitle=X|yAxisTitle=Y
+
      {"a": "C","b": 43},
|legend=Legend|type=stackedarea|x=1,2,3,4,5,6|y1=10,12,6,14,2,10
+
      {"a": "D","b": 91},
|y2=2,4,6,8,13,11|interpolate=monotone|colors=seagreen,orchid}}
+
      {"a": "E","b": 81},
 +
      {"a": "F","b": 53},
 +
      {"a": "G","b": 19},
 +
      {"a": "H","b": 87},
 +
      {"a": "I","b": 52}
 +
    ]
 +
  },
 +
  "mark": "bar",
 +
  "encoding": {
 +
    "x": {"field": "a","type": "ordinal"},
 +
    "y": {"field": "b","type": "quantitative"}
 +
  }
 +
}
 +
</graph>

Nuvarande version från 18 januari 2021 kl. 10.42