var FR0000120404_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": [[2008,12.288409355214],[2009,8.4076433121019],[2010,1.6812373907196],[2011,8.6885245901639],[2012,23.809523809524],[2013,6.3041907514451],[2014,8.1224789145581],[2015,8.4214298512811],[2016,17.404865876482],[2017,9359.375],[2018,4.6617915904936],[2019,16.744875277846],[2020,-135.78038247995],[2021,2.4047186932849],[2022,12.855113636364],[2023,15.407436708861]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2008,7.4299005039411],[2009,-3.9915074309979],[2010,60.524546065905],[2011,0.4426229508197],[2012,-10.338112940343],[2013,2.2760115606936],[2014,4.0887422075541],[2015,4.3719763483247],[2016,16.531503431067],[2017,6890.625],[2018,68.037781840341],[2019,11.459619659175],[2020,-122.64034546576],[2021,3.8566243194192],[2022,9.5170454545455],[2023,12.519778481013]], "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: 'FR0000120404_marges_an', data: FR0000120404_marges_an, height: "350", width: "100%" });