var FR0000073298_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": [[2005,8.4790780788853],[2006,8.9946355523258],[2007,9.4180656544631],[2008,9.8009482351043],[2009,9.198572819783],[2010,10.207965358099],[2011,9.6551825342378],[2012,7.6487506992095],[2013,3.6873913442104],[2014,9.0579699293608],[2015,8.7225777541275],[2016,9.8411334325466],[2017,24931.506849315],[2018,9.3035471970753],[2019,8.8126074813241],[2020,9.6645629968913],[2021,12.419755674341],[2022,12.894179960171],[2023,10.825756022445]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2005,4.229928730506],[2006,4.6124451920015],[2007,5.0124134777366],[2008,5.2571600123763],[2009,5.5857977129935],[2010,5.8058493270162],[2011,6.3161138605689],[2012,4.1390964397735],[2013,-0.1231018632880],[2014,5.3739242837094],[2015,5.2088893867892],[2016,5.9963841181674],[2017,17603.698630137],[2018,6.1457770075233],[2019,5.2307369755723],[2020,5.9593213107046],[2021,8.5676087994503],[2022,8.9452087256944],[2023,6.6835857243881]], "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: 'FR0000073298_marges_an', data: FR0000073298_marges_an, height: "350", width: "100%" });