var FR0000045304_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,44.229699217081],[2009,43.746481516232],[2010,47.978001068668],[2011,47.33277782961],[2012,37.662413246228],[2013,34.910713127829],[2014,45.875759829696],[2015,0],[2016,0],[2017,0],[2018,39.305589823725],[2019,39.331679251825],[2020,32.377650201785],[2021,36.124746575923],[2022,38.063030353327],[2023,38.962809356435]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2008,26.427902201577],[2009,21.99359094649],[2010,24.060679516753],[2011,24.660504650467],[2012,17.672670924937],[2013,22.436487660645],[2014,23.875003206032],[2015,5071.8934911243],[2016,3912.7932960894],[2017,3283.1944444444],[2018,27.413507141486],[2019,26.484381049208],[2020,17.32431459482],[2021,23.644221931043],[2022,27.748352811113],[2023,32.299569955205]], "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: 'FR0000045304_marges_an', data: FR0000045304_marges_an, height: "350", width: "100%" });