Skip to content

Commit

Permalink
Handle pchart with mult 1 and no percent labs
Browse files Browse the repository at this point in the history
  • Loading branch information
andrjohns committed Mar 18, 2024
1 parent 562f605 commit 7226c51
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
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":"SPC Charts",
"guid":"PBISPC",
"visualClassName":"Visual",
"version":"1.4.1.3",
"version":"1.4.1.4",
"description":"A PowerBI custom visual for SPC charts",
"supportUrl":"https://github.com/AUS-DOH-Safety-and-Quality/PowerBI-SPC",
"gitHubUrl":"https://github.com/AUS-DOH-Safety-and-Quality/PowerBI-SPC"
Expand Down
2 changes: 1 addition & 1 deletion src/Classes/derivedSettingsClass.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export default class derivedSettingsClass {
multiplier = 100
}

if (pChartType) {
if (pChartType && percentSettingString !== "No") {
multiplier = multiplier === 1 ? 100 : multiplier
}

Expand Down

0 comments on commit 7226c51

Please sign in to comment.