var FR0013482791_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": [[2017,1.0725964682799],[2018,3.2385317261008],[2019,11.905288193738],[2020,15.90162794471],[2021,15.44923917811],[2022,8.5605982862127],[2023,11.106765741103]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2017,1.2818835840419],[2018,2.26958814666],[2019,9.4658756332835],[2020,11.82133557913],[2021,10.28880866426],[2022,6.3895017702294],[2023,8.1883867493284]], "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: 'FR0013482791_marges_an', data: FR0013482791_marges_an, height: "350", width: "100%" });