var FR001400NLM4_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": [[1712016000000,10.25],[1712102400000,11.23],[1712275200000,10.62],[1712534400000,11.29],[1712620800000,11.41],[1712793600000,10.97],[1712880000000,10.93],[1713139200000,10.9],[1713225600000,11.17],[1713312000000,11.17],[1713398400000,12.49],[1713484800000,12.25],[1713744000000,12.33],[1713830400000,12.65],[1713916800000,12.45],[1714003200000,11.93],[1714089600000,12.8],[1714348800000,13.6],[1714435200000,12.8],[1714608000000,13.34],[1714694400000,13.33],[1714953600000,13.98],[1715040000000,13.99],[1715126400000,13.91],[1715212800000,13.98],[1715299200000,13.93],[1715558400000,13.42],[1715644800000,13.5],[1715817600000,13.98],[1715904000000,13.56],[1716163200000,null],[1716249600000,null],[1716336000000,null],[1716422400000,null],[1716508800000,null],[1716768000000,12.9],[1716854400000,12.49],[1716940800000,12.24],[1717027200000,12.74],[1717113600000,12.94],[1717372800000,13.94],[1717459200000,14.05],[1717545600000,13.59],[1717632000000,13.46],[1717718400000,13.72],[1717977600000,12.51],[1718064000000,11.72],[1718150400000,11.94],[1718236800000,11.45],[1718323200000,10.88],[1718582400000,10.93],[1718668800000,11.28],[1718755200000,11],[1718841600000,12.04],[1718928000000,11.9],[1719187200000,12.23],[1719273600000,11.88],[1719360000000,11.76],[1719446400000,11.61],[1719532800000,11.49],[1719792000000,12.31],[1719878400000,12.55],[1719964800000,12.99]], "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" : 1712016000000, "max-value" : 1719964800000, "max-items": 15, "items-overlap": false, "item": { "font-size": "12px" } }, "scale-y": { "format":"%v€", "decimals": 1, "min-value": 10.25, "max-value": 14.05, "step": 0.25333333333333, "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" : 1712016000000, "max-value" : 1719964800000, "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: 'FR001400NLM4_cours_obj', data: FR001400NLM4_cours_obj, height: "450", width: "100%" });