var FR0004050250_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": [[2005,7.9865956665443],[2006,6.9055991136211],[2007,8.8718208453811],[2008,9.7243936448914],[2009,8.8063219187578],[2010,10.246360114873],[2011,9.2809668526813],[2012,8.8981680522],[2013,9.5846021593111],[2014,10.006475772165],[2015,9.2821658219988],[2016,9.5151759333871],[2017,3118.0555555556],[2018,9.3785645054328],[2019,10.525583218977],[2020,9.8882912701696],[2021,10.618249669328],[2022,10.955109794568],[2023,10.240151106314]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2005,5.4416085200147],[2006,4.7250455884955],[2007,5.904716721055],[2008,6.3619749852109],[2009,5.2225149036462],[2010,5.506578507981],[2011,5.2235882122473],[2012,4.7079600002536],[2013,5.4113910218117],[2014,5.7732916631472],[2015,5.3479497606218],[2016,5.6403885755215],[2017,1896.5277777778],[2018,5.2969443452533],[2019,6.0378357184866],[2020,5.8948805408693],[2021,6.5023910160568],[2022,6.6492931096413],[2023,6.6648677819752]], "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: 'FR0004050250_marges_an', data: FR0004050250_marges_an, height: "350", width: "100%" });