var FR0000038465_bnpa_prev = { "type": "mixed", "title":{ "text": "Prévision de BNPA", "font-size": "15px" }, noData: { text: 'Aucune Donnée', backgroundColor: '#f2f2f2' }, "plot" : { "tooltip": { "text": "%v€", }, }, "crosshair-x": { "plot-label" : { "multiple": true, "decimals": 1, }, "scale-label": { "visible": false, }, }, "series": [ { "type": "line", "values": [], "line-color": "green", "text": "BNPA prospectif", "legend-text": "BNPA prospectif", "marker": { "visible" : false } }, { "type": "scatter", "values": [[31359600000,null]], "text": "BNPA réalisé", "legend-text": "BNPA réalisé", "marker" : { "type": "diamond", "size": 8, "background-color": "orange", }, }, ], "scale-x": { "transform": { "type": "date", "all": "%M%y", }, "items-overlap": true, "min-value" : 0, "max-value" : 0, "max-items": 15, "items-overlap": false, "item": { "font-size": "12px" } }, "scale-y": { "format":"%v€", "decimals": 2, "min-value": -1, "max-value": 1, "step": 0.13333333333333, "guide": {"line-color": "rgb(127,127,127)",}, "item": { "font-size": "12px" } }, "legend": { "layout":"1x2", "x": "0", "y": "30", "item": { "font-size": "11px" } }, "plotarea" : { "margin-right":"20", "margin-left":"50", "margin-bottom":"50", "margin-top":"70", "background-color-1": "white", "background-color-2": "rgb(210,210,210)", }, "utc": true, "timezone": 0, }; zingchart.render({ id: 'FR0000038465_bnpa_prev', data: FR0000038465_bnpa_prev, height: "320", width: "100%" });