InfosAMF = {}; var ArrayInfosAMF_FR001400Q9V2_amf = [["17/06/2024\nSeuil dépassé à la hausse","17/06/2024\nSeuil dépassé à la hausse"]]; var FR001400Q9V2_amf = { "type": "mixed", "plot" : { "tooltip" : { "background-color": "white", "font-color": "black", "font-size": 12, "border-width": 1, "border-color": "black", "line-style": "solid", "border-radius": "2px", "padding": "5%", "jsRule": "InfosAMF.tooltip()", } }, "title":{ "text": "Déclarations à l'AMF", "font-size": "15px" }, noData: { text: 'Aucune Donnée', backgroundColor: '#f2f2f2' }, "series": [ { "type": "line", "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", "marker" : { "visible": false, } }, { "type": "scatter", "values": [[1718582400000,21],[1718582400000,21]], "legend-text": "Seuil à la hausse","marker": { "type": "star5", "background-color":"rgb(0, 128, 0)", "size": 7, "border-width":0,}, "legend-marker": { "type":"star5", "background-color":"rgb(0, 128, 0)", "size": 7, },}, ], "scale-x": { "zooming": true, "transform": { "type": "date", "all": "%M%y", }, "items-overlap": true, "min-value" : 1718150400000, "max-value" : 1720137600000, "max-items": 15, "items-overlap": false, "item": { "font-size": "12px" } }, "scale-y": { "zooming": true, "format":"%v€", "decimals": 1, "min-value": 19.99, "max-value": 22.2, "step": 0.14733333333333, "guide": {"line-color": "rgb(127,127,127)",}, "item": { "font-size": "12px" } }, "preview":{ "height":70, "width":"100%", "x":"8%", "y":400, "handle-left": { "height": "40px",}, "handle-right": { "height": "40px",}, "handle-top": { "width": "40px",}, "handle-bottom": { "width": "40px",}, }, "legend": { "layout": "1x2", "x": 0, "y": 30, "item": { "font-size": "11px" } }, "plotarea" : { "margin-right":"20", "margin-left":"55", "margin-bottom":"130", "margin-top":"70", "background-color-1": "white", "background-color-2": "rgb(210,210,210)", }, "utc": true, "timezone": 0, }; InfosAMF.tooltip = function(p){ return { "text": ArrayInfosAMF_FR001400Q9V2_amf[p.plotindex - 1][p.nodeindex] } } zingchart.render({ id: 'FR001400Q9V2_amf', data: FR001400Q9V2_amf, height: "500", width: "100%" });