var FR0000078321_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,7.1972641069485],[2009,0.0217037438958],[2010,0.9581384738223],[2011,3.0598052851182],[2012,-0.8831521739130],[2013,-9.6824570536179],[2014,8.4370052024429],[2015,5.1774813475017],[2016,103.61111111111],[2017,54.347826086957],[2018,5.2930056710775],[2019,0.2352941176471],[2020,0.6220452848967],[2021,-0.3430139492339],[2022,3.0903155603917],[2023,-4.6997389033943]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2008,7.1273122959739],[2009,2.7238198589257],[2010,1.3573628379149],[2011,2.7407346805203],[2012,-0.8637422360248],[2013,-11.660593440916],[2014,8.0524768152002],[2015,4.0018087271083],[2016,128.61111111111],[2017,50],[2018,9.0737240075614],[2019,2.1176470588235],[2020,1.4182632495646],[2021,6.9746169677567],[2022,6.354733405876],[2023,1.0879025239339]], "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: 'FR0000078321_marges_an', data: FR0000078321_marges_an, height: "350", width: "100%" });