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> |
− | + | { | |
− | + | "description": "A simple bar chart with embedded data.", | |
− | { | + | "data": { |
− | + | "values": [ | |
− | + | {"a": "A","b": 28}, | |
− | + | {"a": "B","b": 55}, | |
− | {{ | + | {"a": "C","b": 43}, |
− | + | {"a": "D","b": 91}, | |
− | + | {"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> |