var FR0000185506_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": [[2007,43.319176980639],[2008,41.767606772151],[2009,42.428013163307],[2010,45.515362444428],[2011,43.183433692119],[2012,41.496862791524],[2013,49.296705733831],[2014,0],[2015,0],[2016,0],[2017,0],[2018,0],[2019,36.118400767412],[2020,28.933335035164],[2021,36.024363771134],[2022,37.420342903878],[2023,26.983690630198]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2007,25.503566958237],[2008,24.486113061751],[2009,23.771338955162],[2010,24.738621806947],[2011,27.563365790304],[2012,23.355747602699],[2013,26.847373628811],[2014,6648.6033519553],[2015,8903.2653061225],[2016,6397.5280898876],[2017,4876.1261261261],[2018,5281.4163090129],[2019,25.705802414151],[2020,13.428210397335],[2021,25.03066429],[2022,26.64130201641],[2023,19.960959157272]], "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: 'FR0000185506_marges_an', data: FR0000185506_marges_an, height: "350", width: "100%" });