Skip to content

Commit e6663ed

Browse files
committed
updated to v1.2.0
1 parent 9167f7e commit e6663ed

9 files changed

+2334
-61
lines changed

.api/v1.2.0/PowerBI-visuals.d.ts

+1,188
Large diffs are not rendered by default.

.api/v1.2.0/schema.capabilities.json

+951
Large diffs are not rendered by default.

.api/v1.2.0/schema.dependencies.json

+38
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
{
2+
"PBI_API_VERSION": "v1.2.0",
3+
"type": "object",
4+
"properties": {
5+
"cranPackages": {
6+
"type": "array",
7+
"description": "An array of the Cran packages required for the custom R visual script to operate",
8+
"items": {
9+
"$ref": "#/definitions/cranPackage"
10+
}
11+
}
12+
},
13+
"definitions": {
14+
"cranPackage": {
15+
"type": "object",
16+
"description": "cranPackage - Defines the name and displayName of a required Cran package",
17+
"properties": {
18+
"name": {
19+
"type": "string",
20+
"description": "The name for this Cran package"
21+
},
22+
"displayName": {
23+
"type": "string",
24+
"description": "The name for this Cran package that is shown to the user"
25+
},
26+
"url": {
27+
"type": "string",
28+
"description": "A url for package documentation in Cran website"
29+
}
30+
},
31+
"required": [
32+
"name",
33+
"url"
34+
],
35+
"additionalProperties": false
36+
}
37+
}
38+
}

.api/v1.2.0/schema.pbiviz.json

+99
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,99 @@
1+
{
2+
"PBI_API_VERSION": "v1.2.0",
3+
"type": "object",
4+
"properties": {
5+
"apiVersion": {
6+
"type": "string",
7+
"description": "Version of the IVisual API"
8+
},
9+
"author": {
10+
"type": "object",
11+
"description": "Information about the author of the visual",
12+
"properties": {
13+
"name": {
14+
"type": "string",
15+
"description": "Name of the visual author. This is displayed to users."
16+
},
17+
"email": {
18+
"type": "string",
19+
"description": "E-mail of the visual author. This is displayed to users for support."
20+
}
21+
}
22+
},
23+
"assets": {
24+
"type": "object",
25+
"description": "Assets used by the visual",
26+
"properties": {
27+
"icon": {
28+
"type": "string",
29+
"description": "A 20x20 png icon used to represent the visual"
30+
}
31+
}
32+
},
33+
"externalJS": {
34+
"type": "array",
35+
"description": "An array of relative paths to 3rd party javascript libraries to load",
36+
"items": {
37+
"type": "string"
38+
}
39+
},
40+
"style" : {
41+
"type": "string",
42+
"description": "Relative path to the stylesheet (less) for the visual"
43+
},
44+
"capabilities": {
45+
"type": "string",
46+
"description": "Relative path to the visual capabilities json file"
47+
},
48+
"dependencies": {
49+
"type": "string",
50+
"description": "Relative path to the visual dependencies json file"
51+
},
52+
"visual": {
53+
"type": "object",
54+
"description": "Details about this visual",
55+
"properties": {
56+
"description": {
57+
"type": "string",
58+
"description": "What does this visual do?"
59+
},
60+
"name": {
61+
"type": "string",
62+
"description": "Internal visual name"
63+
},
64+
"displayName": {
65+
"type": "string",
66+
"description": "A friendly name"
67+
},
68+
"externals": {
69+
"type": "array",
70+
"description": "External files (such as JavaScript) that you would like to include"
71+
},
72+
"guid": {
73+
"type": "string",
74+
"description": "Unique identifier for the visual"
75+
},
76+
"visualClassName": {
77+
"type": "string",
78+
"description": "Class of your IVisual"
79+
},
80+
"icon": {
81+
"type": "string",
82+
"description": "Icon path"
83+
},
84+
"version": {
85+
"type": "string",
86+
"description": "Visual version"
87+
},
88+
"gitHubUrl": {
89+
"type": "string",
90+
"description": "Url to the github repository for this visual"
91+
},
92+
"supportUrl": {
93+
"type": "string",
94+
"description": "Url to the support page for this visual"
95+
}
96+
}
97+
}
98+
}
99+
}

.vscode/settings.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@
1919
"fileMatch": [
2020
"/pbiviz.json"
2121
],
22-
"url": "./.api/v1.1.0/schema.pbiviz.json"
22+
"url": "./.api/v1.2.0/schema.pbiviz.json"
2323
},
2424
{
2525
"fileMatch": [
2626
"/capabilities.json"
2727
],
28-
"url": "./.api/v1.1.0/schema.capabilities.json"
28+
"url": "./.api/v1.2.0/schema.capabilities.json"
2929
}
3030
]
3131
}

capabilities.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -2,22 +2,22 @@
22
"dataRoles": [
33
{
44
"name": "Category",
5-
"kind": 0,
5+
"kind": "Grouping",
66
"displayName": "Category"
77
},
88
{
99
"name": "X",
10-
"kind": 1,
10+
"kind": "Measure",
1111
"displayName": "X values"
1212
},
1313
{
1414
"name": "Y",
15-
"kind": 1,
15+
"kind": "Measure",
1616
"displayName": "Y values"
1717
},
1818
{
1919
"name": "I",
20-
"kind": 1,
20+
"kind": "Measure",
2121
"displayName": "Intensity"
2222
}
2323
],

pbiviz.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@
44
"displayName": "Heatmap",
55
"guid": "PBI_CV_FCF70EF9_270E_4A52_913E_345CC4A8BFBA",
66
"visualClassName": "Visual",
7-
"version": "2.0.0",
7+
"version": "3.0.0",
88
"description": "The Heatmap Visual enables users to draw a heatmap overlay from a X, Y coordinate set on to an existing image. The user specify the image, and provide a data set of X, Y coordinates and optionally an intensity for each data point. The radius and the bluriness of the heatmap bubbles can be customized as well as the max value for the intensity.",
99
"supportUrl": "http://powerbi.sjkp.dk/support",
1010
"gitHubUrl": "https://github.com/sjkp/heatmap"
1111
},
12-
"apiVersion": "1.1.0",
12+
"apiVersion": "1.2.0",
1313
"author": {
1414
"name": "SJKP",
1515
"email": "[email protected]"

0 commit comments

Comments
 (0)