var FR0013214145_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,null],[2012,17.332977682938],[2013,14.445266903915],[2014,8.8809021898147],[2015,9.8966982325296],[2016,9.8452106960485],[2017,12.823323103902],[2018,10.766831869579],[2019,9.4461711898758],[2020,-9.3470790378007],[2021,6.0080878105142],[2022,9.1640404710566],[2023,4.1040227549777]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2010,null],[2011,null],[2012,7.5557926558193],[2013,8.3934519572954],[2014,-1.6804322032922],[2015,1.3579114561195],[2016,5.5108324741642],[2017,0.6934458570802],[2018,4.9357360345206],[2019,3.8585839666533],[2020,-11.706758304696],[2021,2.2722896206432],[2022,4.2544368883729],[2023,0.9101991060544]], "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: 'FR0013214145_marges_an', data: FR0013214145_marges_an, height: "350", width: "100%" });