var FR0000035164_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": [[2009,-2.4871244472425],[2010,5.7951579331001],[2011,7.2575177182631],[2012,0.0209327085602],[2013,0.1260795871261],[2014,1.1308002681662],[2015,3.0315033322915],[2016,3259.6153846154],[2017,5903.7037037037],[2018,12000],[2019,5.8276026453589],[2020,-6.4384935097391],[2021,7.9066064404462],[2022,10.734034210322],[2023,14.112248470912]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2009,-1.5805641729685],[2010,4.0329597281503],[2011,5.0972619547424],[2012,-0.0883023453055],[2013,0.0901444518849],[2014,1.1371086048186],[2015,1.3207447911348],[2016,2381.9230769231],[2017,4422.8888888889],[2018,8400.2739726027],[2019,3.7035623438233],[2020,-6.0155034377706],[2021,5.9825563439218],[2022,8.2449642619887],[2023,12.626741447107]], "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: 'FR0000035164_marges_an', data: FR0000035164_marges_an, height: "350", width: "100%" });