var FR0010340141_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,19.913526980872],[2009,19.463521774231],[2010,19.796751009947],[2011,26.044227615756],[2012,24.31737014524],[2013,23.835224147627],[2014,26.155499820853],[2015,26.9890260631],[2016,23.617237869019],[2017,20531.177829099],[2018,27.976041926628],[2019,23],[2020,-54.000935891437],[2021,1.4764133957508],[2022,21.075085324232],[2023,22.620564149227]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2008,10.785819406252],[2009,10.233292347558],[2010,10.955328668622],[2011,13.904099677235],[2012,12.923668314113],[2013,11.063523591038],[2014,14.403439627374],[2015,14.746227709191],[2016,14.760773668137],[2017,13187.066974596],[2018,15.223359121537],[2019,12.510638297872],[2020,-54.702854468882],[2021,-8.9305005401512],[2022,11.006825938567],[2023,11.483166515014]], "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: 'FR0010340141_marges_an', data: FR0010340141_marges_an, height: "350", width: "100%" });