var FR0000125486_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,9.6551724137931],[2009,9.6888478126925],[2010,10.084404317266],[2011,9.5654252775859],[2012,9.4502251902469],[2013,9.3385889235956],[2014,10.962974446425],[2015,9.6448413728646],[2016,10.634833083813],[2017,11.131226147373],[2018,537311.82795699],[2019,11.617746600209],[2020,5.5975415433644],[2021,8.8791965107439],[2022,10.421585160202],[2023,11.593099584883]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2008,4.6890657235485],[2009,4.916820702403],[2010,5.2230685527748],[2011,5.0576422461882],[2012,4.9619506134493],[2013,4.8639000446229],[2014,6.4232746815492],[2015,5.3118022742614],[2016,6.5794657631392],[2017,6.7203248850181],[2018,320752.68817204],[2019,6.6867679937645],[2020,2.8272251308901],[2021,5.1958705133848],[2022,6.8401188468642],[2023,6.7539033884428]], "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: 'FR0000125486_marges_an', data: FR0000125486_marges_an, height: "350", width: "100%" });