var FR0000060949_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,2.5965775458895],[2009,-10.397034368071],[2010,1.8105230910623],[2011,3.9798445640106],[2012,4.2962857549452],[2013,4.3773157362893],[2014,4.7927147099824],[2015,5.3806420740032],[2016,6.924026645228],[2017,6.0423878059149],[2018,5.6299901903567],[2019,3.647090049223],[2020,-0.8166047806916],[2021,4.2435652884782]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2008,0.7528858370955],[2009,-8.1277716186253],[2010,0.1072221796737],[2011,1.5728641785521],[2012,1.9083534936673],[2013,2.0210062161252],[2014,3.0213952360749],[2015,3.5467481105122],[2016,5.4812220052831],[2017,4.3432319183822],[2018,4.1895868774291],[2019,2.3320625422257],[2020,-2.3743908099327],[2021,3.6737929496866]], "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: 'FR0000060949_marges_an', data: FR0000060949_marges_an, height: "350", width: "100%" });