Skip to content

Commit 7d29cec

Browse files
committed
Utilization Bar Chart: updated ngdoc
1 parent e66210f commit 7d29cec

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

dist/angular-patternfly.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1634,8 +1634,10 @@ angular.module('patternfly.charts').directive('pfTrendsChart', function () {
16341634
* <li>'percent' - displays a percentage label of '(n)% Used'.</li>
16351635
* </ul>
16361636
* @param {object=} units to be displayed on the chart. Examples: "GB", "MHz", "I/Ops", etc...
1637-
* @param {string=} threshold-error Percent used to determine the usage error threshold fill color (red). Valid values are 1-100.
1638-
* @param {string=} threshold-warning Percent used to determine the usage error threshold fill color (orange) Valid values are 1-100.
1637+
* @param {string=} threshold-error The percentage used, when reached, denotes an error. Valid values are 1-100. When the error threshold
1638+
* has been reached, the used donut arc will be red.
1639+
* @param {string=} threshold-warning The percentage usage, when reached, denotes a warning. Valid values are 1-100. When the warning threshold
1640+
* has been reached, the used donut arc will be orange.
16391641
*
16401642
* @example
16411643
<example module="patternfly.example">

src/charts/utilization-bar/utilization-bar-chart.directive.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,10 @@
3434
* <li>'percent' - displays a percentage label of '(n)% Used'.</li>
3535
* </ul>
3636
* @param {object=} units to be displayed on the chart. Examples: "GB", "MHz", "I/Ops", etc...
37-
* @param {string=} threshold-error Percent used to determine the usage error threshold fill color (red). Valid values are 1-100.
38-
* @param {string=} threshold-warning Percent used to determine the usage error threshold fill color (orange) Valid values are 1-100.
37+
* @param {string=} threshold-error The percentage used, when reached, denotes an error. Valid values are 1-100. When the error threshold
38+
* has been reached, the used donut arc will be red.
39+
* @param {string=} threshold-warning The percentage usage, when reached, denotes a warning. Valid values are 1-100. When the warning threshold
40+
* has been reached, the used donut arc will be orange.
3941
*
4042
* @example
4143
<example module="patternfly.example">

0 commit comments

Comments
 (0)