Format: Covid/Med/Echipament/Graf: Diferență între versiuni
De la alegeri.md
< Format:Covid | Med | Echipament
Oleg (Discuție | contribuții) (→1) |
Oleg (Discuție | contribuții) (→1) |
||
Linia 231: | Linia 231: | ||
"marks": [ | "marks": [ | ||
{ | { | ||
− | "type": "rect", | + | "type":"rect", |
"from": {"data":"annotation"}, | "from": {"data":"annotation"}, | ||
"properties": { | "properties": { | ||
Linia 239: | Linia 239: | ||
"x2": {"scale":"x", "field":"end"}, | "x2": {"scale":"x", "field":"end"}, | ||
"y2": {"signal":"height"}, | "y2": {"signal":"height"}, | ||
− | "fill": {"scale":"color","field":"text"}, | + | "fill": {"scale":"color", "field":"text"}, |
"opacity": {"value":0.2} | "opacity": {"value":0.2} | ||
} | } | ||
} | } | ||
}, | }, | ||
− | + | { | |
− | + | "type":"line", | |
− | + | "from": {"data":"table"}, | |
− | + | "properties": { | |
− | + | "enter": { | |
− | + | "x": {"scale":"x", "field":"mdata"}, | |
− | + | "y": {"scale":"y", "field":"masti"}, | |
− | + | "stroke": {"value":"#5ab8f0"}, | |
− | + | "strokeWidth": {"value":2}, | |
− | + | "interpolate": {"value":"step-after"} | |
− | + | } | |
− | + | } | |
− | + | }, | |
− | + | { | |
− | + | "type":"line", | |
− | + | "from": {"data":"table"}, | |
− | + | "properties": { | |
− | + | "enter": { | |
− | + | "x": {"scale":"x", "field":"mdata"}, | |
− | + | "y": {"scale":"y", "field":"manusi"}, | |
− | + | "stroke": {"value":"#5b97dd"}, | |
− | + | "strokeWidth": {"value":2}, | |
− | + | "interpolate": {"value":"step-after"} | |
− | + | } | |
− | + | } | |
− | + | }, | |
− | + | { | |
− | + | "type":"line", | |
− | + | "from": {"data":"table"}, | |
− | + | "properties": { | |
− | + | "enter": { | |
− | + | "x": {"scale":"x", "field":"mdata"}, | |
− | + | "y": {"scale":"y", "field":"costume"}, | |
− | + | "stroke": {"value":"#26797a"}, | |
− | + | "strokeWidth": {"value":2}, | |
− | + | "interpolate": {"value":"step-after"} | |
− | + | } | |
− | + | } | |
− | + | }, | |
− | + | { | |
− | + | "type":"line", | |
− | + | "from": {"data":"table"}, | |
− | + | "properties": { | |
− | + | "enter": { | |
− | + | "x": {"scale":"x", "field":"mdata"}, | |
− | + | "y": {"scale":"y", "field":"viziere"}, | |
− | + | "stroke": {"value":"#999"}, | |
− | + | "strokeWidth": {"value":2}, | |
− | + | "interpolate": {"value":"step-after"} | |
− | + | } | |
− | + | } | |
− | + | }, | |
− | + | { | |
− | + | "type":"text", | |
− | + | "properties": { | |
− | + | "enter": { | |
− | + | "x": {"signal":"width", "mult":0.5}, | |
− | + | "y": {"value": -10}, | |
− | + | "text": {"template":"Distribuția echipamentelor de protecție individuală"}, | |
− | + | "fill": {"value":"#336"}, | |
− | + | "fontSize": {"value":15}, | |
− | + | "align": {"value":"center"}, | |
− | + | "fontWeight": {"value":"bold"} | |
− | + | } | |
− | + | } | |
− | + | } | |
− | + | ], | |
− | + | // | |
− | + | "legends": [ | |
− | + | { | |
− | + | "fill":"color", | |
− | + | "properties": { | |
− | + | "symbols": { | |
− | + | "strokeWidth": {"value":0}, | |
− | + | "shape": {"value":"square"}, | |
− | + | "opacity": {"value":0.3} | |
− | + | }, | |
− | + | "legend": { | |
− | + | "x": {"value":1}, | |
− | + | "y": {"value":0}, | |
− | + | "fill": {"value":"transparent"} | |
− | + | } | |
− | + | } | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
} | } | ||
+ | ] | ||
+ | } | ||
</graph> | </graph> | ||
Versiunea de la data 7 august 2020 16:37
1
2