Skip to content

Commit 93a5d45

Browse files
blackleadsuuve
authored andcommitted
Webpack (#25)
* versions update, settings update * d3 downgrade (to source version), fix of rest dependencies * [debug] d3 updated, dotplot works, code cleaned up * tests update, karma+webpack, version upd * Rendering Events API * fix allocation error existed on tests run * Fixes bug with styles import * updates package-lock
1 parent 9a621ee commit 93a5d45

6 files changed

Lines changed: 86 additions & 82 deletions

File tree

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
## 2.0.1
2+
* Fixed bug with styles import
3+
14
## 2.0.0
25
* Migrated to WebPack and D3 v5
36
* Updated packages

package-lock.json

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

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "powerbi-visuals-dotplot",
3-
"version": "2.0.0",
3+
"version": "2.0.1",
44
"description": "A dot plot is used to show a representation of the distribution of frequencies. It is most often used to show counts of an occurrence.",
55
"repository": {
66
"type": "git",

pbiviz.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
22
"visual": {
33
"name": "DotPlot",
4-
"displayName": "Dot Plot 2.0.0",
4+
"displayName": "Dot Plot 2.0.1",
55
"guid": "DotPlot1442374105856",
66
"visualClassName": "DotPlot",
7-
"version": "2.0.0",
7+
"version": "2.0.1",
88
"description": "A dot plot is used to show a representation of the distribution of frequencies. It is most often used to show counts of an occurrence.",
99
"supportUrl": "https://community.powerbi.com",
1010
"gitHubUrl": "https://github.com/Microsoft/powerbi-visuals-dotplot"

src/visual.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ import { DotplotBehavior, DotplotBehaviorOptions } from "./behavior";
3939
import { getOpacity } from "./utils";
4040
import { DotPlotData, DotPlotChartCategory, DotPlotDataGroup, DotPlotDataPoint, DotPlotLabelsOrientation } from "./dataInterfaces";
4141
import { DotPlotSettings, LabelsSettings } from "./settings";
42+
import "../style/visual.less";
4243

4344
import IViewport = powerbi.IViewport;
4445
import IVisual = powerbi.extensibility.visual.IVisual;

style/visual.less

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@
2828
* Imports external styles.
2929
* We compile it as a less file in order to wrap the external CSS rules.
3030
*/
31-
@import (less) "node_modules/powerbi-visuals-utils-interactivityutils/lib/index.css";
32-
@import (less) "node_modules/powerbi-visuals-utils-chartutils/lib/index.css";
31+
@import (less) "../node_modules/powerbi-visuals-utils-interactivityutils/lib/index.css";
32+
@import (less) "../node_modules/powerbi-visuals-utils-chartutils/lib/index.css";
3333

3434
.dotPlotScrollableContainer {
3535
overflow-x: auto;

0 commit comments

Comments
 (0)