var FR0000120644_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,14.369250985545],[2009,16.760112134561],[2010,14.685479129924],[2011,14.12672119267],[2012,13.163064833006],[2013,9.9915485022068],[2014,10.173098751419],[2015,9.860788863109],[2016,13.324826831936],[2017,199044.94382022],[2018,11.119224372236],[2019,12.80499861589],[2020,11.845893310754],[2021,9.2953338000906],[2022,7.7473699432414],[2023,7.3934610232087]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2008,8.6268068331143],[2009,9.0842344146309],[2010,10.993533215755],[2011,8.6499637643648],[2012,8.0118836551823],[2013,6.6766832566438],[2014,5.2922814982974],[2015,5.7201499196859],[2016,7.8381334305505],[2017,137584.26966292],[2018,9.5290251916758],[2019,7.6284256732708],[2020,8.2811176968671],[2021,7.923891108274],[2022,3.4669751635877],[2023,3.1898330859191]], "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: 'FR0000120644_marges_an', data: FR0000120644_marges_an, height: "350", width: "100%" });