var NL0000009538_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": [[1998,2.7070122247103],[1999,5.7090180870339],[2000,11.721514975437],[2001,0.2875784656297],[2002,2.9006913890635],[2012,4.155236404712],[2013,8.5344421106777],[2014,2.1707088302291],[2015,4.0917340372876],[2016,7.6766193506282],[2017,130484.84848485],[2018,9.4862314441808],[2019,8.4385586695411],[2020,7.8935244433069],[2021,3.2233620890651],[2022,-8.5768777696752],[2023,-0.6329462270901]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[1998,19.315576048776],[1999,5.8838488190979],[2000,25.537478210343],[2001,-8.0985806611212],[2002,-9.9937146448774],[2012,0.9117314829756],[2013,5.0109306013974],[2014,1.8535888159364],[2015,2.6604520706154],[2016,5.9063468755099],[2017,100424.24242424],[2018,6.0151205783345],[2019,5.9952776922287],[2020,6.0762733555157],[2021,19.346001398927],[2022,-9.0200258035564],[2023,-2.5648081897738]], "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: 'NL0000009538_marges_an', data: NL0000009538_marges_an, height: "350", width: "100%" });