var FR0000052516_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,10.771688130179],[2010,9.1276555743561],[2011,13.144870396779],[2012,10.631793478261],[2013,9.9959989330488],[2014,7.8934929888136],[2015,7.5692400573542],[2016,7.5692400573542],[2017,11238.095238095],[2018,10910.112359551],[2019,7.9815920040267],[2020,7.6505016722408],[2021,8.6279290261411],[2022,8.5874495967742]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2009,5.2910052910053],[2010,5.0855423951871],[2011,7.6335877862595],[2012,6.7527173913043],[2013,5.6081621765804],[2014,5.74287064755],[2015,4.4751339521546],[2016,4.4751339521546],[2017,8276.1904761905],[2018,8325.8426966292],[2019,5.6014956496728],[2020,4.6125975473802],[2021,6.2508465393471],[2022,5.8089717741935]], "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: 'FR0000052516_marges_an', data: FR0000052516_marges_an, height: "350", width: "100%" });