Format: Covid/Cazuri/UTAG/2021: Diferență între versiuni
De la alegeri.md
< Format:Covid | Cazuri | UTAG
Oleg (Discuție | contribuții) |
Oleg (Discuție | contribuții) |
||
Linia 284: | Linia 284: | ||
} | } | ||
], | ], | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
// | // | ||
"scales": [ | "scales": [ | ||
Linia 385: | Linia 367: | ||
"strokeWidth": {"value":2}, | "strokeWidth": {"value":2}, | ||
"interpolate": {"value":"basis"} | "interpolate": {"value":"basis"} | ||
+ | } | ||
+ | } | ||
+ | }, | ||
+ | { | ||
+ | "type":"rect", | ||
+ | "from": {"data":"c1"}, | ||
+ | "properties": { | ||
+ | "enter": { | ||
+ | "x": {"scale":"x", "field":"start"}, | ||
+ | "y": {"value":0}, | ||
+ | "x2": {"scale":"x", "field":"end"}, | ||
+ | "y2": {"signal": "height"}, | ||
+ | "fill": {"scale":"color", "field":"text"}, | ||
+ | "opacity": {"value":0.1} | ||
+ | } | ||
+ | } | ||
+ | }, | ||
+ | { | ||
+ | "type":"rect", | ||
+ | "from": {"data":"c2"}, | ||
+ | "properties": { | ||
+ | "enter": { | ||
+ | "x": {"scale":"x", "field":"start"}, | ||
+ | "y": {"value":0}, | ||
+ | "x2": {"scale":"x", "field":"end"}, | ||
+ | "y2": {"signal": "height"}, | ||
+ | "fill": {"scale":"color", "field":"text"}, | ||
+ | "opacity": {"value":0.1} | ||
} | } | ||
} | } | ||
Linia 436: | Linia 446: | ||
} | } | ||
}, | }, | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
{ | { | ||
"type":"text", | "type":"text", |