var FR0000065278_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,3.9698054775961],[2012,3.5337961824407],[2013,1.1912527261107],[2014,2.5639935067237],[2015,0.8088029716020],[2016,1.4317819105625],[2017,2092.8571428571],[2018,2.1431170989295],[2019,1.9391673403395],[2020,-6.3424114940832],[2021,5.7151595208194],[2022,3.7920011020668],[2023,3.6580647300947]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2011,2.1336172134585],[2012,1.6243859682311],[2013,0.1429766822821],[2014,1.2440720498479],[2015,0.4200450000666],[2016,0.6188320359574],[2017,1886.4285714286],[2018,2.0037217861827],[2019,0.7892077607114],[2020,-7.1231169171977],[2021,2.5995744376265],[2022,2.2600472430098],[2023,1.6832920003095]], "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: 'FR0000065278_marges_an', data: FR0000065278_marges_an, height: "350", width: "100%" });