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