var FR0012185536_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": [[2010,null],[2011,64.052287581699],[2012,72.092803923418],[2013,70.620639001102],[2014,39.110564246792],[2015,940.17094017094],[2016,96.153846153846],[2017,294.91525423729],[2018,28.358699222599],[2019,87.895753656902],[2020,50.64671872206],[2021,18.118081180812],[2022,12.388295970995],[2023,-21.881410833183]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2010,null],[2011,511.11111111111],[2012,39.658587192304],[2013,23.552454400783],[2014,-11.495869221304],[2015,451.53846153846],[2016,88.873626373626],[2017,225.98870056497],[2018,13.774225336691],[2019,42.431888972125],[2020,30.386839124993],[2021,12.49692496925],[2022,10.198897002502],[2023,-24.638294043549]], "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: 'FR0012185536_marges_an', data: FR0012185536_marges_an, height: "350", width: "100%" });