« Test » : différence entre les versions
De 21Wiki
Aucun résumé des modifications Balise : Éditeur de wikicode 2017 |
Aucun résumé des modifications Balise : Éditeur de wikicode 2017 |
||
Ligne 2 : | Ligne 2 : | ||
{ | { | ||
"width": 800, | "width": 800, | ||
"height": | "height": 600, | ||
"data": [ | "data": [ | ||
{ | { | ||
Ligne 181 : | Ligne 181 : | ||
"type": "time", | "type": "time", | ||
"range": "width", | "range": "width", | ||
"round": | "round": false, | ||
"nice": "month", | "nice": "month", | ||
"domain": { | "domain": { | ||
Ligne 189 : | Ligne 189 : | ||
} | } | ||
], | ], | ||
"axes": [{"type": "x","scale": "x"}], | "axes": [ | ||
{ | |||
"type": "x", | |||
"scale": "x", | |||
"grid": true, | |||
"format": "%m/%y" | |||
} | |||
], | |||
"marks": [ | "marks": [ | ||
{ | { | ||
Ligne 198 : | Ligne 205 : | ||
"x": {"scale": "x","field": "chef_start"}, | "x": {"scale": "x","field": "chef_start"}, | ||
"x2": {"scale": "x","field": "chef_end"}, | "x2": {"scale": "x","field": "chef_end"}, | ||
"y": {"scale": "y","field": "label", "offset":-2}, | "y": {"scale": "y","field": "label","offset": -2}, | ||
"height": {"value": 6}, | "height": {"value": 6}, | ||
"fill": {"value": "#555"} | "fill": {"value": "#555"} | ||
Ligne 211 : | Ligne 218 : | ||
"x": {"scale": "x","field": "second_start"}, | "x": {"scale": "x","field": "second_start"}, | ||
"x2": {"scale": "x","field": "second_end"}, | "x2": {"scale": "x","field": "second_end"}, | ||
"y": {"scale": "y","field": "label", "offset":-2}, | "y": {"scale": "y","field": "label","offset": -2}, | ||
"height": {"value": 6}, | "height": {"value": 6}, | ||
"fill": {"value": "#666"} | "fill": {"value": "#666"} | ||
Ligne 240 : | Ligne 247 : | ||
"text": {"field": "nom"}, | "text": {"field": "nom"}, | ||
"font": {"value": "Helvetica Neue"}, | "font": {"value": "Helvetica Neue"}, | ||
"fontSize": {"value": | "fontSize": {"value": 12} | ||
} | } | ||
} | } |