Format: Partide/Graf: Diferență între versiuni
De la alegeri.md
Oleg (Discuție | contribuții) |
Oleg (Discuție | contribuții) |
||
Linia 871: | Linia 871: | ||
{"name":"2021", "pos":"352"}, | {"name":"2021", "pos":"352"}, | ||
] | ] | ||
− | } | + | }, |
+ | { | ||
+ | "name":"events", | ||
+ | "values": [ | ||
+ | {"start":"84", "end":"84.1", "starty":"47", "text":"Legea nr. 146/1998 (reînregistarea partidelor)"}, | ||
+ | ] | ||
+ | }, | ||
+ | { | ||
+ | "name":"events2", | ||
+ | "values": [ | ||
+ | {"start":"0", "end":"0", "starty":"0", "text":"Legea nr. 718/1991"}, | ||
+ | {"start":"195", "end":"195.1", "starty":"28", "text":"Legea nr. 294/2007"}, | ||
+ | ] | ||
+ | }, | ||
+ | { | ||
+ | "name": "eventst", | ||
+ | "values": [ | ||
+ | {"name":"Legea nr. 146/1998 (reînregistarea partidelor)", "posx":"85"}, | ||
+ | ] | ||
+ | }, | ||
+ | { | ||
+ | "name": "eventst2", | ||
+ | "values": [ | ||
+ | {"name":"Legea nr. 718/1991", "posx":"1"}, | ||
+ | {"name":"Legea nr. 294/2007", "posx":"196"}, | ||
+ | ] | ||
+ | }, | ||
], | ], | ||
// | // | ||
Linia 917: | Linia 943: | ||
"domain": {"data":"apdm", "field":"text"}, | "domain": {"data":"apdm", "field":"text"}, | ||
"range": ["#273173"] | "range": ["#273173"] | ||
+ | }, | ||
+ | { | ||
+ | "name":"colorg", | ||
+ | "type":"ordinal", | ||
+ | "domain": {"data":"events", "field":"text"}, | ||
+ | "range": ["#cccccc"] | ||
}, | }, | ||
], | ], | ||
Linia 1.004: | Linia 1.036: | ||
} | } | ||
}, | }, | ||
+ | { | ||
+ | "type":"rect", | ||
+ | "from": {"data":"events"}, | ||
+ | "properties": { | ||
+ | "enter": { | ||
+ | "x": {"scale":"x", "field":"start"}, | ||
+ | "y": {"value":15}, | ||
+ | "x2": {"scale":"x", "field":"end"}, | ||
+ | "y2": {"scale":"y", "field":"starty"}, | ||
+ | "fill": {"scale":"colorg", "field":"text"}, | ||
+ | //"opacity": {"value":0.1} | ||
+ | } | ||
+ | } | ||
+ | }, | ||
+ | { | ||
+ | "type":"rect", | ||
+ | "from": {"data":"events2"}, | ||
+ | "properties": { | ||
+ | "enter": { | ||
+ | "x": {"scale":"x", "field":"start"}, | ||
+ | "y": {"value":42}, | ||
+ | "x2": {"scale":"x", "field":"end"}, | ||
+ | "y2": {"scale":"y", "field":"starty"}, | ||
+ | "fill": {"scale":"colorg", "field":"text"}, | ||
+ | //"opacity": {"value":0.1} | ||
+ | } | ||
+ | } | ||
+ | }, | ||
+ | { | ||
+ | "type": "text", | ||
+ | "from": {"data":"eventst"}, | ||
+ | "properties": { | ||
+ | "enter": { | ||
+ | "x": {"scale":"x", "field":"posx"}, | ||
+ | "y": {"value":18}, | ||
+ | "fill": {"value":"#bbb"}, | ||
+ | "text": {"field":"name"}, | ||
+ | "fontSize": {"value":12} | ||
+ | } | ||
+ | } | ||
+ | }, | ||
+ | { | ||
+ | "type": "text", | ||
+ | "from": {"data":"eventst2"}, | ||
+ | "properties": { | ||
+ | "enter": { | ||
+ | "x": {"scale":"x", "field":"posx"}, | ||
+ | "y": {"value":45}, | ||
+ | "fill": {"value":"#bbb"}, | ||
+ | "text": {"field":"name"}, | ||
+ | "fontSize": {"value":12} | ||
+ | } | ||
+ | } | ||
+ | }, | ||
{ | { | ||
"type": "text", | "type": "text", |
Versiunea de la data 25 octombrie 2021 11:00
numărul de partide | participarea la alegeri: | • | parlamentare | • | locale | • | prezidențiale | • | APG |