var FR0000064271_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,4.1042217886401],[2009,3.7903390432795],[2010,3.9182730747041],[2011,3.7024220550733],[2012,3.8619349078776],[2013,3.6981491215011],[2014,3.6865231285056],[2015,3.894516723692],[2016,4.3640307087049],[2017,33846.153846154],[2018,4.2149242726798],[2019,4.7328076563278],[2020,3.7170592424898],[2021,4.3898915402662],[2022,5.6125722618739],[2023,5.6955043785597]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2008,1.9452581449998],[2009,1.9831499043582],[2010,2.2961577924379],[2011,2.2678563199752],[2012,2.2187462658891],[2013,2.2844692700089],[2014,2.3531883487253],[2015,2.6602930405523],[2016,3.0820584065859],[2017,24009.743589744],[2018,2.9010783078861],[2019,2.9157608071786],[2020,2.3137384580164],[2021,3.1371278603178],[2022,3.5185014677752],[2023,4.3132752526958]], "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: 'FR0000064271_marges_an', data: FR0000064271_marges_an, height: "350", width: "100%" });