Skip to content

Commit 188e3e5

Browse files
Elena Rodionovaignatvilesov
authored andcommitted
Migrates to API 2.1.0 (#33)
1 parent 3f2d3b3 commit 188e3e5

8 files changed

Lines changed: 137 additions & 126 deletions

File tree

.vscode/settings.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,13 @@
2121
"fileMatch": [
2222
"/pbiviz.json"
2323
],
24-
"url": "./.api/v1.13.0/schema.pbiviz.json"
24+
"url": "./.api/v2.1.0/schema.pbiviz.json"
2525
},
2626
{
2727
"fileMatch": [
2828
"/capabilities.json"
2929
],
30-
"url": "./.api/v1.13.0/schema.capabilities.json"
30+
"url": "./.api/v2.1.0/schema.capabilities.json"
3131
}
3232
]
3333
}

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
1+
## 1.6.0
2+
* API 2.1.0
3+
* * Fixed Edge SVG issue
4+
15
## 1.5.1
26
* Fixed wrong chart's scale yAxis rendering
37
* Fixed bug with not displayed lines and reverse order animation, when data is sorted descending
8+
49
## 1.5.0
510
* High contrast mode
611
* API 1.13.0

package-lock.json

Lines changed: 121 additions & 115 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
{
22
"name": "powerbi-visuals-linedotchart",
33
"description": "LineDot Chart",
4-
"version": "1.5.1",
4+
"version": "1.6.0",
55
"author": {
66
"name": "Microsoft",
77
"email": "pbicvsupport@microsoft.com"
88
},
99
"scripts": {
10-
"postinstall": "pbiviz update 1.13.0",
10+
"postinstall": "pbiviz update 2.1.0",
1111
"pbiviz": "pbiviz",
1212
"start": "pbiviz start",
1313
"package": "pbiviz package",
@@ -50,7 +50,7 @@
5050
"karma-remap-istanbul": "0.6.0",
5151
"karma-sourcemap-loader": "0.3.7",
5252
"karma-typescript-preprocessor": "0.3.1",
53-
"powerbi-visuals-tools": "1.13.0",
53+
"powerbi-visuals-tools": "2.1.0",
5454
"powerbi-visuals-utils-testutils": "1.2.1",
5555
"puppeteer": "^1.6.1",
5656
"tslint": "3.15.1",

pbiviz.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
{
22
"visual": {
33
"name": "LineDotChart",
4-
"displayName": "LineDot Chart 1.5.1",
4+
"displayName": "LineDot Chart 1.6.0",
55
"guid": "LineDotChart1460463831201",
66
"visualClassName": "LineDotChart",
7-
"version": "1.5.1",
7+
"version": "1.6.0",
88
"description": "The LineDot chart is an animated line chart with fun animated dots. Use the LineDot chart to engage your audience especially in a presentation context. The bubbles size can be dynamic based on data you provide. A counter is provided that you can use to show a running value as the chart animates. Format options are provided for Lines, Dots, and Animation.",
99
"supportUrl": "https://community.powerbi.com",
1010
"gitHubUrl": "https://github.com/Microsoft/powerbi-visuals-linedotchart"
1111
},
12-
"apiVersion": "1.13.0",
12+
"apiVersion": "2.1.0",
1313
"author": {
1414
"name": "Microsoft",
1515
"email": "pbicvsupport@microsoft.com"

src/visual.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -680,6 +680,7 @@ module powerbi.extensibility.visual {
680680

681681
playBtnGroup.style("opacity", this.settings.play.opacity);
682682

683+
683684
const circleSelection: d3.selection.Update<any> = playBtnGroup
684685
.selectAll("circle")
685686
.data(d => [d]);
@@ -732,7 +733,6 @@ module powerbi.extensibility.visual {
732733
.attr({
733734
"d": LineDotChart.playBtnGroupLineValues,
734735
"pointer-events": "none",
735-
"transform-origin": "top left",
736736
"transform": "translate(6, 8) rotate(180)"
737737
});
738738

test/_references.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
/// <reference path="../node_modules/@types/jasmine-jquery/index.d.ts" />
3131

3232
// Power BI API
33-
/// <reference path="../.api/v1.13.0/PowerBI-visuals.d.ts" />
33+
/// <reference path="../.api/v2.1.0/PowerBI-visuals.d.ts" />
3434

3535
// Power BI Extensibility
3636
/// <reference path="../node_modules/powerbi-visuals-utils-dataviewutils/lib/index.d.ts" />

tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"declaration": true
1010
},
1111
"files": [
12-
".api/v1.13.0/PowerBI-visuals.d.ts",
12+
".api/v2.1.0/PowerBI-visuals.d.ts",
1313
"node_modules/powerbi-visuals-utils-formattingutils/lib/index.d.ts",
1414
"node_modules/powerbi-visuals-utils-interactivityutils/lib/index.d.ts",
1515
"node_modules/powerbi-visuals-utils-typeutils/lib/index.d.ts",

0 commit comments

Comments
 (0)