InfosAMF = {}; var ArrayInfosAMF_FR001400PFU4_amf = [["24/04/2024\nSeuil dépassé à la baisse","25/04/2024\nSeuil dépassé à la baisse"],["22/04/2024\nVente Dirigeant\n120000.0 titres @ 16.0€\nTotal : 1920000€","22/04/2024\nVente Dirigeant\n4914550.0 titres @ 16.0€\nTotal : 78632800€","24/04/2024\nVente Dirigeant\n905100.0 titres @ 16.0€\nTotal : 14481600€"]]; var FR001400PFU4_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": [[1713744000000,20.36],[1713830400000,20.08],[1713916800000,20.47],[1714003200000,20.3],[1714089600000,20.3],[1714348800000,20.8],[1714435200000,20.48],[1714608000000,21.13],[1714694400000,22.08],[1714953600000,22.29],[1715040000000,22.83],[1715126400000,23.2],[1715212800000,22.83],[1715299200000,22.9],[1715558400000,22.6],[1715644800000,22.27],[1715817600000,23.4],[1715904000000,22.8]], "line-color": "#3068c1", "text": "Cours", "legend-text": "Cours", "marker" : { "visible": false, } }, { "type": "scatter", "values": [[1713916800000,20.47],[1714003200000,20.3]], "legend-text": "Seuil à la baisse","marker": { "type": "star5", "background-color":"rgb(255, 0, 0)", "size": 7, "border-width":0,}, "legend-marker": { "type":"star5", "background-color":"rgb(255, 0, 0)", "size": 7, },},{ "type": "scatter", "values": [[1713744000000,16],[1713744000000,16],[1713916800000,16]], "legend-text": "Vente Dirigeant","styles" : [{"background-color":"rgb(220, 0, 0)","size": 8.5,"border-width":0,},{"background-color":"rgb(220, 0, 0)","size": 18,"border-width":0,},{"background-color":"rgb(220, 0, 0)","size": 18,"border-width":0,},],"marker": { "type": "triangle", "styles" : [{ "background-color":"rgb(220, 0, 0)", "size": 8.5, "border-width":0,} , { "background-color":"rgb(220, 0, 0)", "size": 18, "border-width":0,} , { "background-color":"rgb(220, 0, 0)", "size": 18, "border-width":0,} , ],}, "legend-marker": { "type":"triangle", "background-color":"rgb(220, 0, 0)", "size": 7, },}, ], "scale-x": { "zooming": true, "transform": { "type": "date", "all": "%M%y", }, "items-overlap": true, "min-value" : 1713744000000, "max-value" : 1715904000000, "max-items": 15, "items-overlap": false, "item": { "font-size": "12px" } }, "scale-y": { "zooming": true, "format":"%v€", "decimals": 1, "min-value": 16, "max-value": 23.4, "step": 0.49333333333333, "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": "1x3", "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_FR001400PFU4_amf[p.plotindex - 1][p.nodeindex] } } zingchart.render({ id: 'FR001400PFU4_amf', data: FR001400PFU4_amf, height: "500", width: "100%" });