var FR0000079147_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,0.0639752005076],[2009,2.8754359541167],[2010,8.6601464379242],[2011,7.0925269769689],[2012,7.2153525896223],[2013,7.232852502634],[2014,6.5200811720893],[2015,4.9362348772973],[2016,5.5550240920786],[2017,1854.2857142857],[2018,1.1612539330565],[2019,2.1584226135414],[2020,0.1205101366241],[2021,2.8365287972053],[2022,0.8517450119102],[2023,1.8807228915663]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2008,-3.9981899699369],[2009,-0.6522847145467],[2010,4.7693869916092],[2011,3.9020977613142],[2012,4.4261964832171],[2013,4.235712239577],[2014,3.7580001338001],[2015,3.0644199850557],[2016,3.4418693640396],[2017,0.8637142857143],[2018,0.6342658386742],[2019,1.5641556082547],[2020,-1.8827126487439],[2021,1.4011506929693],[2022,-0.0087414497694],[2023,0.0969879518072]], "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: 'FR0000079147_marges_an', data: FR0000079147_marges_an, height: "350", width: "100%" });