var FR0010397232_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,-151.1811023622],[2009,-73.904576436222],[2010,-40.299684542587],[2011,-77.488687782805],[2012,-54.166666666667],[2013,-111.17850953206],[2014,-41.854304635762],[2015,-148.27935222672],[2016,-224.43181818182],[2017,-16.627450980392],[2018,-10.094016471103],[2019,-13.568189745378],[2020,60.403529530598],[2021,-8.1384422635206],[2022,-111.1826328411],[2023,-254.89916785366]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2008,-162.99212598425],[2009,-57.546251217137],[2010,-46.608832807571],[2011,-77.488687782805],[2012,-52.651515151515],[2013,-86.048526863085],[2014,-81.721854304636],[2015,-156.41025641026],[2016,-324.48863636364],[2017,-42.666666666667],[2018,-34.531010859267],[2019,-50.130798744332],[2020,47.770955686065],[2021,-10.156608895385],[2022,-122.28953679162],[2023,-244.32866031936]], "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: 'FR0010397232_marges_an', data: FR0010397232_marges_an, height: "350", width: "100%" });