var FR0000035081_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,27.947707512354],[2009,44.175079702444],[2010,94.461516971644],[2011,15.971849865952],[2012,13.419595811379],[2013,19.092164741336],[2014,19.699546485261],[2015,2.071641377399],[2016,17.598981710994],[2017,8852.4590163934],[2018,19.209709285916],[2019,30.310591634382],[2020,38.153566179044],[2021,35.928398058252],[2022,35.11696545693],[2023,16.704925559126]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2008,0.3190091949709],[2009,35.009298618491],[2010,85.067746892024],[2011,6.2332439678284],[2012,3.514973654372],[2013,7.9671019588147],[2014,8.5884353741497],[2015,-14.38370401164],[2016,3.8855764721645],[2017,4521.8579234973],[2018,8.7440022579735],[2019,19.712390833279],[2020,5.5714985651291],[2021,24.277912621359],[2022,2.9569304766069],[2023,-82.003016986948]], "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: 'FR0000035081_marges_an', data: FR0000035081_marges_an, height: "350", width: "100%" });