var FR0010131409_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,-60.754532092112],[2013,-10.777318813368],[2014,-8.1067472306143],[2015,-20.28328611898],[2016,-23.967952199891],[2017,-14.026402640264],[2018,-25.957278481013],[2019,-41.854912764004],[2020,-36.428856117975],[2021,-12.577150502827],[2022,-28.329163191549],[2023,-31.464546056991]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2010,null],[2011,null],[2012,-60.607545320921],[2013,-12.579797221179],[2014,-8.0815709969789],[2015,-21.019830028329],[2016,-22.854426941879],[2017,-17.326732673267],[2018,-26.012658227848],[2019,-41.903887358433],[2020,-36.463730569948],[2021,-12.728214424446],[2022,-23.837324754756],[2023,-28.277004638834]], "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: 'FR0010131409_marges_an', data: FR0010131409_marges_an, height: "350", width: "100%" });