var FR0000078321_per_prev = { "type": "mixed", "title":{ "text": "Prévision de PER", "font-size": "15px" }, noData: { text: 'Aucune Donnée', backgroundColor: '#f2f2f2' }, "plot" : { "tooltip": { "decimals": 2, "text": "x%v", }, }, "crosshair-x": { "plot-label" : { "multiple": true, "decimals": 1, }, "scale-label": { "visible": false, }, }, "series": [ { "type": "line", "values": [], "line-color": "purple", "text": "PER prospectif", "legend-text": "PER prospectif", "marker": { "visible" : false, } }, { "type": "scatter", "values": [[31359600000,null]], "text": "PER réalisé", "legend-text": "PER 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":"x%v", "decimals": 1, "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: 'FR0000078321_per_prev', data: FR0000078321_per_prev, height: "320", width: "100%" });