var FR001400UT31_cours_obj = { graphset : [ { x: 0, y: 0, height: "270", width: "100%", "type": "line", "title":{ "text": "Objectif de cours (consensus)", "font-size": "15px" }, noData: { text: 'Aucune Donnée', backgroundColor: '#f2f2f2' }, "plot" : { "marker": { "visible" : false } }, "crosshair-x": { "plot-label" : { "decimals": 2, }, "scale-label": { "transform": { "type": "date", "all": "%d/%m/%y", }, }, }, "series": [ { "values": [[1739750400000,0.48],[1739836800000,0.4],[1739923200000,0.33],[1740009600000,0.3],[1740096000000,0.24],[1740355200000,0.22],[1740441600000,0.2],[1740528000000,0.2],[1740614400000,0.21],[1740700800000,0.59],[1740960000000,0.55],[1741046400000,0.35],[1741219200000,0.24],[1741305600000,0.25],[1741564800000,0.22],[1741651200000,0.22]], "line-color": "#3068c1", "text": "Cours", "legend-text": "Cours", }, { "values": [], "line-color": "#25b51b", "text": "Objectif Analystes", "legend-text": "Objectif Analystes", } ], "scale-x": { "transform": { "type": "date", "all": "%M%y", }, "items-overlap": true, "min-value" : 1739750400000, "max-value" : 1741651200000, "max-items": 15, "items-overlap": false, "item": { "font-size": "12px" } }, "scale-y": { "format":"%v€", "decimals": 1, "min-value": 0.2, "max-value": 0.59, "step": 0.026, "guide": {"line-color": "rgb(127,127,127)",}, "item": { "font-size": "12px" } }, "legend": { "layout":"2x1", "x": "55", "y": "25", "item": { "font-size": "11px" } }, "plotarea" : { "margin-right":"20", "margin-left":"55", "margin-bottom":"30", "margin-top":"70", "background-color-1": "white", "background-color-2": "rgb(210,210,210)", }, "utc": true, "timezone": 0, }, { //----------- %Objectif ---------------------------------------- x: 0, y: "270", height: "180", width: "100%", "type": "line", "crosshair-x": { "plot-label" : { "text":"%t: %v%", }, "scale-label": { "transform": { "type": "date", "all": "%d/%m/%y", }, }, }, noData: { text: 'Aucune Donnée', backgroundColor: '#f2f2f2' }, "plot" : { "marker": { "visible" : false } }, "series": [ { "values": [], "line-color": "#25b51b", "text": "%Objectif", "legend-text": "%Objectif", }, ], "scale-x": { "transform": { "type": "date", "all": "%M%y", }, "items-overlap": true, "min-value" : 1739750400000, "max-value" : 1741651200000, "max-items": 15, "items-overlap": false, "item": { "font-size": "12px" } }, "scale-y": { "format":"%v%", "decimals": 1, "min-value": -1, "max-value": 1, "step": 0.13333333333333, "ref-value":0, "ref-line":{ "visible":true, "line-color":"red", "line-width":2, "line-style":"solid" }, "guide": {"line-color": "rgb(127,127,127)",}, "item": { "font-size": "12px" } }, "legend": { "layout":"1x1", "x": "50", "y": "0", "item": { "font-size": "11px" } }, "plotarea" : { "margin-right":"20", "margin-left":"50", "margin-bottom":"50", "margin-top":"15", "background-color-1": "white", "background-color-2": "rgb(210,210,210)", }, "utc": true, "timezone": 0, }] }; zingchart.render({ id: 'FR001400UT31_cours_obj', data: FR001400UT31_cours_obj, height: "450", width: "100%" });