var FR0000063034_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,-69.230769230769],[2011,-171.42857142857],[2012,-92.307692307692],[2013,-363.63636363636],[2014,2600],[2015,18.944099378882],[2016,29.272727272727],[2017,28.506097560976],[2018,626.47058823529],[2019,null],[2020,null],[2021,null],[2022,null]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2010,261.53846153846],[2011,300],[2012,853.84615384615],[2013,4363.6363636364],[2014,1882.8571428571],[2015,-87.267080745342],[2016,-90.727272727273],[2017,-3.8109756097561],[2018,476.47058823529],[2019,null],[2020,null],[2021,null],[2022,null]], "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: 'FR0000063034_marges_an', data: FR0000063034_marges_an, height: "350", width: "100%" });