var FR0010404368_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,3.7959794696322],[2009,1.1555918895673],[2010,2.1109142082769],[2011,2.8518935462019],[2012,1.7903661766545],[2013,3.5933224906305],[2014,3.6098089509995],[2015,4.8667323218226],[2016,3581.4814814815],[2017,3551.724137931],[2018,4.6958433444415],[2019,4.2806500661179],[2020,1.1035653650255],[2021,2.6007869047558],[2022,3.7867463876432],[2023,2.7476959933508]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2008,2.1004865269461],[2009,0.5662996363760],[2010,0.8090389983437],[2011,0.7110240403125],[2012,0.2121029188625],[2013,2.1219423306009],[2014,2.1747302317354],[2015,3.2515101563611],[2016,2382.5925925926],[2017,2431.3793103448],[2018,3.1252036617846],[2019,2.0683921933486],[2020,-0.2843803056027],[2021,1.5066096921633],[2022,2.4338285388894],[2023,1.7992030703792]], "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: 'FR0010404368_marges_an', data: FR0010404368_marges_an, height: "350", width: "100%" });