var FR0000060618_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,3.9255637055148],[2009,4.1414950141932],[2010,4.2343854936199],[2011,3.94215135351],[2012,5.5575088484167],[2013,5.2731919036223],[2014,6833333.3333333],[2015,4100000],[2016,4835000],[2017,6185000],[2018,12090000],[2019,1.6218400092347],[2020,1.8605652427961],[2021,1.6710132328794],[2022,3.2550207298068],[2023,-220]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2008,-0.2920402064656],[2009,0.3675667806973],[2010,0.0402955003358],[2011,0.0599024445902],[2012,0.5742681011649],[2013,0.3528982273963],[2014,-106666.66666667],[2015,-830000],[2016,6015000],[2017,-510000],[2018,-2230000],[2019,-2.7992612259033],[2020,-0.9410462219762],[2021,-0.8918509932709],[2022,-0.7468611249963],[2023,-78660]], "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: 'FR0000060618_marges_an', data: FR0000060618_marges_an, height: "350", width: "100%" });