var FR0010120402_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,null],[2011,null],[2012,null],[2013,-32478.571428571],[2014,-618.5],[2015,-472.95885042456],[2016,-411.32874536792],[2017,-56.349206349206],[2018,-361.68999481597],[2019,-169.16996047431],[2020,-576.34408602151],[2021,-306.14449696151],[2022,-510.68825910931],[2023,-173.05159165752]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2010,null],[2011,null],[2012,null],[2013,29364.285714286],[2014,-577.875],[2015,-418.87655127368],[2016,-360.29645314981],[2017,-49.396825396825],[2018,-318.50699844479],[2019,-136.25583902264],[2020,-524.86559139785],[2021,-253.88251181634],[2022,-401.94331983806],[2023,-201.70142700329]], "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: 'FR0010120402_marges_an', data: FR0010120402_marges_an, height: "350", width: "100%" });