@patternfly-java/charts 0.0.9 → 0.0.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@patternfly-java/charts",
3
3
  "private": false,
4
- "version": "0.0.9",
4
+ "version": "0.0.10",
5
5
  "description": "Web Components wrapper around PatternFly React Charts",
6
6
  "homepage": "https://patternfly-java.github.io/",
7
7
  "repository": {
@@ -55,6 +55,9 @@ export class ChartBulletWebComponent extends ReactWrapperElement {
55
55
  } else if (this.getAttribute('comparative-warning-measure-legend-data')) {
56
56
  extraProps.comparativeWarningMeasureLegendData = parseAttrValue('comparative-warning-measure-legend-data', this.getAttribute('comparative-warning-measure-legend-data'));
57
57
  }
58
+ if (this._maxDomain !== undefined) {
59
+ extraProps.maxDomain = Number(this._maxDomain);
60
+ }
58
61
  if (this._primaryDotMeasureData && typeof this._primaryDotMeasureData !== 'string') {
59
62
  extraProps.primaryDotMeasureData = this._primaryDotMeasureData;
60
63
  } else if (this.getAttribute('primary-dot-measure-data')) {
@@ -94,7 +94,6 @@ export class ReactWrapperElement extends LitElement {
94
94
  this._data = undefined; // any | any[]
95
95
  this._height = undefined; // number
96
96
  this._labels = undefined; // (data: any) => string
97
- this._legendAllowWrap = undefined; // boolean
98
97
  this._legendData = undefined; // { name?: string; symbol?: { fill?: string; type?: string; }; }[]
99
98
  this._legendOrientation = undefined; // string
100
99
  this._legendPosition = undefined; // string
@@ -261,15 +260,6 @@ export class ReactWrapperElement extends LitElement {
261
260
  this._notifyChange();
262
261
  }
263
262
 
264
- get legendAllowWrap() {
265
- return this._legendAllowWrap;
266
- }
267
-
268
- set legendAllowWrap(value) {
269
- this._legendAllowWrap = value;
270
- this._notifyChange();
271
- }
272
-
273
263
  get legendData() {
274
264
  return this._legendData;
275
265
  }
@@ -369,9 +359,6 @@ export class ReactWrapperElement extends LitElement {
369
359
  if (this._labels !== undefined) {
370
360
  commonProps.labels = this._labels;
371
361
  }
372
- if (this._legendAllowWrap !== undefined) {
373
- commonProps.legendAllowWrap = this._legendAllowWrap;
374
- }
375
362
  if (this._legendData && typeof this._legendData !== 'string') {
376
363
  commonProps.legendData = this._legendData;
377
364
  } else if (this.getAttribute('legend-data')) {