var FR0000053506_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,10.624728221481],[2009,11.421599135998],[2010,-0.8194899177057],[2011,8.329685352011],[2012,-3.7716444287259],[2013,2.8364455320885],[2014,7.7992210708047],[2015,9.7154107162132],[2016,0.6687142448837],[2017,3816.3265306122],[2018,3.0823968115496],[2019,3.1944733942769],[2020,4.3908809733187],[2021,8.3257577056997],[2022,4.771536484459],[2023,3.2440198378234]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2008,3.9668763117549],[2009,6.2602394310766],[2010,-1.8194100622225],[2011,3.574473127269],[2012,-9.2594380612146],[2013,-6.498599067227],[2014,-40.4775703245],[2015,15.711778260645],[2016,-6.0669712325846],[2017,1137.3469387755],[2018,1.2337284685517],[2019,0.5353899294286],[2020,2.1803480910132],[2021,4.9978178380779],[2022,2.4538507120742],[2023,-1.2024448250392]], "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: 'FR0000053506_marges_an', data: FR0000053506_marges_an, height: "350", width: "100%" });