var FR0000066961_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": [[2010,7.6327433628319],[2011,7.5510204081633],[2012,1.5690376569038],[2013,-0.3696098562628],[2014,0.4889731563716],[2015,0.2687913986752],[2016,-183.01886792453],[2017,-203.7037037037],[2018,-4.2786069651741],[2019,0.2739726027397],[2020,-11.038961038961],[2021,1.9968051118211],[2022,-7.1287128712871],[2023,-1.4927073837739]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2010,4.9557522123894],[2011,4.5918367346939],[2012,1.1820083682008],[2013,0.0924024640657],[2014,0.6685959485081],[2015,0.0863972352885],[2016,-113.39622641509],[2017,-153.33333333333],[2018,-3.3830845771144],[2019,-0.4566210045662],[2020,-9.4155844155844],[2021,5.2076677316294],[2022,-10.185643564356],[2023,1.5268915223336]], "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: 'FR0000066961_marges_an', data: FR0000066961_marges_an, height: "350", width: "100%" });