Format: Diaspora/Graf: Diferență între versiuni
De la alegeri.md
Oleg (Discuție | contribuții) |
Oleg (Discuție | contribuții) |
||
Linia 12: | Linia 12: | ||
{"year":" 1994 ", "stations":6, "voters":1948}, | {"year":" 1994 ", "stations":6, "voters":1948}, | ||
{"year":" 1996 ", "stations":14, "voters":3072}, | {"year":" 1996 ", "stations":14, "voters":3072}, | ||
+ | {"year":" 1996 ", "stations":14, "voters":4295}, | ||
{"year":" 1998 ", "stations":20, "voters":3234}, | {"year":" 1998 ", "stations":20, "voters":3234}, | ||
{"year":" 2001 ", "stations":20, "voters":3804}, | {"year":" 2001 ", "stations":20, "voters":3804}, | ||
Linia 20: | Linia 21: | ||
{"year":" 2014 ", "stations":95, "voters":73311}, | {"year":" 2014 ", "stations":95, "voters":73311}, | ||
{"year":" 2016 ", "stations":100, "voters":67205}, | {"year":" 2016 ", "stations":100, "voters":67205}, | ||
+ | {"year":" 2016 ", "stations":100, "voters":138720}, | ||
{"year":" 2019 ", "stations":123, "voters":76583}, | {"year":" 2019 ", "stations":123, "voters":76583}, | ||
+ | {"year":" 2020 ", "stations":139, "voters":150022}, | ||
+ | {"year":" 2020 ", "stations":139, "voters":263177}, | ||
] | ] | ||
} | } | ||
Linia 96: | Linia 100: | ||
"type":"y", | "type":"y", | ||
"scale":"y2", | "scale":"y2", | ||
+ | "ticks":5, | ||
+ | //"values": [10000,50000,100000,150000,200000,263177], | ||
"title":"Alegători", | "title":"Alegători", | ||
"grid":true, | "grid":true, | ||
Linia 128: | Linia 134: | ||
"properties": { | "properties": { | ||
"enter": { | "enter": { | ||
− | "x": {"scale":"x", "field":"year", "offset": | + | "x": {"scale":"x", "field":"year", "offset":8}, |
"y": {"scale":"y2", "field":"voters"}, | "y": {"scale":"y2", "field":"voters"}, | ||
"stroke": {"value":"#9bbb59"}, | "stroke": {"value":"#9bbb59"}, | ||
Linia 141: | Linia 147: | ||
"properties": { | "properties": { | ||
"enter": { | "enter": { | ||
− | "x": {"scale":"x", "field":"year", "offset": | + | "x": {"scale":"x", "field":"year", "offset":8}, |
"y": {"scale":"y2", "field":"voters"}, | "y": {"scale":"y2", "field":"voters"}, | ||
"stroke": {"value":"#9bbb59"}, | "stroke": {"value":"#9bbb59"}, | ||
Linia 180: | Linia 186: | ||
"x": {"signal":"width", "mult":0.5}, | "x": {"signal":"width", "mult":0.5}, | ||
"y": {"value":-10}, | "y": {"value":-10}, | ||
− | "text": {"template":"Votarea în străinătate în perioada | + | "text": {"template":"Votarea în străinătate în perioada 1994–2020"}, |
"fill": {"value":"#336"}, | "fill": {"value":"#336"}, | ||
"fontSize": {"value":15}, | "fontSize": {"value":15}, | ||
Linia 204: | Linia 210: | ||
{"year":" 1994 ", "stations":6, "voters":1948}, | {"year":" 1994 ", "stations":6, "voters":1948}, | ||
{"year":" 1996 ", "stations":14, "voters":3072}, | {"year":" 1996 ", "stations":14, "voters":3072}, | ||
+ | {"year":" 1996 ", "stations":14, "voters":4295}, | ||
{"year":" 1998 ", "stations":20, "voters":3234}, | {"year":" 1998 ", "stations":20, "voters":3234}, | ||
{"year":" 2001 ", "stations":20, "voters":3804}, | {"year":" 2001 ", "stations":20, "voters":3804}, | ||
Linia 212: | Linia 219: | ||
{"year":" 2014 ", "stations":95, "voters":73311}, | {"year":" 2014 ", "stations":95, "voters":73311}, | ||
{"year":" 2016 ", "stations":100, "voters":67205}, | {"year":" 2016 ", "stations":100, "voters":67205}, | ||
+ | {"year":" 2016 ", "stations":100, "voters":138720}, | ||
{"year":" 2019 ", "stations":123, "voters":76583}, | {"year":" 2019 ", "stations":123, "voters":76583}, | ||
+ | {"year":" 2020 ", "stations":139, "voters":150022}, | ||
+ | {"year":" 2020 ", "stations":139, "voters":263177}, | ||
] | ] | ||
} | } | ||
Linia 289: | Linia 299: | ||
"scale":"y2", | "scale":"y2", | ||
"title":"Alegători", | "title":"Alegători", | ||
+ | "ticks":5, | ||
"format":"s", | "format":"s", | ||
"grid":true, | "grid":true, | ||
Linia 373: | Linia 384: | ||
"x": {"signal":"width", "mult":0.5}, | "x": {"signal":"width", "mult":0.5}, | ||
"y": {"value":-10}, | "y": {"value":-10}, | ||
− | "text": {"template":"Votarea în străinătate în perioada | + | "text": {"template":"Votarea în străinătate în perioada 1994–2020"}, |
"fill": {"value":"#336"}, | "fill": {"value":"#336"}, | ||
"fontSize": {"value":15}, | "fontSize": {"value":15}, |