├── .gitignore ├── dist ├── sample.xlsx ├── flowmap.1.4.9.pbiviz ├── flowmap.1.0.0.0.pbiviz ├── flowmap.1.1.3.0.pbiviz ├── flowmap.1.1.4.0.pbiviz ├── flowmap.1.2.0.0.pbiviz ├── flowmap.1.2.1.0.pbiviz ├── flowmap.1.2.1.1.pbiviz ├── flowmap.1.2.2.0.pbiviz ├── flowmap.1.2.3.0.pbiviz ├── flowmap.1.2.4.0.pbiviz ├── flowmap.1.2.5.0.pbiviz ├── flowmap.1.2.6.0.pbiviz ├── flowmap.1.3.0.0.pbiviz ├── flowmap.1.3.1.0.pbiviz ├── flowmap.1.3.2.0.pbiviz ├── flowmap.1.3.3.0.pbiviz ├── flowmap.1.3.5.0.pbiviz ├── flowmap.1.3.6.0.pbiviz ├── flowmap.1.4.0.0.pbiviz ├── flowmap.1.4.1.0.pbiviz ├── flowmap.1.4.3.0.pbiviz └── flowmap.1.4.8.0.pbiviz ├── docs ├── assets │ ├── 0.jpg │ ├── 1.jpg │ ├── 2.jpg │ └── 3.jpg ├── _data │ └── sliders.yml ├── _config.yml ├── privacy.md ├── _includes │ ├── slider_styles.html │ ├── slider.html │ ├── head.html │ ├── disqus_comments.html │ └── slider_scripts.html ├── _layouts │ └── default.html ├── lib │ ├── js │ │ └── slider │ │ │ ├── iis-captions.js │ │ │ └── iis-bullet-nav.js │ └── css │ │ └── slider │ │ ├── ideal-image-slider.css │ │ └── themes │ │ └── default.css └── index.md ├── code ├── assets │ ├── icon.png │ ├── icon1.png │ ├── screenshot.png │ ├── screenshot1.png │ ├── screenshot2.png │ ├── screenshot3.png │ └── icon.svg ├── src │ ├── pbi │ │ ├── index.ts │ │ ├── misc.ts │ │ ├── tooltip.ts │ │ ├── Category.ts │ │ ├── Persist.ts │ │ ├── Roles.ts │ │ ├── numberFormat.ts │ │ ├── Context.ts │ │ └── Format.ts │ ├── lava │ │ ├── bingmap │ │ │ ├── index.ts │ │ │ ├── geoQuery.ts │ │ │ ├── jsonp.ts │ │ │ ├── converter.ts │ │ │ └── geoService.ts │ │ ├── vector.ts │ │ ├── flowmap │ │ │ ├── util.ts │ │ │ ├── config.ts │ │ │ ├── pin.ts │ │ │ ├── popup.ts │ │ │ ├── pie.ts │ │ │ ├── flow.ts │ │ │ ├── banner.ts │ │ │ ├── shape.ts │ │ │ ├── app.ts │ │ │ ├── arc.ts │ │ │ └── legend.ts │ │ └── type.ts │ ├── global.js │ ├── flowmap │ │ └── format.ts │ └── visual.ts ├── .vscode │ ├── launch.json │ └── settings.json ├── tsconfig.json ├── package.json ├── pbiviz.json ├── tslint.json └── style │ └── visual.less ├── README.md └── LICENSE /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .tmp 3 | .bundle 4 | Default EULA.pdf -------------------------------------------------------------------------------- /dist/sample.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/weiweicui/PowerBI-Flowmap/HEAD/dist/sample.xlsx -------------------------------------------------------------------------------- /docs/assets/0.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/weiweicui/PowerBI-Flowmap/HEAD/docs/assets/0.jpg -------------------------------------------------------------------------------- /docs/assets/1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/weiweicui/PowerBI-Flowmap/HEAD/docs/assets/1.jpg -------------------------------------------------------------------------------- /docs/assets/2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/weiweicui/PowerBI-Flowmap/HEAD/docs/assets/2.jpg -------------------------------------------------------------------------------- /docs/assets/3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/weiweicui/PowerBI-Flowmap/HEAD/docs/assets/3.jpg -------------------------------------------------------------------------------- /code/assets/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/weiweicui/PowerBI-Flowmap/HEAD/code/assets/icon.png -------------------------------------------------------------------------------- /code/assets/icon1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/weiweicui/PowerBI-Flowmap/HEAD/code/assets/icon1.png -------------------------------------------------------------------------------- /code/assets/screenshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/weiweicui/PowerBI-Flowmap/HEAD/code/assets/screenshot.png -------------------------------------------------------------------------------- /dist/flowmap.1.4.9.pbiviz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/weiweicui/PowerBI-Flowmap/HEAD/dist/flowmap.1.4.9.pbiviz -------------------------------------------------------------------------------- /code/assets/screenshot1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/weiweicui/PowerBI-Flowmap/HEAD/code/assets/screenshot1.png -------------------------------------------------------------------------------- /code/assets/screenshot2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/weiweicui/PowerBI-Flowmap/HEAD/code/assets/screenshot2.png -------------------------------------------------------------------------------- /code/assets/screenshot3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/weiweicui/PowerBI-Flowmap/HEAD/code/assets/screenshot3.png -------------------------------------------------------------------------------- /dist/flowmap.1.0.0.0.pbiviz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/weiweicui/PowerBI-Flowmap/HEAD/dist/flowmap.1.0.0.0.pbiviz -------------------------------------------------------------------------------- /dist/flowmap.1.1.3.0.pbiviz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/weiweicui/PowerBI-Flowmap/HEAD/dist/flowmap.1.1.3.0.pbiviz -------------------------------------------------------------------------------- /dist/flowmap.1.1.4.0.pbiviz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/weiweicui/PowerBI-Flowmap/HEAD/dist/flowmap.1.1.4.0.pbiviz -------------------------------------------------------------------------------- /dist/flowmap.1.2.0.0.pbiviz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/weiweicui/PowerBI-Flowmap/HEAD/dist/flowmap.1.2.0.0.pbiviz -------------------------------------------------------------------------------- /dist/flowmap.1.2.1.0.pbiviz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/weiweicui/PowerBI-Flowmap/HEAD/dist/flowmap.1.2.1.0.pbiviz -------------------------------------------------------------------------------- /dist/flowmap.1.2.1.1.pbiviz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/weiweicui/PowerBI-Flowmap/HEAD/dist/flowmap.1.2.1.1.pbiviz -------------------------------------------------------------------------------- /dist/flowmap.1.2.2.0.pbiviz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/weiweicui/PowerBI-Flowmap/HEAD/dist/flowmap.1.2.2.0.pbiviz -------------------------------------------------------------------------------- /dist/flowmap.1.2.3.0.pbiviz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/weiweicui/PowerBI-Flowmap/HEAD/dist/flowmap.1.2.3.0.pbiviz -------------------------------------------------------------------------------- /dist/flowmap.1.2.4.0.pbiviz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/weiweicui/PowerBI-Flowmap/HEAD/dist/flowmap.1.2.4.0.pbiviz -------------------------------------------------------------------------------- /dist/flowmap.1.2.5.0.pbiviz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/weiweicui/PowerBI-Flowmap/HEAD/dist/flowmap.1.2.5.0.pbiviz -------------------------------------------------------------------------------- /dist/flowmap.1.2.6.0.pbiviz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/weiweicui/PowerBI-Flowmap/HEAD/dist/flowmap.1.2.6.0.pbiviz -------------------------------------------------------------------------------- /dist/flowmap.1.3.0.0.pbiviz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/weiweicui/PowerBI-Flowmap/HEAD/dist/flowmap.1.3.0.0.pbiviz -------------------------------------------------------------------------------- /dist/flowmap.1.3.1.0.pbiviz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/weiweicui/PowerBI-Flowmap/HEAD/dist/flowmap.1.3.1.0.pbiviz -------------------------------------------------------------------------------- /dist/flowmap.1.3.2.0.pbiviz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/weiweicui/PowerBI-Flowmap/HEAD/dist/flowmap.1.3.2.0.pbiviz -------------------------------------------------------------------------------- /dist/flowmap.1.3.3.0.pbiviz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/weiweicui/PowerBI-Flowmap/HEAD/dist/flowmap.1.3.3.0.pbiviz -------------------------------------------------------------------------------- /dist/flowmap.1.3.5.0.pbiviz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/weiweicui/PowerBI-Flowmap/HEAD/dist/flowmap.1.3.5.0.pbiviz -------------------------------------------------------------------------------- /dist/flowmap.1.3.6.0.pbiviz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/weiweicui/PowerBI-Flowmap/HEAD/dist/flowmap.1.3.6.0.pbiviz -------------------------------------------------------------------------------- /dist/flowmap.1.4.0.0.pbiviz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/weiweicui/PowerBI-Flowmap/HEAD/dist/flowmap.1.4.0.0.pbiviz -------------------------------------------------------------------------------- /dist/flowmap.1.4.1.0.pbiviz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/weiweicui/PowerBI-Flowmap/HEAD/dist/flowmap.1.4.1.0.pbiviz -------------------------------------------------------------------------------- /dist/flowmap.1.4.3.0.pbiviz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/weiweicui/PowerBI-Flowmap/HEAD/dist/flowmap.1.4.3.0.pbiviz -------------------------------------------------------------------------------- /dist/flowmap.1.4.8.0.pbiviz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/weiweicui/PowerBI-Flowmap/HEAD/dist/flowmap.1.4.8.0.pbiviz -------------------------------------------------------------------------------- /code/src/pbi/index.ts: -------------------------------------------------------------------------------- 1 | export { Persist } from './Persist'; 2 | export { Context } from './Context'; 3 | export { tooltip } from './tooltip'; 4 | 5 | export type Fill = { solid: {color: string} } -------------------------------------------------------------------------------- /code/src/lava/bingmap/index.ts: -------------------------------------------------------------------------------- 1 | export { ILocation, IBound, Converter, IArea } from './converter'; 2 | export { GeoQuery } from './geoQuery'; 3 | export { MapFormat, Controller, IListener, pixel } from './controller'; -------------------------------------------------------------------------------- /code/src/global.js: -------------------------------------------------------------------------------- 1 | __lavaBuildMap = null; 2 | __geocode_jsonp0 = null; 3 | __geocode_jsonp1 = null; 4 | __geocode_jsonp2 = null; 5 | __geocode_jsonp3 = null; 6 | __geocode_jsonp4 = null; 7 | __geocode_jsonp5 = null; 8 | __geocode_jsonp6 = null; 9 | -------------------------------------------------------------------------------- /docs/_data/sliders.yml: -------------------------------------------------------------------------------- 1 | - selector: slider1 2 | bullets: true 3 | captions: true 4 | images: 5 | - src: /assets/0.jpg 6 | - src: /assets/1.jpg 7 | - src: /assets/2.jpg 8 | - src: /assets/3.jpg 9 | settings: 10 | height: 300 11 | effect: "'slide'" 12 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | ## Flowmap custom visual for PowerBI 2 | 3 | * Please find the plugin files in the **dist** folder. 4 | * Please find the source code in the **code** folder. 5 | * `npm run start` to activate the custom visual. 6 | * Need more info/help? Please visit [here](https://weiweicui.github.io/PowerBI-Flowmap). 7 | -------------------------------------------------------------------------------- /docs/_config.yml: -------------------------------------------------------------------------------- 1 | title: "" 2 | 3 | # Config settings 4 | baseurl: "PowerBI-Flowmap" 5 | 6 | # Build settings 7 | theme: minima 8 | 9 | 10 | # checklist: 11 | # a. _data/sliders.yml: change the images 12 | # b. index.md: title and content 13 | 14 | disqus: weiweicui-flowmap 15 | name: https://weiweicui.github.io/PowerBI-Flowmap/ -------------------------------------------------------------------------------- /code/.vscode/launch.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "0.1.0", 3 | "configurations": [ 4 | { 5 | "name": "Debugger", 6 | "type": "chrome", 7 | "request": "attach", 8 | "port": 9222, 9 | "sourceMaps": true, 10 | "webRoot": "${cwd}/" 11 | } 12 | ] 13 | } -------------------------------------------------------------------------------- /docs/privacy.md: -------------------------------------------------------------------------------- 1 | # Privacy Statement 2 | We do not collect or store your information. However, if latitude/longitude are not provided in the Fields, we may transmit your content in the fields of `Origin` and `Destination` via [*Microsoft Bing Maps REST Services*](https://msdn.microsoft.com/en-us/library/ff701715.aspx) to obtain the corresponding geo-coordinates. If you wish __not__ to transmit any information, you need to specifically provide the latitudes and longitudes in the Fields. 3 | -------------------------------------------------------------------------------- /code/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "allowJs": false, 4 | "emitDecoratorMetadata": true, 5 | "experimentalDecorators": true, 6 | "target": "es6", 7 | "sourceMap": true, 8 | "outDir": "./.tmp/build/", 9 | "moduleResolution": "node", 10 | "declaration": true, 11 | "lib": [ 12 | "es2015", 13 | "dom" 14 | ] 15 | }, 16 | "files": [ 17 | "src/visual.ts" 18 | ] 19 | } -------------------------------------------------------------------------------- /docs/_includes/slider_styles.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | {% if page.image_sliders or layout.image_sliders or page.image_sliders_load_all %} 5 | 6 | 7 | 8 | 9 | {% endif %} 10 | -------------------------------------------------------------------------------- /docs/_includes/slider.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | {% if include.selector != empty %} 5 | {% assign slider = site.data.sliders | where:"selector",include.selector | first %} 6 |
(meta: P, value: O[P]): void { 78 | __ctx.persist(this.oname, meta, value); 79 | } 80 | 81 | public item
(pname: P): Func (pname: P): Binding (pname: P): Config (pname: P): Readonly (pname: P, auto: Func (role: R, pname: P, toggle: keyof O | true, autofill: keyof O, auto: O[P] | Func (role: R, pname: P, toggle: keyof O | true): void;
168 | public bind (role: R, pname: P, toggle: keyof O | true, autofill?: keyof O, auto?: O[P] | Func