theme_curves = () => {
return {
"layer": "Province_2019",
"field": "20.1|20.2|25.1|25.2|30.1|30.2|35.1|35.2|40.1|40.2|45.1|45.2|50.1|50.2|55.1|55.2|60.1|60.2|65.1|65.2|70.1|70.2|75.1|75.2|80.1|80.2|85.1|85.2|90.1|90.2|95.1|95.2",
"field100": "",
"style": {
"type": "CHART|SYMBOL|SEQUENCE|PLOT|AREA|LINES|GRID|BOX|TITLE|AGGREGATE|RECT|MEAN|SIMPLELEGEND",
"colorscheme": [
"#dd4400",
"#0044dd"],
"gridx": "2",
"fillopacity": "0.1",
"shadow": "false",
"dbtable": "CURVE_DATA",
"lookupfield": "codiceProvincia.1",
"symbols": [
"none"],
"label": [
"femmine",
"maschi"],
"xaxis": [
"20"," ","30"," ","40"," ","50"," ","60"," ","70"," ","80"," ","90"," ","100"],
"units": "",
"scale": "0.4",
"rangescale": "5",
"maxvalue": "auto",
"textcolor": "#444444",
"textscale": "3",
"linewidth": "5",
"boxopacity": "0.05",
"bordercolor": "none",
"titlefield": "denominazioneProvincia.1",
"textscale": "0.5",
"valuescale": "1",
"gridwidth": "100px",
"titleupper": "1:1000000",
"align": "23left",
"valuedecimals": "0",
"title": "Referendum per la Cannabis",
"snippet": "Numero di firma per provincia e sesso aggregato per griglia rettangolare<br>Fonte: <a href='https://github.com/ondata/dati-referendum' target='blank'>Ondata</a>",
"description": "<h4><button class='btn btn-default' onclick='ixmaps.map().changeThemeStyle(null,\"scale:0.9\",\"factor\");'>-</button> grande <button class='btn btn-default btn-active' onclick='ixmaps.map().changeThemeStyle(null,\"scale:1.1\",\"factor\");'>+</button> <button class='btn btn-default' onclick='ixmaps.map().changeThemeStyle(null,\"gridwidthpx:1.5\",\"factor\");'>-</button> curve <button class='btn btn-default btn-active' onclick='ixmaps.map().changeThemeStyle(null,\"gridwidthpx:0.66\",\"factor\");'>+</button></h4>"
}
}
};