var FR0010263202_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,63.522624141061],[2009,22.497537711886],[2010,85.026931841724],[2011,45.334419931311],[2012,76.685219542362],[2013,43.053604436229],[2014,64.038562140348],[2015,356.90235690236],[2016,242.0365535248],[2017,214.06926406926],[2018,46.579260350003],[2019,36.711968652349],[2020,109.36037441498],[2021,111.46057246295],[2022,61.314898419865],[2023,-169.89569462938]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2008,8.3625048619214],[2009,-15.686071224924],[2010,41.723637870313],[2011,3.1200884801211],[2012,41.792070363499],[2013,9.0499075785582],[2014,8.1234586353785],[2015,183.43434343434],[2016,270.83550913838],[2017,178.80952380952],[2018,33.423005040494],[2019,33.416001190417],[2020,90.817918431023],[2021,124.83312591922],[2022,56.941309255079],[2023,-182.29027962716]], "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: 'FR0010263202_marges_an', data: FR0010263202_marges_an, height: "350", width: "100%" });