var FR0000120503_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.7654579623525],[2009,5.9164992185756],[2010,5.7357886309047],[2011,5.6778572738947],[2012,3.3385995767133],[2013,3.7576848103164],[2014,3.4190355483131],[2015,2.0599481929197],[2016,2.9809871568874],[2017,295833.33333333],[2018,4.9950780480945],[2019,4.4715125629466],[2020,3.239753271459],[2021,4.6103913378914],[2022,4.2236361175037],[2023,3.7720691932806]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2008,4.6242952647956],[2009,4.2069339457149],[2010,3.4299439551641],[2011,3.2715709655721],[2012,1.8869049393388],[2013,-2.2402159244265],[2014,2.4352706862213],[2015,1.2427531762674],[2016,2.3042054898011],[2017,226041.66666667],[2018,3.6872451132049],[2019,3.1216219779061],[2020,2.0061105666686],[2021,2.9928968581234],[2022,2.1952980461171],[2023,1.8565792527269]], "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: 'FR0000120503_marges_an', data: FR0000120503_marges_an, height: "350", width: "100%" });