Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 20 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,26 @@
## 3.1.5.0
### Features
* Added a Zoom Slider card, off by default, showing a zoom slider on the X axis, the Y axis or both. The slider narrows the axis range the same way the built in visuals do; the chart is rebuilt when the drag ends and the zoom resets when the data is refreshed. The X axis slider is offered only on a date or numeric axis, a categorical one having no range to narrow
### Fixes
* Fixed the chart being painted outside its drawing area, over the Y axis labels and past the edge of the visual, whenever the axis range is narrower than the data - a pinned X axis Min/Max, a zoom range, or the Y axis Min/Max that the visual already offered

## 3.1.4.0
### Features
* Added Min and Max settings to the X axis, pinning the axis range instead of fitting it to the data - numeric fields on a numeric axis, date fields on a date axis

## 3.1.3.0
### Features
* Added a Scatter option to the Line Type setting, rendering each data point as a standalone dot without a connecting line

## 3.1.2.0
### Features
* Added a Label Area Sizing option (Auto / Fixed) to the Y axis and the secondary Y axis to reserve a fixed pixel width for axis labels, so the plot area keeps the same position when filters change the magnitude of the displayed values

## 3.1.1.0
### Fixes
* Fixed other lines being recolored when changing a single line's color (default palette colors are now reserved per line regardless of overrides)
* Fixed X-axis tick labels overlapping when the visual is narrowed and the axis font size is increased - the axis now redistributes to fewer, wider-spaced ticks that fit their available space, falling back to per-label truncation only when a single tick still can't fit
* Fixed visual not activating when clicking on chart lines or empty SVG canvas area
* Fixed X-axis tick labels overlapping when the visual is narrowed and the axis font size is increased - the axis now redistributes to fewer, wider-spaced ticks that fit their available space, falling back to per-label truncation only when a single tick still can't fit
* Fixed visual not activating when clicking on chart lines or empty SVG canvas area

## 3.1.0.0
### Features
Expand Down
84 changes: 83 additions & 1 deletion capabilities.json
Original file line number Diff line number Diff line change
Expand Up @@ -884,7 +884,8 @@
"type": {
"enumeration": [
{ "value": "line" },
{ "value": "area"}]
{ "value": "area"},
{ "value": "scatter"}]
}
},
"thickness": {
Expand Down Expand Up @@ -1037,6 +1038,25 @@
}
}
},
"zoomSlider": {
"properties": {
"show": {
"type": {
"bool": true
}
},
"showForXAxis": {
"type": {
"bool": true
}
},
"showForYAxis": {
"type": {
"bool": true
}
}
}
},
"xAxis": {
"properties": {
"show": {
Expand Down Expand Up @@ -1095,6 +1115,34 @@
{ "value": "1" }
]
}
},
"min": {
"type": {
"numeric": true
},
"placeHolderText": "Auto",
"suppressFormatPainterCopy": true
},
"max": {
"type": {
"numeric": true
},
"placeHolderText": "Auto",
"suppressFormatPainterCopy": true
},
"minDate": {
"type": {
"text": true
},
"placeHolderText": "Auto",
"suppressFormatPainterCopy": true
},
"maxDate": {
"type": {
"text": true
},
"placeHolderText": "Auto",
"suppressFormatPainterCopy": true
}
}
},
Expand Down Expand Up @@ -1162,6 +1210,23 @@
},
"placeHolderText": "Auto",
"suppressFormatPainterCopy": true
},
"fixedLabelWidthMode": {
"type": {
"enumeration": [
{
"value": "auto"
},
{
"value": "fixed"
}
]
}
},
"fixedLabelWidth": {
"type": {
"numeric": true
}
}
}
},
Expand Down Expand Up @@ -1229,6 +1294,23 @@
},
"placeHolderText": "Auto",
"suppressFormatPainterCopy": true
},
"fixedLabelWidthMode": {
"type": {
"enumeration": [
{
"value": "auto"
},
{
"value": "fixed"
}
]
}
},
"fixedLabelWidth": {
"type": {
"numeric": true
}
}
}
},
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@microsoft/powerbi-visuals-powerkpi",
"version": "3.1.1.0",
"version": "3.1.5.0",
"private": true,
"description": "A powerful KPI Indicator with multi-line chart and labels for current date, value and variances. Rich customization options, including current status labels and symbols, trend and comparison lines, multiple variances, auto-scaling, text formatting, and density controls. Highly flexible for use in large, detailed report tiles or tiny, summary dashboard tiles.",
"main": "index.js",
Expand Down
2 changes: 1 addition & 1 deletion pbiviz.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"displayName": "Power KPI",
"guid": "powerKPI462CE5C2666F4EC8A8BDD7E5587320A3",
"visualClassName": "PowerKPI",
"version": "3.1.1.0",
"version": "3.1.5.0",
"description": "A powerful KPI Indicator with multi-line chart and labels for current date, value and variances. Rich customization options, including current status labels and symbols, trend and comparison lines, multiple variances, auto-scaling, text formatting, and density controls. Highly flexible for use in large, detailed report tiles or tiny, summary dashboard tiles.",
"supportUrl": "https://aka.ms/customvisualscommunity",
"gitHubUrl": "https://github.com/Microsoft/PowerBI-visuals-PowerKPI"
Expand Down
Loading
Loading