我有一張用 VueJS 處理的地圖,但我遇到了事件 connectorClick 的問題。在下面的示例中,當單擊連接線時,警報不起作用。Vue.use(VueFusionCharts, FusionCharts);let grphMap = new Vue ({ el: '#app-vue', data: { type: "maps/romania", width: "800", height: "600", dataFormat: "json", dataSource: { 'chart': { "theme": "fusion", "nullEntityColor": "#E5E5E9", "entityFillHoverColor": "#99ccff", "showLabels": '1', "showEntityHoverEffect": "1", "showtooltip": "1", "connectorColor": "#0CB2B0", "connectorHoverColor": "#000000", "connectorthickness": "3", "markerfontsize": "18", "markerfontcolor": "#0a0a0a", "numbersuffix": "%", "entityFillColor": "#ff0000", "markerBgColor": "#FF0000", "markerRadius": "12", }, "colorrange": { "gradient": "0", }, "data": [ { id: '10', color: "#74CCEB", } ], "markers": { "shapes": [ { "id": "myCustomShape", "type": "circle", "fillcolor": "#f8bd19", "showborder": "0" } ], "items": [ { shapeid: "myCustomShape", id: "10", x: "295.5", y: "283.5", }, { shapeid: "myCustomShape", id: "11", x: "323.9", y: "226.6", } } ] } },https://jsfiddle.net/Hexman/5e61pu3r/25我找到了一個功能示例,但它不在 VueJs http://jsfiddle.net/fusioncharts/t226vxnp/不要把我錯在哪里的馬鞍給我?
FusionMaps XT - VueJs - 不工作事件連接器點擊
慕森王
2021-09-17 16:33:42