var FR0000072993_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,3.8099333476672],[2011,4.0958167591905],[2012,1.3653208503998],[2013,2.5375212749497],[2014,1.6108365367014],[2015,2.188813745202],[2016,-5.1500384714029],[2017,-69.69696969697],[2018,-5.7415730337079],[2019,-64.470098953105],[2020,-27.551020408163],[2021,0.0102774922919],[2022,-14.854682454252],[2023,-8.2646411462604]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2010,3.4444205547194],[2011,2.2817677142982],[2012,1.7554125219427],[2013,2.2693279694672],[2014,1.4643968515468],[2015,1.8735148967282],[2016,-5.2423698384201],[2017,-70.808080808081],[2018,-4.4213483146067],[2019,-69.668722214255],[2020,-32.142857142857],[2021,-3.4635149023638],[2022,-20.775026910657],[2023,-20.292607138233]], "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: 'FR0000072993_marges_an', data: FR0000072993_marges_an, height: "350", width: "100%" });