Format: Ro/2: Diferență între versiuni
De la alegeri.md
Oleg (Discuție | contribuții) |
Oleg (Discuție | contribuții) |
||
Linia 6: | Linia 6: | ||
// "viewport": [945,230], | // "viewport": [945,230], | ||
// "padding": 5, | // "padding": 5, | ||
− | "padding": {"top": | + | "padding": {"top": 15, "left": 33, "bottom": 20, "right": 1}, |
// | // | ||
"data": [ | "data": [ | ||
Linia 87: | Linia 87: | ||
"y2": {"scale": "y", "value": 0} | "y2": {"scale": "y", "value": 0} | ||
}, | }, | ||
− | "update": { | + | "update": {"fill": {"value": "#ff8a88"}}, |
− | + | "hover": {"fill": {"value": "#c33"}}, | |
− | |||
− | "hover": { | ||
− | |||
− | |||
} | } | ||
}, | }, | ||
+ | { | ||
+ | "type":"text", | ||
+ | "properties":{ | ||
+ | "enter":{ | ||
+ | // "baseline":{"value":"middle"}, | ||
+ | // "align":{"value":"center"}, | ||
+ | "text":{"field":"y"}, | ||
+ | "y":{"scale":"y","offset":-5,"field":"y"}, | ||
+ | // "dy":{"scale":"x","mult":1,"band":true}, | ||
+ | "x":{"scale":"x", "field":"x", "offset":6}, | ||
+ | //"angle":{"value":0}, | ||
+ | "fontSize":{"value":12}, | ||
+ | "fill":{"value":"#999"} | ||
+ | } | ||
+ | }, | ||
+ | "from":{"data":"table"} | ||
+ | } | ||
] | ] |
Versiunea de la data 2 august 2020 11:28
text