var FR0000039091_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": [[2005,null],[2006,null],[2007,null],[2008,7.6580543653582],[2009,8.0978586857122],[2010,11.029675638371],[2011,10.107104012516],[2012,11.033339147272],[2013,10.037253940419],[2014,10.437502403507],[2015,11.855537484724],[2016,12.737887795545],[2017,3672.131147541],[2018,13.116784149362],[2019,13.192126580908],[2020,13.220995768301],[2021,15.467467434436],[2022,14.528253847237],[2023,15.50166475069]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2005,null],[2006,null],[2007,null],[2008,4.3605753848488],[2009,4.7064337759306],[2010,6.6407177363699],[2011,6.2397865420781],[2012,6.9400734578527],[2013,6.44280069527],[2014,7.4499750035251],[2015,8.2651082871608],[2016,8.8919639196392],[2017,2652.2404371585],[2018,9.8590207658602],[2019,9.5711476356288],[2020,9.395375967365],[2021,11.83183876849],[2022,10.8130866512],[2023,10.344612406379]], "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: 'FR0000039091_marges_an', data: FR0000039091_marges_an, height: "350", width: "100%" });