-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Simon Pedersen
authored and
Simon Pedersen
committed
Aug 22, 2016
0 parents
commit 9167f7e
Showing
14 changed files
with
3,476 additions
and
0 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,95 @@ | ||
{ | ||
"PBI_API_VERSION": "v1.1.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" | ||
} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
.tmp | ||
dist/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
typings | ||
node_modules | ||
.DS_Store | ||
.tmp | ||
dist |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"version": "0.1.0", | ||
"configurations": [ | ||
{ | ||
"name": "Debugger", | ||
"type": "chrome", | ||
"request": "attach", | ||
"port": 9222, | ||
"sourceMaps": true, | ||
"webRoot": "${cwd}/" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
{ | ||
"editor.tabSize": 4, | ||
"editor.insertSpaces": true, | ||
"files.eol": "\n", | ||
"files.watcherExclude": { | ||
"**/.git/objects/**": true, | ||
"**/node_modules/**": true, | ||
".tmp": true | ||
}, | ||
"files.exclude": { | ||
".tmp": true | ||
}, | ||
"search.exclude": { | ||
".tmp": true, | ||
"typings": true | ||
}, | ||
"json.schemas": [ | ||
{ | ||
"fileMatch": [ | ||
"/pbiviz.json" | ||
], | ||
"url": "./.api/v1.1.0/schema.pbiviz.json" | ||
}, | ||
{ | ||
"fileMatch": [ | ||
"/capabilities.json" | ||
], | ||
"url": "./.api/v1.1.0/schema.capabilities.json" | ||
} | ||
] | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,106 @@ | ||
{ | ||
"dataRoles": [ | ||
{ | ||
"name": "Category", | ||
"kind": 0, | ||
"displayName": "Category" | ||
}, | ||
{ | ||
"name": "X", | ||
"kind": 1, | ||
"displayName": "X values" | ||
}, | ||
{ | ||
"name": "Y", | ||
"kind": 1, | ||
"displayName": "Y values" | ||
}, | ||
{ | ||
"name": "I", | ||
"kind": 1, | ||
"displayName": "Intensity" | ||
} | ||
], | ||
"dataViewMappings": [ | ||
{ | ||
"categorical": { | ||
"categories": { | ||
"for": { | ||
"in": "Category" | ||
} | ||
}, | ||
"values": { | ||
"group": { | ||
"by": "Series", | ||
"select": [ | ||
{ | ||
"bind": { | ||
"to": "X" | ||
} | ||
}, | ||
{ | ||
"bind": { | ||
"to": "Y" | ||
} | ||
}, | ||
{ | ||
"bind": { | ||
"to": "I" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} | ||
], | ||
"objects": { | ||
"settings": { | ||
"displayName": "Heatmap Settings", | ||
"properties": { | ||
"backgroundUrl": { | ||
"displayName": "Background Url", | ||
"type": { | ||
"text": true | ||
} | ||
}, | ||
"toggle": { | ||
"displayName": "Enable", | ||
"type": { | ||
"bool": true | ||
} | ||
}, | ||
"radius": { | ||
"displayName": "Radius", | ||
"type": { | ||
"numeric": true | ||
} | ||
}, | ||
"blur": { | ||
"displayName": "Blur", | ||
"type": { | ||
"numeric": true | ||
} | ||
}, | ||
"maxValue": { | ||
"displayName": "Max Intensity", | ||
"type": { | ||
"numeric": true | ||
} | ||
}, | ||
"maxWidth": { | ||
"displayName": "Canvas Width", | ||
"type": { | ||
"numeric": true | ||
} | ||
}, | ||
"maxHeight": { | ||
"displayName": "Canvas Height", | ||
"type": { | ||
"numeric": true | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"name": "visual" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{ | ||
"visual": { | ||
"name": "heatmap", | ||
"displayName": "Heatmap", | ||
"guid": "PBI_CV_FCF70EF9_270E_4A52_913E_345CC4A8BFBA", | ||
"visualClassName": "Visual", | ||
"version": "2.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.1.0", | ||
"author": { | ||
"name": "SJKP", | ||
"email": "[email protected]" | ||
}, | ||
"assets": { | ||
"icon": "assets/icon.png" | ||
}, | ||
"externalJS": [], | ||
"style": "style/visual.less", | ||
"capabilities": "capabilities.json" | ||
} |
Oops, something went wrong.