Compare commits
No commits in common. "dev" and "master" have entirely different histories.
@ -4,9 +4,7 @@
|
|||||||
"displayNameKey": "roles-urls-displayName",
|
"displayNameKey": "roles-urls-displayName",
|
||||||
"name": "urls",
|
"name": "urls",
|
||||||
"kind": "Grouping",
|
"kind": "Grouping",
|
||||||
"requiredTypes": [{
|
"requiredTypes": [{ "text": true }],
|
||||||
"text": true
|
|
||||||
}],
|
|
||||||
"description": "Urls of pictures, example: 'http://www.example.com/xx.png'",
|
"description": "Urls of pictures, example: 'http://www.example.com/xx.png'",
|
||||||
"descriptionKey": "roles-urls-description"
|
"descriptionKey": "roles-urls-description"
|
||||||
},
|
},
|
||||||
@ -15,9 +13,7 @@
|
|||||||
"displayNameKey": "roles-tags-displayName",
|
"displayNameKey": "roles-tags-displayName",
|
||||||
"name": "tags",
|
"name": "tags",
|
||||||
"kind": "Grouping",
|
"kind": "Grouping",
|
||||||
"requiredTypes": [{
|
"requiredTypes": [{ "text": true }],
|
||||||
"text": true
|
|
||||||
}],
|
|
||||||
"description": "text to be displayed with pictures",
|
"description": "text to be displayed with pictures",
|
||||||
"descriptionKey": "roles-tags-description"
|
"descriptionKey": "roles-tags-description"
|
||||||
}
|
}
|
||||||
@ -109,13 +105,11 @@
|
|||||||
"displayName": "above",
|
"displayName": "above",
|
||||||
"displayNameKey": "objects-tag-position-enumeration-above-displayName",
|
"displayNameKey": "objects-tag-position-enumeration-above-displayName",
|
||||||
"value": "above"
|
"value": "above"
|
||||||
},
|
}, {
|
||||||
{
|
|
||||||
"displayName": "bottom",
|
"displayName": "bottom",
|
||||||
"displayNameKey": "objects-tag-position-enumeration-bottom-displayName",
|
"displayNameKey": "objects-tag-position-enumeration-bottom-displayName",
|
||||||
"value": "bottom"
|
"value": "bottom"
|
||||||
}
|
}]
|
||||||
]
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"fontColor": {
|
"fontColor": {
|
||||||
@ -146,7 +140,8 @@
|
|||||||
"max": 1,
|
"max": 1,
|
||||||
"kind": "Grouping"
|
"kind": "Grouping"
|
||||||
},
|
},
|
||||||
"tags": {
|
"tag": {
|
||||||
|
"min": 0,
|
||||||
"max": 1,
|
"max": 1,
|
||||||
"kind": "Grouping"
|
"kind": "Grouping"
|
||||||
}
|
}
|
||||||
|
@ -57,14 +57,14 @@ export class Visual implements IVisual {
|
|||||||
this.container = options.element;
|
this.container = options.element;
|
||||||
this.host=options.host;
|
this.host=options.host;
|
||||||
this.selectionManager=this.host.createSelectionManager();
|
this.selectionManager=this.host.createSelectionManager();
|
||||||
d3.select(this.container).on("contextmenu", () => {
|
// d3.select(this.container).on("contextmenu", () => {
|
||||||
const mouseEvent: MouseEvent = <MouseEvent>d3.event;
|
// const mouseEvent: MouseEvent = <MouseEvent>d3.event;
|
||||||
this.selectionManager.showContextMenu({}, {
|
// this.selectionManager.showContextMenu({}, {
|
||||||
x: mouseEvent.clientX,
|
// x: mouseEvent.clientX,
|
||||||
y: mouseEvent.clientY
|
// y: mouseEvent.clientY
|
||||||
});
|
// });
|
||||||
mouseEvent.preventDefault();
|
// mouseEvent.preventDefault();
|
||||||
});
|
// });
|
||||||
}
|
}
|
||||||
private initial() {
|
private initial() {
|
||||||
if (this.innerContainer) {
|
if (this.innerContainer) {
|
||||||
|
Loading…
Reference in New Issue
Block a user