var CH0012214059_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": [[2011,9.3183523578132],[2012,8.4292602588338],[2013,11.952938243544],[2014,13.061222638882],[2015,0],[2016,13.354889001217],[2017,-2.2580257457471],[2018,12.058545171485],[2019,14.343988359835],[2020,14.566591102375],[2021,16.400835360758],[2022,11.034978744469],[2023,16.946203875069]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2011,1.3256805375808],[2012,2.8871119143145],[2013,6.4506275502039],[2014,6.734689334398],[2015,-6.2290605293127],[2016,6.6570006218852],[2017,-6.410500790263],[2018,5.4685788301972],[2019,8.4050585314648],[2020,7.3329870828717],[2021,8.563760910831],[2022,11.333036470131],[2023,11.329558014455]], "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: 'CH0012214059_marges_an', data: CH0012214059_marges_an, height: "350", width: "100%" });