var FR0000121485_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,6.7332633704928],[2009,5.0627549229633],[2010,9.1570752682282],[2011,12.630037948181],[2012,18.141388412436],[2013,13.413483238275],[2014,15.46102117061],[2015,10.818183387718],[2016,11.144215940379],[2017,16.323484755487],[2018,104063.32453826],[2019,29.022570592124],[2020,25.176714859315],[2021,27.188130483078],[2022,26.509753820451],[2023,23.729939691301]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2008,4.5749757440152],[2009,5.9583893104826],[2010,6.6038575566069],[2011,8.066442030882],[2012,10.76589669587],[2013,0.5088014443396],[2014,5.2692403486924],[2015,6.0081835603667],[2016,6.5684825876672],[2017,11.536597814921],[2018,98018.469656992],[2019,14.534579909969],[2020,16.415016564633],[2021,17.997529073062],[2022,17.758341113459],[2023,15.24583461106]], "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: 'FR0000121485_marges_an', data: FR0000121485_marges_an, height: "350", width: "100%" });