var FR001400Q9V2_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": [[1717977600000,22.8],[1718064000000,22],[1718150400000,22.2],[1718236800000,21.97],[1718323200000,21],[1718582400000,21],[1718668800000,21.33],[1718755200000,21],[1718841600000,21.61],[1718928000000,20.95],[1719187200000,20.38],[1719273600000,19.99],[1719360000000,21.5],[1719446400000,20.57],[1719532800000,21.21],[1719792000000,21],[1719878400000,21.05],[1719964800000,21.3],[1720051200000,21.25],[1720137600000,20.7]], "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" : 1717977600000, "max-value" : 1720137600000, "max-items": 15, "items-overlap": false, "item": { "font-size": "12px" } }, "scale-y": { "format":"%v€", "decimals": 1, "min-value": 19.99, "max-value": 22.8, "step": 0.18733333333333, "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" : 1717977600000, "max-value" : 1720137600000, "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: 'FR001400Q9V2_cours_obj', data: FR001400Q9V2_cours_obj, height: "450", width: "100%" });