var FR001400N1P4_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": [[1708300800000,0.9],[1708387200000,null],[1708473600000,0.56],[1708560000000,0.49],[1708646400000,0.85],[1708905600000,0.85],[1708992000000,0.57],[1709078400000,0.44],[1709164800000,0.4],[1709251200000,0.35],[1709510400000,0.33],[1709596800000,0.37],[1709683200000,0.37],[1709769600000,0.37],[1709856000000,0.37],[1710115200000,0.37],[1710201600000,0.32],[1710288000000,0.3],[1710374400000,0.29],[1710460800000,0.26],[1710720000000,0.25],[1710806400000,0.25],[1710892800000,0.29],[1710979200000,0.26],[1711065600000,0.27],[1711324800000,0.28],[1711411200000,0.28],[1711497600000,0.27],[1711584000000,0.25],[1712016000000,0.26],[1712102400000,0.24],[1712275200000,0.21],[1712534400000,0.22],[1712620800000,0.2],[1712793600000,0.18],[1712880000000,0.19],[1713139200000,0.17],[1713225600000,0.16],[1713312000000,0.15],[1713398400000,0.15],[1713484800000,0.17],[1713744000000,0.18],[1713830400000,0.15],[1713916800000,0.14],[1714003200000,0.16],[1714089600000,0.15],[1714348800000,0.14],[1714435200000,0.13],[1714608000000,0.12],[1714694400000,0.1],[1714953600000,0.1]], "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" : 1708300800000, "max-value" : 1714953600000, "max-items": 15, "items-overlap": false, "item": { "font-size": "12px" } }, "scale-y": { "format":"%v€", "decimals": 1, "min-value": 0.1, "max-value": 0.9, "step": 0.053333333333333, "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" : 1708300800000, "max-value" : 1714953600000, "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: 'FR001400N1P4_cours_obj', data: FR001400N1P4_cours_obj, height: "450", width: "100%" });