-
Notifications
You must be signed in to change notification settings - Fork 143
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #122 from Demonkratiy/dynamic_format
Dynamic format
- Loading branch information
Showing
12 changed files
with
9,064 additions
and
5,804 deletions.
There are no files selected for viewing
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,7 @@ | ||
node_modules | ||
dist | ||
coverage | ||
test | ||
.eslintrc.js | ||
karma.conf.ts | ||
test.webpack.config.js |
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,20 @@ | ||
module.exports = { | ||
env: { | ||
"browser": true, | ||
"es6": true, | ||
"es2017": true | ||
}, | ||
root: true, | ||
parser: "@typescript-eslint/parser", | ||
parserOptions: { | ||
project: "tsconfig.json", | ||
tsconfigRootDir: ".", | ||
}, | ||
plugins: [ | ||
"powerbi-visuals" | ||
], | ||
extends: [ | ||
"plugin:powerbi-visuals/recommended" | ||
], | ||
rules: {} | ||
}; |
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
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
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 |
---|---|---|
@@ -1,152 +1,160 @@ | ||
{ | ||
"dataRoles": [ | ||
{ | ||
"displayName": "Category Data", | ||
"name": "category", | ||
"kind": "Grouping" | ||
}, | ||
{ | ||
"displayName": "Measure Data", | ||
"name": "measure", | ||
"kind": "Measure" | ||
}, | ||
"dataRoles": [ | ||
{ | ||
"displayName": "Category Data", | ||
"name": "category", | ||
"kind": "Grouping" | ||
}, | ||
{ | ||
"displayName": "Measure Data", | ||
"name": "measure", | ||
"kind": "Measure" | ||
}, | ||
{ | ||
"displayName": "Tooltips", | ||
"name": "Tooltips", | ||
"kind": "Measure" | ||
} | ||
], | ||
"dataViewMappings": [ | ||
{ | ||
"conditions": [ | ||
{ | ||
"displayName": "Tooltips", | ||
"name": "Tooltips", | ||
"kind": "Measure" | ||
"category": { | ||
"max": 1 | ||
}, | ||
"measure": { | ||
"max": 1 | ||
} | ||
} | ||
], | ||
"dataViewMappings": [ | ||
{ | ||
"conditions": [ | ||
{ | ||
"category": { | ||
"max": 1 | ||
}, | ||
"measure": { | ||
"max": 1 | ||
} | ||
} | ||
], | ||
"categorical": { | ||
"categories": { | ||
"for": { | ||
"in": "category" | ||
} | ||
}, | ||
"values": { | ||
"select": [ | ||
{ | ||
"bind": { | ||
"to": "measure" | ||
} | ||
} | ||
] | ||
} | ||
], | ||
"categorical": { | ||
"categories": { | ||
"for": { | ||
"in": "category" | ||
} | ||
}, | ||
"values": { | ||
"select": [ | ||
{ | ||
"bind": { | ||
"to": "measure" | ||
} | ||
} | ||
] | ||
} | ||
], | ||
"objects": { | ||
"enableAxis": { | ||
"displayName": "Enable Axis", | ||
"properties": { | ||
"show": { | ||
"displayName": "Enable Axis", | ||
"type": { | ||
"bool": true | ||
} | ||
}, | ||
"fill": { | ||
"displayName": "Color", | ||
"type": { | ||
"fill": { | ||
"solid": { | ||
"color": true | ||
} | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"colorSelector": { | ||
"displayName": "Data Colors", | ||
"properties": { | ||
"fill": { | ||
"displayName": "Color", | ||
"type": { | ||
"fill": { | ||
"solid": { | ||
"color": true | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
], | ||
"objects": { | ||
"general": { | ||
"properties": { | ||
"formatString": { | ||
"type": { | ||
"formatting": { | ||
"formatString": true | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"enableAxis": { | ||
"displayName": "Enable Axis", | ||
"properties": { | ||
"show": { | ||
"displayName": "Enable Axis", | ||
"type": { | ||
"bool": true | ||
} | ||
}, | ||
"generalView": { | ||
"displayName": "General View", | ||
"properties": { | ||
"opacity": { | ||
"displayName": "Bars Opacity", | ||
"type": { | ||
"integer": true | ||
} | ||
}, | ||
"showHelpLink": { | ||
"displayName": "Show Help Button", | ||
"type": { | ||
"bool": true | ||
} | ||
} | ||
"fill": { | ||
"displayName": "Color", | ||
"type": { | ||
"fill": { | ||
"solid": { | ||
"color": true | ||
} | ||
} | ||
}, | ||
"averageLine": { | ||
"displayName": "Average Line", | ||
"objectCategory": 2, | ||
"properties": { | ||
"show": { | ||
"type": { | ||
"bool": true | ||
} | ||
}, | ||
"displayName": { | ||
"type": { | ||
"text": true | ||
} | ||
}, | ||
"fill": { | ||
"displayName": "Color", | ||
"type": { | ||
"fill": { | ||
"solid": { | ||
"color": true | ||
} | ||
} | ||
} | ||
}, | ||
"showDataLabel": { | ||
"displayName": "Data label", | ||
"type": { | ||
"bool": true | ||
} | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"colorSelector": { | ||
"displayName": "Data Colors", | ||
"properties": { | ||
"fill": { | ||
"displayName": "Color", | ||
"type": { | ||
"fill": { | ||
"solid": { | ||
"color": true | ||
} | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"tooltips": { | ||
"supportedTypes": { | ||
"default": true, | ||
"canvas": true | ||
"generalView": { | ||
"displayName": "General View", | ||
"properties": { | ||
"opacity": { | ||
"displayName": "Bars Opacity", | ||
"type": { | ||
"integer": true | ||
} | ||
}, | ||
"roles": [ | ||
"Tooltips" | ||
], | ||
"supportEnhancedTooltips": true | ||
"showHelpLink": { | ||
"displayName": "Show Help Button", | ||
"type": { | ||
"bool": true | ||
} | ||
} | ||
} | ||
}, | ||
"supportsLandingPage": false, | ||
"drilldown": { | ||
"roles": [ | ||
"category" | ||
] | ||
"averageLine": { | ||
"displayName": "Average Line", | ||
"objectCategory": 2, | ||
"properties": { | ||
"show": { | ||
"type": { | ||
"bool": true | ||
} | ||
}, | ||
"displayName": { | ||
"type": { | ||
"text": true | ||
} | ||
}, | ||
"fill": { | ||
"displayName": "Color", | ||
"type": { | ||
"fill": { | ||
"solid": { | ||
"color": true | ||
} | ||
} | ||
} | ||
}, | ||
"showDataLabel": { | ||
"displayName": "Data label", | ||
"type": { | ||
"bool": true | ||
} | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"tooltips": { | ||
"supportedTypes": { | ||
"default": true, | ||
"canvas": true | ||
}, | ||
"roles": ["Tooltips"], | ||
"supportEnhancedTooltips": true | ||
}, | ||
"supportsLandingPage": false, | ||
"drilldown": { | ||
"roles": ["category"] | ||
}, | ||
"privileges": [] | ||
} |
Oops, something went wrong.