var FR0004065605_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": [[2015,5.1141885325559],[2016,-42.060236727997],[2017,-42.060236727997],[2018,-114.58300978413],[2019,-1075.2598752599],[2020,-677.55960729313],[2021,-190.2760811141],[2022,-582.24938875306],[2023,-243.15906562848]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2015,7.555879494655],[2016,-41.732098910114],[2017,-41.732098910114],[2018,-148.64109333747],[2019,-1364.3104643105],[2020,-838.53436185133],[2021,-231.93256779868],[2022,-606.50366748166],[2023,-323.69299221357]], "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: 'FR0004065605_marges_an', data: FR0004065605_marges_an, height: "350", width: "100%" });