var FR0010282822_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,34.44989358749],[2009,31.774429981809],[2010,25.851197982346],[2011,21.404580152672],[2012,9.1337832473204],[2013,7.5959060631108],[2014,5.1878662530162],[2015,2.4308677046999],[2016,4.6238630283574],[2017,-764.70588235294],[2018,-280.57553956835],[2019,-5.91271684472],[2020,-1.7370393848359],[2021,1.2330088822044],[2022,5.1043713558612],[2023,6.4228849513352]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2008,21.880262792634],[2009,21.965348545593],[2010,18.712844532517],[2011,14.765055131467],[2012,6.5009924573243],[2013,4.6834735255506],[2014,3.9998522676909],[2015,1.1650904383473],[2016,2.466024612092],[2017,-784.3137254902],[2018,-424.46043165468],[2019,-5.0439243088232],[2020,-2.3699115288151],[2021,0.6701854952373],[2022,3.0528621589408],[2023,9.9534564512104]], "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: 'FR0010282822_marges_an', data: FR0010282822_marges_an, height: "350", width: "100%" });