var FR0000045122_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": [[2005,21040000],[2009,18971000],[2010,20123000],[2011,20916000],[2012,18470000],[2013,16647000],[2014,17195000],[2015,17354000],[2016,15652000],[2017,13852000],[2018,13921000],[2019,13137000],[2020,11568000],[2021,9898000],[2022,9441000],[2023,10097000]], "background-color": "purple", },{ "legend-text": "Résultat Opérationnel", "values": [[2005,-870000],[2009,674000],[2010,668000],[2011,1352000],[2012,634000],[2013,693000],[2014,1358000],[2015,1918000],[2016,713000],[2017,212000],[2018,601000],[2019,459000],[2020,1027000],[2021,-389000],[2022,-601000],[2023,783000]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Résultat net", "values": [[2005,-830000],[2009,426000],[2010,1309000],[2011,891000],[2012,367000],[2013,441000],[2014,226000],[2015,359000],[2016,152000],[2017,-194000],[2018,367000],[2019,107000],[2020,176000],[2021,-549000],[2022,-773000],[2023,619000]], "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: 'FR0000045122_resus_an', data: FR0000045122_resus_an, height: "350", width: "100%" });