This file contains hidden or 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
| { | |
| "name": "visual", | |
| "scripts":{ | |
| "postinstall":"npm run typings", | |
| "typings":"node node_modules/typings/dist/bin.js i" | |
| }, | |
| "devDependencies": { | |
| "typings": "^1.3.2" | |
| } | |
| } |
This file contains hidden or 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
| "typings/index.d.ts" |
This file contains hidden or 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
| { | |
| "globalDependencies": { | |
| "d3": "registry:dt/d3#0.0.0+20160628065019" | |
| } | |
| } |
This file contains hidden or 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
| git clone https://github.com/jongio/PowerBI-visuals-liquidFillGauge.git |
This file contains hidden or 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
| pbivizpackage |
This file contains hidden or 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
| pbiviz start |
This file contains hidden or 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
| pbiviz new liquidFillGauge |
This file contains hidden or 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
| /// <amd-dependency path="liquidFillGauge"> | |
| module powerbi.extensibility.visual { | |
| export class Visual implements IVisual { | |
| private target: HTMLElement; | |
| private gauge: any; | |
| private svg: Element; | |
| constructor(options: VisualConstructorOptions) { | |
| console.log('Visual constructor', options); |
This file contains hidden or 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
| { | |
| "compilerOptions": { | |
| "allowJs": true, | |
| "emitDecoratorMetadata": true, | |
| "experimentalDecorators": true, | |
| "target": "ES5", | |
| "sourceMap": true, | |
| "out": "./.tmp/build/visual.js" | |
| }, | |
| "files": [ |
This file contains hidden or 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
| powershell -Command "(new-object net.webclient).DownloadFile('https://gist.githubusercontent.com/jongio/27d20821bbe9eaa5ce012feb181ea0e9/raw/2b655a3aadc777dc410b96214b8a297f2e81f99b/liquidFillGauge.d.ts', 'liquidFillGauge.d.ts')" |