var CH0008175645_resus_an = { "type": "bar", "plot":{ "tooltip" : { "short": true, "decimals": 1, }, }, "title":{ "text": "Compte de résultats", "font-size": "15px" }, noData: { text: 'Aucune Donnée', backgroundColor: '#f2f2f2' }, "series": [{ "legend-text": "Chiffre d'affaires", "values": [[2010,45283000],[2011,47562000],[2012,46305000],[2013,48153000],[2014,46934000],[2015,1260000],[2016,1150000],[2017,1460000],[2018,49920000],[2019,50650000],[2020,45434000],[2021,44875000],[2022,66888000],[2023,70553000]], "background-color": "purple", },{ "legend-text": "Résultat Opérationnel", "values": [[2010,5792000],[2011,4610000],[2012,1109000],[2013,2077000],[2014,3711000],[2015,1630000],[2016,390000],[2017,1210000],[2018,2057000],[2019,4503000],[2020,-2200000],[2021,-680000],[2022,16814000],[2023,5630000]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Résultat net", "values": [[2010,29209000],[2011,3611000],[2012,237000],[2013,2012000],[2014,2933000],[2015,804000],[2016,158000],[2017,786000],[2018,1172000],[2019,3060000],[2020,1365000],[2021,-384000],[2022,12260000],[2023,4866000]], "background-color": "rgb(27, 139, 61)", }, ], "plotarea" : { "margin-right":"20", "margin-left":"50", "margin-bottom":"50", "margin-top":"70", "background-color-1": "white", "background-color-2": "rgb(210,210,210)", }, "legend": { "layout":"1x3", "y": 30, "x": 0, "item": { "font-size": "11px" } }, "scale-y" : { "short": true, "guide": {"line-color": "rgb(127,127,127)",}, "item": { "font-size": "12px" }, }, "scale-x" : { "item": { "font-size": "12px" }, } } zingchart.render({ id: 'CH0008175645_resus_an', data: CH0008175645_resus_an, height: "350", width: "100%" });