var FR0011051598_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,82000],[2013,302000],[2014,222000],[2015,141000],[2016,1222000000],[2017,543000000],[2018,122000],[2019,122000],[2020,0],[2021,0],[2022,null],[2023,null]], "background-color": "purple", },{ "legend-text": "Résultat Opérationnel", "values": [[2012,-222000],[2013,-493000],[2014,-923000],[2015,-3988000],[2016,-5750000],[2017,-5960000],[2018,-6074000],[2019,-5506000],[2020,-6156000],[2021,-5579000],[2022,-5843000],[2023,-14038000]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Résultat net", "values": [[2012,-247000],[2013,-521000],[2014,-975000],[2015,-4019000],[2016,-5768000],[2017,-6233000],[2018,-7223000],[2019,-7250000],[2020,-8157000],[2021,-7817000],[2022,-8023000],[2023,-14298000]], "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: 'FR0011051598_resus_an', data: FR0011051598_resus_an, height: "350", width: "100%" });