var FR0000130452_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,8.0643947942526],[2009,6.6500476574529],[2010,7.4300892791264],[2011,7.5641211418635],[2012,8.1408611348731],[2013,8.8424887892377],[2014,9.1769429308861],[2015,9.5092460881935],[2016,10.666107499825],[2017,293050.84745763],[2018,431860.46511628],[2019,10.363830925629],[2020,7.2813494207335],[2021,9.5587852268584],[2022,10.351272343892],[2023,10.514551388082]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2008,2.2643496577146],[2009,1.3930640076252],[2010,1.7117981258762],[2011,1.4852919866686],[2012,1.5682919874537],[2013,1.8007286995516],[2014,1.9716088328076],[2015,2.2190611664296],[2016,3.3200531208499],[2017,92881.355932203],[2018,146279.06976744],[2019,3.8790797217764],[2020,2.2510354763191],[2021,3.9224878887326],[2022,4.2938611204294],[2023,4.5285886718226]], "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: 'FR0000130452_marges_an', data: FR0000130452_marges_an, height: "350", width: "100%" });