var FR0000120073_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.643862902672],[2009,16.3584138409],[2010,16.712633451957],[2011,16.853543982458],[2012,16.529756040271],[2013,17.119643748522],[2014,17.253211618473],[2015,16.840254459761],[2016,133805.30973451],[2017,14.842279587013],[2018,156063.34841629],[2019,16.452023485294],[2020,17.818229746353],[2021,17.182919930747],[2022,14.335204115721],[2023,16.558846114838]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2008,9.3107737863559],[2009,10.270455323519],[2010,10.406287069988],[2011,10.617075583285],[2012,10.500903675382],[2013,10.773585897065],[2014,10.841043605087],[2015,10.72296365035],[2016,81592.920353982],[2017,10.809217024664],[2018,95628.959276018],[2019,10.225774517452],[2020,11.887118505067],[2021,11.023021410083],[2022,9.2162758067749],[2023,11.149103869949]], "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: 'FR0000120073_marges_an', data: FR0000120073_marges_an, height: "350", width: "100%" });