var FR0000033409_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,-217.15855062723],[2009,-131.92353304441],[2010,125.67225281165],[2011,152.46274711575],[2012,238.83570125564],[2013,177.44834745337],[2014,235.99149879874],[2015,384.47219687904],[2016,306.71050838561],[2017,1271.3178294574],[2018,233.12972523242],[2019,352.09702581652],[2020,180.42253212297],[2021,223.05392993346],[2022,102.65894766694],[2023,-323.72024571282]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2008,-216.48917708374],[2009,-137.84983140326],[2010,94.127972463793],[2011,119.32202719015],[2012,188.53876779271],[2013,98.623045239929],[2014,130.51258019379],[2015,30.969110276432],[2016,254.40932284228],[2017,5312.2790697674],[2018,181.71557912035],[2019,296.79331689397],[2020,157.25946147437],[2021,167.23032170139],[2022,70.131089347096],[2023,-272.48826891903]], "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: 'FR0000033409_marges_an', data: FR0000033409_marges_an, height: "350", width: "100%" });