var US1491231015_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": [[2012,13.014042136004],[2013,10.112116227489],[2014,10.785733798554],[2015,6.9260383056889],[2016,1.2922633325445],[2017,9.6916102003015],[2018,15.154782867806],[2019,15.408922303736],[2020,10.905912369311],[2021,13.493948654876],[2022,13.300352100874],[2023,19.334923422642]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2012,8.6239090555784],[2013,6.8078912051291],[2014,6.7247736732646],[2015,4.4946906279068],[2016,-0.1738562589881],[2017,1.6585283748853],[2018,11.233141575753],[2019,11.325279832832],[2020,7.1811820326435],[2021,12.730767795238],[2022,11.282749823504],[2023,15.411571659677]], "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: 'US1491231015_marges_an', data: US1491231015_marges_an, height: "350", width: "100%" });