var FR0011950682_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": [[2011,4.0218802627688],[2012,2.3373604614457],[2013,6.4179895696028],[2014,5.6280037098451],[2015,5.4111241391393],[2016,4.4690128668699],[2017,801.3698630137],[2018,1.5299831263791],[2019,4.0381492433099],[2020,2.3051597278048],[2021,6.3809320596188],[2022,7.413432694806],[2023,3.8318070818071]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2011,0.8536130715929],[2012,0.6492667948460],[2013,2.74084474755],[2014,3.0606222422079],[2015,3.2257847140797],[2016,2.7002126598893],[2017,380.82191780822],[2018,-0.0665210054947],[2019,2.5528043290822],[2020,0.1817707026590],[2021,3.5601977032562],[2022,4.5834612750077],[2023,1.4401709401709]], "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: 'FR0011950682_marges_an', data: FR0011950682_marges_an, height: "350", width: "100%" });