Skip to content

Commit

Permalink
increased number of points to show to 30000 - updated API version.
Browse files Browse the repository at this point in the history
  • Loading branch information
sjkp committed Dec 9, 2018
1 parent 1b726fc commit 918703e
Show file tree
Hide file tree
Showing 8 changed files with 2,342 additions and 7 deletions.
1,205 changes: 1,205 additions & 0 deletions .api/v1.5.0/PowerBI-visuals.d.ts

Large diffs are not rendered by default.

987 changes: 987 additions & 0 deletions .api/v1.5.0/schema.capabilities.json

Large diffs are not rendered by default.

38 changes: 38 additions & 0 deletions .api/v1.5.0/schema.dependencies.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{
"PBI_API_VERSION": "v1.5.0",
"type": "object",
"properties": {
"cranPackages": {
"type": "array",
"description": "An array of the Cran packages required for the custom R visual script to operate",
"items": {
"$ref": "#/definitions/cranPackage"
}
}
},
"definitions": {
"cranPackage": {
"type": "object",
"description": "cranPackage - Defines the name and displayName of a required Cran package",
"properties": {
"name": {
"type": "string",
"description": "The name for this Cran package"
},
"displayName": {
"type": "string",
"description": "The name for this Cran package that is shown to the user"
},
"url": {
"type": "string",
"description": "A url for package documentation in Cran website"
}
},
"required": [
"name",
"url"
],
"additionalProperties": false
}
}
}
95 changes: 95 additions & 0 deletions .api/v1.5.0/schema.pbiviz.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
{
"PBI_API_VERSION": "v1.5.0",
"type": "object",
"properties": {
"apiVersion": {
"type": "string",
"description": "Version of the IVisual API"
},
"author": {
"type": "object",
"description": "Information about the author of the visual",
"properties": {
"name": {
"type": "string",
"description": "Name of the visual author. This is displayed to users."
},
"email": {
"type": "string",
"description": "E-mail of the visual author. This is displayed to users for support."
}
}
},
"assets": {
"type": "object",
"description": "Assets used by the visual",
"properties": {
"icon": {
"type": "string",
"description": "A 20x20 png icon used to represent the visual"
}
}
},
"externalJS": {
"type": "array",
"description": "An array of relative paths to 3rd party javascript libraries to load",
"items": {
"type": "string"
}
},
"style" : {
"type": "string",
"description": "Relative path to the stylesheet (less) for the visual"
},
"capabilities": {
"type": "string",
"description": "Relative path to the visual capabilities json file"
},
"visual": {
"type": "object",
"description": "Details about this visual",
"properties": {
"description": {
"type": "string",
"description": "What does this visual do?"
},
"name": {
"type": "string",
"description": "Internal visual name"
},
"displayName": {
"type": "string",
"description": "A friendly name"
},
"externals": {
"type": "array",
"description": "External files (such as JavaScript) that you would like to include"
},
"guid": {
"type": "string",
"description": "Unique identifier for the visual"
},
"visualClassName": {
"type": "string",
"description": "Class of your IVisual"
},
"icon": {
"type": "string",
"description": "Icon path"
},
"version": {
"type": "string",
"description": "Visual version"
},
"gitHubUrl": {
"type": "string",
"description": "Url to the github repository for this visual"
},
"supportUrl": {
"type": "string",
"description": "Url to the support page for this visual"
}
}
}
}
}
4 changes: 2 additions & 2 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@
"fileMatch": [
"/pbiviz.json"
],
"url": "./.api/v1.2.0/schema.pbiviz.json"
"url": "./.api/v1.5.0/schema.pbiviz.json"
},
{
"fileMatch": [
"/capabilities.json"
],
"url": "./.api/v1.2.0/schema.capabilities.json"
"url": "./.api/v1.5.0/schema.capabilities.json"
}
]
}
14 changes: 12 additions & 2 deletions capabilities.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@
"categories": {
"for": {
"in": "Category"
},
"dataReductionAlgorithm": {
"top": {
"count": 30000
}
}
},
"values": {
Expand All @@ -48,8 +53,13 @@
"to": "I"
}
}
]
}
],
"dataReductionAlgorithm": {
"top": {
"count": 30000
}
}
}
}
}
}
Expand Down
4 changes: 2 additions & 2 deletions pbiviz.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
"displayName": "Heatmap",
"guid": "PBI_CV_FCF70EF9_270E_4A52_913E_345CC4A8BFBA",
"visualClassName": "Visual",
"version": "4.0.1",
"version": "5.0.0",
"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.",
"supportUrl": "http://powerbi.sjkp.dk/support",
"gitHubUrl": "https://github.com/sjkp/heatmap"
},
"apiVersion": "1.2.0",
"apiVersion": "1.5.0",
"author": {
"name": "SJKP",
"email": "[email protected]"
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"out": "./.tmp/build/visual.js"
},
"files": [
".api/v1.2.0/PowerBI-visuals.d.ts",
".api/v1.5.0/PowerBI-visuals.d.ts",
"src/visual.ts"
]
}

0 comments on commit 918703e

Please sign in to comment.