Skip to content

Commit 546ceb9

Browse files
Demonkratiyuves-ddavydenkofkhuzeevadiletelf
authored
v1.7.3.0 - merge Dev (#126)
* merge dev with main (#75) * Create node.js.yml * Rename node.js.yml to build.yml * Create codeql.yml * Fix Comments (#74) Co-authored-by: Firzinat Khuzeev <v-fkhuzeev@microsoft.com> Co-authored-by: Nikita Grachev <v-grniki@microsoft.com> * draft refactoring * draft refactoring * Add OnObject support (#77) * Update README.md * Delete .travis.yml, update build.yml * Fix eslint errors * Improve outline of arcs when in keyboard focus * Delete redundant dependency d3-selection-multi * Add AsterPlotSettingsModel.ts * Migrate to new formatting model * Add OnObject For "Legend", "Central label" cards * Add OnObject for "Labels" card settings * Fix accessing undefined field "tooltipInfo" * Populate pies colors slices * Add arc outlines around pie data points * Fix: context menu wasn't shown when right-clicking pies * Add OnObject for "Outer line" formatting settings * Update packages, bump version to 1.7.0.0 * Leave single outer line outline around pie chart * Fix pie color assignment * Fix custom arc outline when "Legend" is enabled * Remove event listeners while `formatMode` is enabled * Remove jquery and fix unit tests * Add visual short and long description * Update packages * Remove identity from outerline OnObject custom outline callback * Fix unexpected behaviour when second measure value was added to the first * Fix showing tooltip * Update build.yml to run GitHub Actions on "certification" branch * Add test checking converter is working correctly * Fix computing min and max measure values for chart * Add test to check that pie color pickers created for all pies * Fix scaling visual when outerline is enabled * v1.7.2.0 - Remove interactivity-utils (#90) * Create custom styles for keyboard focused slices * Split d3 into submodules * Fix context menu for center label, outer lines and legends * Add .vscode/launch.json with karma debug * Remove interactivity-utils * Fix TypeScript errors in tests * Add report page tooltip support * Remove duplicated rendering call * Update packages * Remove "coveralls" package * Add .vscode to .gitignore * Add 'show title' settings to legend card * Update eslint to v9 * Fix eslint errors * Rename properties with bad naming * Fix eslint ignore list * Refactor code * Refactor code and make legends scrollable * Fix the bug with selection not being reset on toggle * Refactor code to make it more readable * Refactor methods in behavior.ts to remove duplication, reformat visual.ts * Fix npm audit issues * Run GitHub actions on ubuntu-22.04 * v1.7.3.0 - Fix bugs (#108) * Add missing context menu * Use new chartutils+fix legend styles * Use new formattingModel + fix fill style for hcm * Fix report page tooltip * Fix onObject implementation * Increase stroke-width for hcm * Remove eventlisteners in format mode * Update formatting model * Bump version * Fix variable naming * Rename localization keys * New translations (#125) * Merge main (#127) * Create node.js.yml * Rename node.js.yml to build.yml * Create codeql.yml * Microsoft mandatory file (#53) Co-authored-by: microsoft-github-policy-service[bot] <77245923+microsoft-github-policy-service[bot]@users.noreply.github.com> * Update codeql.yml --------- Co-authored-by: Nikita Grachev <v-grniki@microsoft.com> Co-authored-by: microsoft-github-policy-service[bot] <77245923+microsoft-github-policy-service[bot]@users.noreply.github.com> Co-authored-by: MulyukovAidar <rememberlig@gmail.com> --------- Co-authored-by: Nikita Grachev <v-grniki@microsoft.com> Co-authored-by: s-ddavydenko <113129076+s-ddavydenko@users.noreply.github.com> Co-authored-by: Firzinat Khuzeev <v-fkhuzeev@microsoft.com> Co-authored-by: adiletelf <74559101+adiletelf@users.noreply.github.com> Co-authored-by: Iuliia Kulagina <86924383+kullJul@users.noreply.github.com> Co-authored-by: pbicvloc <104190707+pbicvloc@users.noreply.github.com> Co-authored-by: microsoft-github-policy-service[bot] <77245923+microsoft-github-policy-service[bot]@users.noreply.github.com> Co-authored-by: MulyukovAidar <rememberlig@gmail.com>
1 parent 70ecfdf commit 546ceb9

82 files changed

Lines changed: 11783 additions & 15156 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/build.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ on:
1111

1212
jobs:
1313
build:
14-
runs-on: ubuntu-latest
14+
runs-on: ubuntu-22.04
1515
strategy:
1616
matrix:
17-
node-version: [18.x]
17+
node-version: [18.x, 20.x]
1818

1919
steps:
2020
- uses: actions/checkout@v2
@@ -24,6 +24,8 @@ jobs:
2424
node-version: ${{ matrix.node-version }}
2525
- run: npm audit
2626
continue-on-error: true
27+
- run: npm outdated
28+
continue-on-error: true
2729
- run: npm ci
2830
- run: npm run eslint --if-present
2931
- run: npm run lint --if-present

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,7 @@ typings
66
.api
77
*.log
88
/coverage
9+
*.html
10+
11+
## VSCode
12+
.vscode/

.travis.yml

Lines changed: 0 additions & 21 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,45 @@
1+
## 1.7.3
2+
3+
### Fixes
4+
* Update packages, fix npm vulnerabilities
5+
* Add context menu
6+
* Fix report page tooltip
7+
* Fix legend styles, use new chartutils
8+
* Fix keyboard navigation styles in High Contrast Mode
9+
* Fix pie colors in High Contrast Mode
10+
* Fix onObject outlines
11+
12+
## 1.7.2
13+
### Visual changes
14+
* Create custom styles for keyboard focus of aster slices
15+
* Fix context menu for center label, outer lines and legends
16+
* Add report page tooltip support
17+
18+
### Code improvements
19+
* Update API to 5.11.0, tools to 5.5.1 and other packages
20+
* Split d3 into submodules
21+
* Remove interactivity-utils
22+
* Remove "coveralls" package
23+
* Update eslint to v9
24+
25+
## 1.7.1
26+
* Fix scaling when outerline is enabled
27+
* Update packages
28+
29+
## 1.7.0
30+
* Add OnObject formatting support
31+
* Packages update
32+
* Migrate to formatting model
33+
* Update build.yml to use node 18, 20
34+
* Fix eslint errors
35+
* Remove redundant dependencies
36+
* Fix context menu not showing at correct position
37+
38+
## 1.6.0
39+
* Added keyboard navigation (feature)
40+
* Focus outline (styles)
41+
* Aria roles (aria-selected, listbox, option) on slices
42+
143
## 1.5.1
244
* Fixed pie default color display bug
345

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
11
# PowerBI-visuals-AsterPlot
2-
[![Build Status](https://travis-ci.org/Microsoft/PowerBI-visuals-AsterPlot.svg?branch=master)](https://travis-ci.org/Microsoft/PowerBI-visuals-AsterPlot) [![Coverage Status](https://coveralls.io/repos/github/Microsoft/PowerBI-visuals-AsterPlot/badge.svg?branch=master)](https://coveralls.io/github/Microsoft/PowerBI-visuals-AsterPlot?branch=master)
2+
[![Build Status](https://github.com/microsoft/PowerBI-visuals-AsterPlot/actions/workflows/build.yml/badge.svg?branch=main)](https://github.com/microsoft/PowerBI-visuals-AsterPlot/actions/workflows/build.yml)
3+
[![Coverage Status](https://coveralls.io/repos/github/Microsoft/PowerBI-visuals-AsterPlot/badge.svg?branch=master)](https://coveralls.io/github/Microsoft/PowerBI-visuals-AsterPlot?branch=master)
34

45
> An Aster plot is a twist on a standard donut chart, using a second value to drive sweep angle.
56
6-
![Aster plot screenshot](https://az158878.vo.msecnd.net/marketing/Partner_21474836617/Product_42949680537/Asset_a1b3a886-e716-453a-96d1-fc96890b4817/AsterPlotscreenshot1.png)
7+
![Aster plot screenshot](assets/screenshot.png)
78
# Overview
89
The Aster Plot allows a category that drives the chart and up to 2 measures:
910

1011
The first measure controls the depth of each section
1112

1213
The second measure controls the width of each section
1314

14-
See also [Aster Plot chart at Microsoft Office store](https://store.office.com/en-us/app.aspx?assetid=WA104380759&sourcecorrid=dd768b2b-0dc9-44e7-8c0e-01a6f95349d6&searchapppos=0&ui=en-US&rs=en-US&ad=US&appredirect=false)
15+
See also [Aster Plot chart at Microsoft Office store](https://store.office.com/en-us/app.aspx?assetid=WA104380759&sourcecorrid=dd768b2b-0dc9-44e7-8c0e-01a6f95349d6&searchapppos=0&ui=en-US&rs=en-US&ad=US&appredirect=false)

0 commit comments

Comments
 (0)