var FR0012788065_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": [[2012,2024000],[2013,2028000],[2014,1651000],[2015,2463000],[2016,2950000],[2017,2321000],[2018,3890000],[2019,8448000],[2020,8456000],[2021,10225000],[2022,11670000]], "background-color": "purple", },{ "legend-text": "Résultat Opérationnel", "values": [[2012,-328000],[2013,-487000],[2014,-2566000],[2015,-3201000],[2016,-4665000],[2017,-7846000],[2018,-5269000],[2019,875000],[2020,-1605000],[2021,137000],[2022,-732000]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Résultat net", "values": [[2012,0],[2013,395000],[2014,3000],[2015,-851000],[2016,-4448000],[2017,-7509000],[2018,-5305000],[2019,960000],[2020,-1243000],[2021,294000],[2022,-651000]], "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: 'FR0012788065_resus_an', data: FR0012788065_resus_an, height: "350", width: "100%" });