This repository was archived by the owner on Jul 22, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
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
Showing
19 changed files
with
3,165 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,38 @@ | ||
{ | ||
"PBI_API_VERSION": "v1.10.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 | ||
} | ||
} | ||
} |
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,103 @@ | ||
{ | ||
"PBI_API_VERSION": "v1.10.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" | ||
} | ||
}, | ||
"stringResources": { | ||
"type": "array", | ||
"description": "An array of relative paths to string resources to load", | ||
"items": { | ||
"type": "string" | ||
}, | ||
"uniqueItems": true | ||
}, | ||
"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,67 @@ | ||
{ | ||
"PBI_API_VERSION": "v1.10.0", | ||
"type": "object", | ||
"properties": { | ||
"locale": { | ||
"$ref": "#/definitions/localeOptions" | ||
}, | ||
"values": { | ||
"type": "object", | ||
"description": "translations for the display name keys in the capabilities", | ||
"additionalProperties": { "type": "string" } | ||
} | ||
}, | ||
"required": [ "locale" ], | ||
"definitions": { | ||
"localeOptions": { | ||
"description": "Specifies the locale key from a list of supported locales", | ||
"type": "string", | ||
"enum": [ | ||
"ar-SA", | ||
"bg-BG", | ||
"ca-ES", | ||
"cs-CZ", | ||
"da-DK", | ||
"de-DE", | ||
"el-GR", | ||
"en-US", | ||
"es-ES", | ||
"et-EE", | ||
"eu-ES", | ||
"fi-FI", | ||
"fr-FR", | ||
"gl-ES", | ||
"he-IL", | ||
"hi-IN", | ||
"hr-HR", | ||
"hu-HU", | ||
"id-ID", | ||
"it-IT", | ||
"ja-JP", | ||
"kk-KZ", | ||
"ko-KR", | ||
"lt-LT", | ||
"lv-LV", | ||
"ms-MY", | ||
"nb-NO", | ||
"nl-NL", | ||
"pl-PL", | ||
"pt-BR", | ||
"pt-PT", | ||
"ro-RO", | ||
"ru-RU", | ||
"sk-SK", | ||
"sl-SI", | ||
"sr-Cyrl-RS", | ||
"sr-Latn-RS", | ||
"sv-SE", | ||
"th-TH", | ||
"tr-TR", | ||
"uk-UA", | ||
"vi-VN", | ||
"zh-CN", | ||
"zh-TW" | ||
] | ||
} | ||
} | ||
} |
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 @@ | ||
/node_modules |
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,37 @@ | ||
{ | ||
"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.10.0/schema.pbiviz.json" | ||
}, | ||
{ | ||
"fileMatch": [ | ||
"/capabilities.json" | ||
], | ||
"url": "./.api/v1.10.0/schema.capabilities.json" | ||
}, | ||
{ | ||
"fileMatch": [ | ||
"/dependencies.json" | ||
], | ||
"url": "./.api/v1.10.0/schema.dependencies.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,84 @@ | ||
{ | ||
"dataRoles": [ | ||
{ | ||
"displayName": "Category Data", | ||
"name": "category", | ||
"kind": "Grouping" | ||
}, | ||
{ | ||
"displayName": "Measure Data", | ||
"name": "measure", | ||
"kind": "Measure" | ||
} | ||
], | ||
"objects": { | ||
"dataPoint": { | ||
"displayName": "Data colors", | ||
"properties": { | ||
"defaultColor": { | ||
"displayName": "Default color", | ||
"type": { | ||
"fill": { | ||
"solid": { | ||
"color": true | ||
} | ||
} | ||
} | ||
}, | ||
"showAllDataPoints": { | ||
"displayName": "Show all", | ||
"type": { | ||
"bool": true | ||
} | ||
}, | ||
"fill": { | ||
"displayName": "Fill", | ||
"type": { | ||
"fill": { | ||
"solid": { | ||
"color": true | ||
} | ||
} | ||
} | ||
}, | ||
"fillRule": { | ||
"displayName": "Color saturation", | ||
"type": { | ||
"fill": {} | ||
} | ||
}, | ||
"fontSize": { | ||
"displayName": "Text Size", | ||
"type": { | ||
"formatting": { | ||
"fontSize": true | ||
} | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"dataViewMappings": [ | ||
{ | ||
"categorical": { | ||
"categories": { | ||
"for": { | ||
"in": "category" | ||
}, | ||
"dataReductionAlgorithm": { | ||
"top": {} | ||
} | ||
}, | ||
"values": { | ||
"select": [ | ||
{ | ||
"bind": { | ||
"to": "measure" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
] | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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,6 @@ | ||
{ | ||
"name": "visual", | ||
"dependencies": { | ||
"powerbi-visuals-utils-dataviewutils": "1.2.0" | ||
} | ||
} |
Oops, something went wrong.