var FR0010040865_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,-79.171480597765],[2009,-62.404588409075],[2010,209.06415681697],[2011,102.87951327182],[2012,98.813059431002],[2013,80.027677313093],[2014,87.223046328388],[2015,311.24618108387],[2016,192.00849263685],[2017,2228.855721393],[2018,169.3168972792],[2019,246.53838901122],[2020,38.885156905419],[2021,154.89098889345],[2022,33.069215491718],[2023,-242.0445837426]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2008,-137.40926786387],[2009,-119.55002812131],[2010,161.85044668191],[2011,65.019099780542],[2012,38.646860331404],[2013,53.323994362658],[2014,49.274154143075],[2015,323.02951956931],[2016,162.47700576628],[2017,9430.6567164179],[2018,151.87557804254],[2019,224.99127674328],[2020,23.531405400805],[2021,138.47198580866],[2022,27.096125792314],[2023,-268.00992749331]], "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: 'FR0010040865_marges_an', data: FR0010040865_marges_an, height: "350", width: "100%" });