var FR0000121725_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,11.583460196054],[2009,11.476336081801],[2010,14.121140979268],[2011,11.390682113984],[2012,13.878546668378],[2013,10.853531247564],[2014,9.5845511646756],[2015,8.6495897198265],[2016,7.8154505768162],[2017,4.3396587950515],[2018,13.821034028824],[2019,10.803059065891],[2020,4.4824904991086],[2021,7.3696653320032],[2022,8.4662373551923],[2023,6.7913992530549]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2008,9.9504661771446],[2009,7.5038751260896],[2010,6.3873965424798],[2011,9.7608053871581],[2012,12.935897741672],[2013,10.00270848946],[2014,7.6849652250677],[2015,3.38753845067],[2016,10.374671164009],[2017,14.670951972815],[2018,11.18805427156],[2019,9.6695310134187],[2020,5.5131573915751],[2021,8.2729546168878],[2022,10.134524198649],[2023,13.967954683717]], "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: 'FR0000121725_marges_an', data: FR0000121725_marges_an, height: "350", width: "100%" });