var FR0000185423_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": [[2009,2.0032748705353],[2010,3.5194832296615],[2011,2.1925204905628],[2012,2.1925204905628],[2013,1.1504718004656],[2014,2.2415416501605],[2015,2.8660218105975],[2016,2.8660218105975],[2017,2.7112126256565],[2018,5703.7037037037],[2019,-4.2290101569021],[2020,-8.4311628205203],[2021,2.8634205581059],[2022,-0.2557793760318],[2023,-4.6556964710983]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2009,1.818864685052],[2010,3.0379785610764],[2011,1.7957239191758],[2012,1.7957239191758],[2013,0.985385621375],[2014,1.8174041348743],[2015,2.350592388319],[2016,2.350592388319],[2017,2.0892209618933],[2018,3841.1111111111],[2019,-4.8405353866581],[2020,-8.6509148562868],[2021,2.1256130947084],[2022,-0.8055868112977],[2023,-5.012076644799]], "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: 'FR0000185423_marges_an', data: FR0000185423_marges_an, height: "350", width: "100%" });