var FR0004152882_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,3.9297143652229],[2009,3.8983449682328],[2010,3.6028188204286],[2011,3.3395955612084],[2012,2.2185502221259],[2013,2.2822131714284],[2014,2.0060531542609],[2015,2.685242905818],[2016,1.956395942542],[2017,2107.1428571429],[2018,1.8777972368165],[2019,2.4962269846061],[2020,2.4582176965146],[2021,5.0785783703081],[2022,3.8811561948456],[2023,5.2191023129789]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2008,2.5608406713179],[2009,2.0942819044631],[2010,1.8957795870048],[2011,1.7882355686764],[2012,1.1398851446527],[2013,1.1128438839009],[2014,1.0063368958668],[2015,1.4286568234802],[2016,0.9245864252161],[2017,888.92857142857],[2018,0.9080884737627],[2019,1.1681255659523],[2020,1.306015835442],[2021,2.3116837880345],[2022,2.4859648562737],[2023,3.2503749406233]], "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: 'FR0004152882_marges_an', data: FR0004152882_marges_an, height: "350", width: "100%" });