var FR0010157115_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": [[2013,0],[2014,17.021276595745],[2015,2.2857142857143],[2016,-1.9607843137255],[2017,19.76401179941],[2018,14.516129032258],[2019,12.444444444444],[2020,26.709241172051],[2021,34.858121330724],[2022,44.559902200489],[2023,9.0945353011568]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2013,0],[2014,17.446808510638],[2015,2.2857142857143],[2016,1.3071895424837],[2017,13.864306784661],[2018,10.483870967742],[2019,9.3333333333333],[2020,20.022539444027],[2021,24.094911937378],[2022,20.843520782396],[2023,5.6641404068608]], "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: 'FR0010157115_marges_an', data: FR0010157115_marges_an, height: "350", width: "100%" });