var FR0000066672_marges_an = { "type": "bar", "plot":{ "tooltip" : { "text": "%v%", "decimals": 1, }, }, "title":{ "text": "Marges", "font-size": "15px" }, noData: { text: 'Aucune Donnée', backgroundColor: '#f2f2f2' }, "series": [{ "legend-text": "Marge Opérationnelle", "values": [[2008,8.7736358368238],[2009,7.8220785028725],[2010,6.7040066447376],[2011,4.5231253936638],[2012,6.1400805590605],[2013,4.7293831792795],[2014,7.1207453410859],[2015,7.3371745081811],[2016,8.088372629878],[2017,14166.666666667],[2018,19877.551020408],[2019,10.296323137589],[2020,-14.946866433855],[2021,9.1802677128387],[2022,8.1722685387658],[2023,9.9143658023826]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2008,4.7376510852714],[2009,4.3407065946541],[2010,3.6240772725773],[2011,1.8884364727211],[2012,3.426914490925],[2013,1.248744026013],[2014,3.2759835721783],[2015,3.268606353855],[2016,3.3434066798879],[2017,5849.5],[2018,8619.7959183673],[2019,4.6960673558563],[2020,-16.139920476971],[2021,2.0440018239657],[2022,4.0224792338804],[2023,4.4849334267694]], "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":"1x2", "x" : 0, "y" : 33, "item": { "font-size": "11px" } }, "scale-y" : { "format":"%v%", "guide": {"line-color": "rgb(127,127,127)",}, "item": { "font-size": "12px" } }, "scale-x" : { "item": { "font-size": "12px" }, } } zingchart.render({ id: 'FR0000066672_marges_an', data: FR0000066672_marges_an, height: "350", width: "100%" });