var FR0010157115_resus_an = { "type": "bar", "plot":{ "tooltip" : { "short": true, "decimals": 1, }, }, "title":{ "text": "Compte de résultats", "font-size": "15px" }, noData: { text: 'Aucune Donnée', backgroundColor: '#f2f2f2' }, "series": [{ "legend-text": "Chiffre d'affaires", "values": [[2013,1000000],[2014,2350000],[2015,1750000],[2016,1530000],[2017,3390000],[2018,2480000],[2019,2250000],[2020,2662000],[2021,4088000],[2022,3272000],[2023,2507000]], "background-color": "purple", },{ "legend-text": "Résultat Opérationnel", "values": [[2013,0],[2014,400000],[2015,40000],[2016,-30000],[2017,670000],[2018,360000],[2019,280000],[2020,711000],[2021,1425000],[2022,1458000],[2023,228000]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Résultat net", "values": [[2013,0],[2014,410000],[2015,40000],[2016,20000],[2017,470000],[2018,260000],[2019,210000],[2020,533000],[2021,985000],[2022,682000],[2023,142000]], "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":"1x3", "y": 30, "x": 0, "item": { "font-size": "11px" } }, "scale-y" : { "short": true, "guide": {"line-color": "rgb(127,127,127)",}, "item": { "font-size": "12px" }, }, "scale-x" : { "item": { "font-size": "12px" }, } } zingchart.render({ id: 'FR0010157115_resus_an', data: FR0010157115_resus_an, height: "350", width: "100%" });