var FR0000121014_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,20.269877275635],[2009,18.536327918841],[2010,20.516732283465],[2011,21.784521746481],[2012,20.421307333737],[2013,20.220247692888],[2014,17.726352895098],[2015,17.900403768506],[2016,18.36170212766],[2017,286955.01730104],[2018,21.043864519711],[2019,20.950251537172],[2020,17.948086269065],[2021,26.694697500584],[2022,26.521772075167],[2023,26.185971469363]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2008,11.783865526668],[2009,10.291444320647],[2010,14.92125984252],[2011,12.954900883385],[2012,12.183752624275],[2013,11.787711413771],[2014,1.4916117240029],[2015,1.2000897263347],[2016,10.587765957447],[2017,177474.04844291],[2018,13.569384529962],[2019,13.361281907956],[2020,10.530559225997],[2021,18.743284279374],[2022,17.786421499293],[2023,17.612851554792]], "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: 'FR0000121014_marges_an', data: FR0000121014_marges_an, height: "350", width: "100%" });