var FR0000121329_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,5.673204472238],[2009,-2.2536195318868],[2010,-1.5649762282092],[2011,5.5724417426545],[2012,6.4634378906774],[2013,6.4308409832254],[2014,8.7678053894062],[2015,7.2380397064679],[2016,8.7505374610341],[2017,127520.66115702],[2018,8.3874182419093],[2019,8.1625998587033],[2020,4.2627833467735],[2021,7.362895256917],[2022,7.5161650198078],[2023,6.3727724598989]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2008,4.420914661108],[2009,-1.5665877421108],[2010,-0.8198220163355],[2011,3.9283411623837],[2012,3.7836997902261],[2013,4.0397066386738],[2014,5.5050255904298],[2015,5.4404402980829],[2016,6.3581640331076],[2017,56181.818181818],[2018,6.1924855090289],[2019,6.0969512526493],[2020,2.8453872822843],[2021,6.7243083003953],[2022,6.3783525340376],[2023,5.5533849927286]], "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: 'FR0000121329_marges_an', data: FR0000121329_marges_an, height: "350", width: "100%" });