var FR0000038465_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,7.8534446846918],[2009,19.77655226571],[2010,17.267793857058],[2011,15.380379921079],[2012,14.005635125616],[2013,10.413226314375],[2014,4.8149326545763],[2015,5.6919478220555],[2016,572.54901960784],[2017,360],[2018,2.5305307656177],[2019,7.2786100764023],[2020,9.0641424286618],[2021,6.9752963442574],[2022,18.421810502064]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2008,4.1022792644463],[2009,12.0344095233],[2010,10.798139397519],[2011,9.5897953565201],[2012,8.4800813962589],[2013,7.2698644341181],[2014,1.5378088874748],[2015,3.6710007797189],[2016,308.23529411765],[2017,218.33333333333],[2018,1.7085486143729],[2019,4.7282416596427],[2020,6.1088027296992],[2021,1.9150313776273],[2022,8.4405299030431]], "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: 'FR0000038465_marges_an', data: FR0000038465_marges_an, height: "350", width: "100%" });