var CH0008175645_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": [[2010,12.790671996113],[2011,9.6926117488752],[2012,2.3949897419285],[2013,4.3133345793616],[2014,7.9068479140921],[2015,129.36507936508],[2016,33.913043478261],[2017,82.876712328767],[2018,4.1205929487179],[2019,8.8904244817374],[2020,-4.8421886692785],[2021,-1.5153203342618],[2022,25.137543356058],[2023,7.9798165917821]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2010,64.503235209681],[2011,7.5921954501493],[2012,0.5118237771299],[2013,4.1783481818371],[2014,6.2492010056675],[2015,63.809523809524],[2016,13.739130434783],[2017,53.835616438356],[2018,2.3477564102564],[2019,6.0414610069102],[2020,3.0043579698024],[2021,-0.8557103064067],[2022,18.329147231192],[2023,6.8969427239097]], "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: 'CH0008175645_marges_an', data: CH0008175645_marges_an, height: "350", width: "100%" });