@wcardinal/wcardinal-ui 0.237.0 → 0.239.0

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.
@@ -24,8 +24,8 @@ export declare class DChartAxisBase<CHART extends DBase = DBase, OPTIONS extends
24
24
  constructor(options?: OPTIONS);
25
25
  get position(): DChartAxisPosition;
26
26
  protected updateBar(container: DChartAxisContainer<CHART>): void;
27
- updateTicksX(domainMin: number, domainMax: number, coordinate: DChartCoordinate<CHART>, majorShapes: EShapeBar[], minorShapes: EShapeBar[], gridlineShapes: EShapeBar[] | undefined, shapePositionY: number, transform: Matrix, plotAreaHeight: number): void;
28
- updateTicksY(domainMin: number, domainMax: number, coordinate: DChartCoordinate<CHART>, majorShapes: EShapeBar[], minorShapes: EShapeBar[], gridlineShapes: EShapeBar[] | undefined, shapePositionX: number, transform: Matrix, plotAreaWidth: number): void;
27
+ protected updateTicksX(domainMin: number, domainMax: number, coordinate: DChartCoordinate<CHART>, majorShapes: EShapeBar[], minorShapes: EShapeBar[], gridlineShapes: EShapeBar[] | undefined, shapePositionY: number, transform: Matrix, plotAreaHeight: number): void;
28
+ protected updateTicksY(domainMin: number, domainMax: number, coordinate: DChartCoordinate<CHART>, majorShapes: EShapeBar[], minorShapes: EShapeBar[], gridlineShapes: EShapeBar[] | undefined, shapePositionX: number, transform: Matrix, plotAreaWidth: number): void;
29
29
  protected updateTicks(container: DChartAxisContainer<CHART>): void;
30
30
  bind(container: DChartAxisContainer<CHART>, index: number): void;
31
31
  unbind(): void;
@@ -2,6 +2,7 @@
2
2
  * Copyright (C) 2019 Toshiba Corporation
3
3
  * SPDX-License-Identifier: Apache-2.0
4
4
  */
5
+ import { DApplications } from "./d-applications";
5
6
  import { DChartAxisBaseOptionParser } from "./d-chart-axis-base-options-parser";
6
7
  import { DChartAxisPosition } from "./d-chart-axis-position";
7
8
  import { EShapePointsStyle } from "./shape/e-shape-points-style";
@@ -64,6 +65,7 @@ var DChartAxisBase = /** @class */ (function () {
64
65
  break;
65
66
  }
66
67
  shape.allowUploadedUpdate();
68
+ DApplications.update(plotArea);
67
69
  }
68
70
  };
69
71
  DChartAxisBase.prototype.updateTicksX = function (domainMin, domainMax, coordinate, majorShapes, minorShapes, gridlineShapes, shapePositionY, transform, plotAreaHeight) {
@@ -206,6 +208,7 @@ var DChartAxisBase = /** @class */ (function () {
206
208
  var domainTo = coordinate.unmap(coordinate.transform.unmap(bounds.x + bounds.width));
207
209
  var plotAreaHeight = plotArea.height;
208
210
  this.updateTicksX(domainFrom, domainTo, coordinate, majorShapes, minorShapes, gridlineShapes, 0 - padding, transform, plotAreaHeight);
211
+ DApplications.update(plotArea);
209
212
  }
210
213
  break;
211
214
  case DChartAxisPosition.BOTTOM:
@@ -215,6 +218,7 @@ var DChartAxisBase = /** @class */ (function () {
215
218
  var domainTo = coordinate.unmap(coordinate.transform.unmap(bounds.x + bounds.width));
216
219
  var plotAreaHeight = plotArea.height;
217
220
  this.updateTicksX(domainFrom, domainTo, coordinate, majorShapes, minorShapes, gridlineShapes, plotAreaHeight + padding, transform, plotAreaHeight);
221
+ DApplications.update(plotArea);
218
222
  }
219
223
  break;
220
224
  case DChartAxisPosition.LEFT:
@@ -224,6 +228,7 @@ var DChartAxisBase = /** @class */ (function () {
224
228
  var domainTo = coordinate.unmap(coordinate.transform.unmap(bounds.y + bounds.height));
225
229
  var plotAreaWidth = plotArea.width;
226
230
  this.updateTicksY(domainFrom, domainTo, coordinate, majorShapes, minorShapes, gridlineShapes, 0 - padding, transform, plotAreaWidth);
231
+ DApplications.update(plotArea);
227
232
  }
228
233
  break;
229
234
  case DChartAxisPosition.RIGHT:
@@ -233,6 +238,7 @@ var DChartAxisBase = /** @class */ (function () {
233
238
  var domainTo = coordinate.unmap(coordinate.transform.unmap(bounds.y + bounds.height));
234
239
  var plotAreaWidth = plotArea.width;
235
240
  this.updateTicksY(domainFrom, domainTo, coordinate, majorShapes, minorShapes, gridlineShapes, plotAreaWidth + padding, transform, plotAreaWidth);
241
+ DApplications.update(plotArea);
236
242
  }
237
243
  break;
238
244
  }
@@ -1 +1 @@
1
- {"version":3,"file":"d-chart-axis-base.js","sourceRoot":"","sources":["../../../src/main/typescript/wcardinal/ui/d-chart-axis-base.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAMH,OAAO,EAEN,0BAA0B,EAE1B,MAAM,oCAAoC,CAAC;AAE5C,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAE7D,OAAO,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AAEjE,OAAO,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAC;AACxD,OAAO,EAAE,iBAAiB,EAAE,MAAM,sCAAsC,CAAC;AACzE,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAE3C,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAEtC;IAiBC,wBAAY,OAAiB;QAC5B,IAAM,KAAK,GAAG,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;QACpC,IAAI,CAAC,MAAM,GAAG,KAAK,CAAC;QACpB,IAAI,CAAC,MAAM,GAAG,CAAC,CAAC;QAEhB,IAAM,MAAM,GAAG,IAAI,0BAA0B,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;QAC9D,IAAI,CAAC,gBAAgB,GAAG,MAAM,CAAC,eAAe,CAAC;QAC/C,IAAI,CAAC,QAAQ,GAAG,MAAM,CAAC,OAAO,CAAC;QAC/B,IAAI,CAAC,SAAS,GAAG,MAAM,CAAC,QAAQ,CAAC;QACjC,IAAM,IAAI,GAAG,MAAM,CAAC,IAAI,CAAC;QACzB,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC;QAClB,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC,KAAK,CAAC;QAC3B,IAAI,CAAC,IAAI,GAAG,MAAM,CAAC,GAAG,CAAC;QACvB,IAAM,cAAc,GAAG,IAAI,CAAC,KAAK,CAAC,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AAC,IAAI,IAAI,CAAC,eAAe,EAAE,CAAC;IAC7D,CAAC;IAES,wCAAe,GAAzB;QACC,OAAO,OAAO,CAAC,WAAW,EAAE,CAAC,GAAG,CAAC,IAAI,CAAC,OAAO,EAAE,CAAC,CAAC;IAClD,CAAC;IAES,gCAAO,GAAjB;QACC,OAAO,gBAAgB,CAAC;IACzB,CAAC;IACF,qBAAC;AAAD,CAAC,AAhiBD,IAgiBC","sourcesContent":["/*\n * Copyright (C) 2019 Toshiba Corporation\n * SPDX-License-Identifier: Apache-2.0\n */\n\nimport { Matrix } from \"pixi.js\";\nimport { DBase } from \"./d-base\";\nimport { DChartAxis } from \"./d-chart-axis\";\nimport { DChartAxisBaseOptions, DThemeChartAxisBase } from \"./d-chart-axis-base-options\";\nimport {\n\tDChartAxisBaseBar,\n\tDChartAxisBaseOptionParser,\n\tDChartAxisBaseTickContainer\n} from \"./d-chart-axis-base-options-parser\";\nimport { DChartAxisContainer } from \"./d-chart-axis-container\";\nimport { DChartAxisPosition } from \"./d-chart-axis-position\";\nimport { DChartCoordinate } from \"./d-chart-coordinate\";\nimport { EShapePointsStyle } from \"./shape/e-shape-points-style\";\nimport { EShapeTextLike } from \"./shape/e-shape-text\";\nimport { EShapeBar } from \"./shape/variant/e-shape-bar\";\nimport { EShapeBarPosition } from \"./shape/variant/e-shape-bar-position\";\nimport { DThemes } from \"./theme/d-themes\";\nimport { DeepPartial } from \"./util/deep-partial\";\nimport { isNaN } from \"./util/is-nan\";\n\nexport class DChartAxisBase<\n\tCHART extends DBase = DBase,\n\tOPTIONS extends DChartAxisBaseOptions = DChartAxisBaseOptions\n> implements DChartAxis<CHART>\n{\n\tprotected _coordinateIndex: number;\n\tprotected _padding: number;\n\tprotected _position: DChartAxisPosition;\n\tprotected _container?: DChartAxisContainer<CHART>;\n\tprotected _bar: DChartAxisBaseBar;\n\tprotected _index: number;\n\tprotected _tick: DChartAxisBaseTickContainer;\n\tprotected _majorTicks: Float64Array;\n\tprotected _minorTicks: Float64Array;\n\tprotected _label?: DeepPartial<EShapeTextLike>;\n\tprotected _theme: DThemeChartAxisBase;\n\n\tconstructor(options?: OPTIONS) {\n\t\tconst theme = this.toTheme(options);\n\t\tthis._theme = theme;\n\t\tthis._index = 0;\n\n\t\tconst parser = new DChartAxisBaseOptionParser(theme, options);\n\t\tthis._coordinateIndex = parser.coordinateIndex;\n\t\tthis._padding = parser.padding;\n\t\tthis._position = parser.position;\n\t\tconst tick = parser.tick;\n\t\tthis._tick = tick;\n\t\tthis._label = parser.label;\n\t\tthis._bar = parser.bar;\n\t\tconst tickMajorCount = tick.major.count;\n\t\tconst tickMinorCount = tick.minor.count;\n\t\tthis._majorTicks = new Float64Array(tickMajorCount * 3);\n\t\tthis._minorTicks = new Float64Array((tickMajorCount + 1) * tickMinorCount * 3);\n\t}\n\n\tget position(): DChartAxisPosition {\n\t\treturn this._position;\n\t}\n\n\tprotected updateBar(container: DChartAxisContainer<CHART>): void {\n\t\tconst bar = this._bar;\n\t\tconst shape = bar.shape;\n\t\tif (shape) {\n\t\t\tconst plotArea = container.plotArea;\n\t\t\tconst plotAreaWidth = plotArea.width;\n\t\t\tconst plotAreaHeight = plotArea.height;\n\t\t\tconst padding = this._padding * this._index;\n\t\t\tshape.disallowUploadedUpdate();\n\t\t\tconst position = shape.transform.position;\n\t\t\tconst size = shape.size;\n\t\t\tswitch (this._position) {\n\t\t\t\tcase DChartAxisPosition.TOP:\n\t\t\t\t\tposition.set(plotAreaWidth * 0.5, 0 - padding);\n\t\t\t\t\tsize.set(plotAreaWidth, 0);\n\t\t\t\t\tbreak;\n\t\t\t\tcase DChartAxisPosition.BOTTOM:\n\t\t\t\t\tposition.set(plotAreaWidth * 0.5, plotAreaHeight + padding);\n\t\t\t\t\tsize.set(plotAreaWidth, 0);\n\t\t\t\t\tbreak;\n\t\t\t\tcase DChartAxisPosition.LEFT:\n\t\t\t\t\tposition.set(0 - padding, plotAreaHeight * 0.5);\n\t\t\t\t\tsize.set(0, plotAreaHeight);\n\t\t\t\t\tbreak;\n\t\t\t\tcase DChartAxisPosition.RIGHT:\n\t\t\t\t\tposition.set(plotAreaWidth + padding, plotAreaHeight * 0.5);\n\t\t\t\t\tsize.set(0, plotAreaHeight);\n\t\t\t\t\tbreak;\n\t\t\t}\n\t\t\tshape.allowUploadedUpdate();\n\t\t}\n\t}\n\n\tupdateTicksX(\n\t\tdomainMin: number,\n\t\tdomainMax: number,\n\t\tcoordinate: DChartCoordinate<CHART>,\n\t\tmajorShapes: EShapeBar[],\n\t\tminorShapes: EShapeBar[],\n\t\tgridlineShapes: EShapeBar[] | undefined,\n\t\tshapePositionY: number,\n\t\ttransform: Matrix,\n\t\tplotAreaHeight: number\n\t): void {\n\t\tconst tick = this._tick;\n\t\tconst majorTick = tick.major;\n\t\tconst majorCount = majorTick.count;\n\t\tconst majorStep = majorTick.step;\n\t\tconst majorFormatter = majorTick.formatter;\n\t\tconst minorTick = tick.minor;\n\t\tconst minorCountPerMajor = minorTick.count;\n\t\tconst minorCount = (majorCount + 1) * minorCountPerMajor;\n\t\tconst minorStep = minorTick.step;\n\t\tconst majorTicks = this._majorTicks;\n\t\tconst minorTicks = this._minorTicks;\n\t\tcoordinate.ticks(\n\t\t\tdomainMin,\n\t\t\tdomainMax,\n\t\t\tmajorCount,\n\t\t\tmajorStep,\n\t\t\tminorCountPerMajor,\n\t\t\tminorCount,\n\t\t\tminorStep,\n\t\t\tmajorTicks,\n\t\t\tminorTicks\n\t\t);\n\n\t\tconst a = transform.a;\n\t\tconst tx = transform.tx;\n\t\tfor (let i = 0; i < majorCount; ++i) {\n\t\t\tconst majorShape = majorShapes[i];\n\t\t\tconst imajorTick = i * 3;\n\t\t\tconst majorTickPosition = majorTicks[imajorTick + 0];\n\t\t\tif (!isNaN(majorTickPosition)) {\n\t\t\t\tconst majorTickProjectedPosition = majorTicks[imajorTick + 1];\n\t\t\t\tconst majotTickPositionX = a * majorTickProjectedPosition + tx;\n\t\t\t\tconst majorTickStep = majorTicks[imajorTick + 2];\n\n\t\t\t\tmajorShape.disallowUploadedUpdate();\n\t\t\t\tmajorShape.visible = true;\n\t\t\t\tmajorShape.transform.position.set(majotTickPositionX, shapePositionY);\n\t\t\t\tmajorShape.text.value = majorFormatter.format(majorTickPosition, majorTickStep);\n\t\t\t\tmajorShape.allowUploadedUpdate();\n\n\t\t\t\tif (gridlineShapes) {\n\t\t\t\t\tconst gridlineShape = gridlineShapes[i];\n\t\t\t\t\tgridlineShape.disallowUploadedUpdate();\n\t\t\t\t\tgridlineShape.visible = true;\n\t\t\t\t\tgridlineShape.transform.position.set(majotTickPositionX, plotAreaHeight * 0.5);\n\t\t\t\t\tgridlineShape.size.set(0, plotAreaHeight);\n\t\t\t\t\tgridlineShape.allowUploadedUpdate();\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tmajorShape.visible = false;\n\t\t\t\tif (gridlineShapes) {\n\t\t\t\t\tgridlineShapes[i].visible = false;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tfor (let i = 0; i < minorCount; ++i) {\n\t\t\tconst minorShape = minorShapes[i];\n\t\t\tconst iminorTick = i * 3;\n\t\t\tconst minorTickPosition = minorTicks[iminorTick + 0];\n\t\t\tconst minorTickProjectedPosition = minorTicks[iminorTick + 1];\n\t\t\tif (!isNaN(minorTickPosition)) {\n\t\t\t\tminorShape.disallowUploadedUpdate();\n\t\t\t\tminorShape.visible = true;\n\t\t\t\tminorShape.transform.position.set(\n\t\t\t\t\ta * minorTickProjectedPosition + tx,\n\t\t\t\t\tshapePositionY\n\t\t\t\t);\n\t\t\t\tminorShape.allowUploadedUpdate();\n\t\t\t} else {\n\t\t\t\tminorShape.visible = false;\n\t\t\t}\n\t\t}\n\t}\n\n\tupdateTicksY(\n\t\tdomainMin: number,\n\t\tdomainMax: number,\n\t\tcoordinate: DChartCoordinate<CHART>,\n\t\tmajorShapes: EShapeBar[],\n\t\tminorShapes: EShapeBar[],\n\t\tgridlineShapes: EShapeBar[] | undefined,\n\t\tshapePositionX: number,\n\t\ttransform: Matrix,\n\t\tplotAreaWidth: number\n\t): void {\n\t\tconst tick = this._tick;\n\t\tconst majorTick = tick.major;\n\t\tconst majorCount = majorTick.count;\n\t\tconst majorStep = majorTick.step;\n\t\tconst majorFormatter = majorTick.formatter;\n\t\tconst minorTick = tick.minor;\n\t\tconst minorCountPerMajor = minorTick.count;\n\t\tconst minorCount = (majorCount + 1) * minorCountPerMajor;\n\t\tconst minorStep = minorTick.step;\n\t\tconst majorTicks = this._majorTicks;\n\t\tconst minorTicks = this._minorTicks;\n\t\tcoordinate.ticks(\n\t\t\tdomainMin,\n\t\t\tdomainMax,\n\t\t\tmajorCount,\n\t\t\tmajorStep,\n\t\t\tminorCountPerMajor,\n\t\t\tminorCount,\n\t\t\tminorStep,\n\t\t\tmajorTicks,\n\t\t\tminorTicks\n\t\t);\n\n\t\tconst d = transform.d;\n\t\tconst ty = transform.ty;\n\t\tfor (let i = 0; i < majorCount; ++i) {\n\t\t\tconst majorShape = majorShapes[i];\n\t\t\tconst imajorTick = i * 3;\n\t\t\tconst majorTickPosition = majorTicks[imajorTick + 0];\n\t\t\tif (!isNaN(majorTickPosition)) {\n\t\t\t\tconst majorTickProjectedPosition = majorTicks[imajorTick + 1];\n\t\t\t\tconst majotTickPositionY = d * majorTickProjectedPosition + ty;\n\t\t\t\tconst majorTickStep = majorTicks[imajorTick + 2];\n\n\t\t\t\tmajorShape.disallowUploadedUpdate();\n\t\t\t\tmajorShape.visible = true;\n\t\t\t\tmajorShape.transform.position.set(shapePositionX, majotTickPositionY);\n\t\t\t\tmajorShape.text.value = majorFormatter.format(majorTickPosition, majorTickStep);\n\t\t\t\tmajorShape.allowUploadedUpdate();\n\n\t\t\t\tif (gridlineShapes) {\n\t\t\t\t\tconst gridlineShape = gridlineShapes[i];\n\t\t\t\t\tgridlineShape.disallowUploadedUpdate();\n\t\t\t\t\tgridlineShape.visible = true;\n\t\t\t\t\tgridlineShape.transform.position.set(plotAreaWidth * 0.5, majotTickPositionY);\n\t\t\t\t\tgridlineShape.size.set(plotAreaWidth, 0);\n\t\t\t\t\tgridlineShape.allowUploadedUpdate();\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tmajorShape.visible = false;\n\t\t\t\tif (gridlineShapes) {\n\t\t\t\t\tgridlineShapes[i].visible = false;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tfor (let i = 0; i < minorCount; ++i) {\n\t\t\tconst minorShape = minorShapes[i];\n\t\t\tconst iminorTick = i * 3;\n\t\t\tconst minorTickPosition = minorTicks[iminorTick + 0];\n\t\t\tconst minorTickProjectedPosition = minorTicks[iminorTick + 1];\n\t\t\tif (!isNaN(minorTickPosition)) {\n\t\t\t\tminorShape.disallowUploadedUpdate();\n\t\t\t\tminorShape.visible = true;\n\t\t\t\tminorShape.transform.position.set(\n\t\t\t\t\tshapePositionX,\n\t\t\t\t\td * minorTickProjectedPosition + ty\n\t\t\t\t);\n\t\t\t\tminorShape.allowUploadedUpdate();\n\t\t\t} else {\n\t\t\t\tminorShape.visible = false;\n\t\t\t}\n\t\t}\n\t}\n\n\tprotected updateTicks(container: DChartAxisContainer<CHART>): void {\n\t\tconst tick = this._tick;\n\t\tconst majorShapes = tick.major.shapes;\n\t\tconst minorShapes = tick.minor.shapes;\n\t\tif (majorShapes && minorShapes) {\n\t\t\tconst plotArea = container.plotArea;\n\t\t\tconst bounds = plotArea.getBoundsInContainer();\n\t\t\tconst transform = plotArea.container.transform.localTransform;\n\t\t\tconst gridlineShapes = tick.major.gridline.shapes;\n\n\t\t\tconst coordinateIndex = this._coordinateIndex;\n\t\t\tconst padding = this._padding * this._index;\n\t\t\tlet coordinate: DChartCoordinate<CHART> | null;\n\t\t\tswitch (this._position) {\n\t\t\t\tcase DChartAxisPosition.TOP:\n\t\t\t\t\tcoordinate = plotArea.coordinate.x.get(coordinateIndex);\n\t\t\t\t\tif (coordinate) {\n\t\t\t\t\t\tconst domainFrom = coordinate.unmap(coordinate.transform.unmap(bounds.x));\n\t\t\t\t\t\tconst domainTo = coordinate.unmap(\n\t\t\t\t\t\t\tcoordinate.transform.unmap(bounds.x + bounds.width)\n\t\t\t\t\t\t);\n\t\t\t\t\t\tconst plotAreaHeight = plotArea.height;\n\t\t\t\t\t\tthis.updateTicksX(\n\t\t\t\t\t\t\tdomainFrom,\n\t\t\t\t\t\t\tdomainTo,\n\t\t\t\t\t\t\tcoordinate,\n\t\t\t\t\t\t\tmajorShapes,\n\t\t\t\t\t\t\tminorShapes,\n\t\t\t\t\t\t\tgridlineShapes,\n\t\t\t\t\t\t\t0 - padding,\n\t\t\t\t\t\t\ttransform,\n\t\t\t\t\t\t\tplotAreaHeight\n\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\tcase DChartAxisPosition.BOTTOM:\n\t\t\t\t\tcoordinate = plotArea.coordinate.x.get(coordinateIndex);\n\t\t\t\t\tif (coordinate) {\n\t\t\t\t\t\tconst domainFrom = coordinate.unmap(coordinate.transform.unmap(bounds.x));\n\t\t\t\t\t\tconst domainTo = coordinate.unmap(\n\t\t\t\t\t\t\tcoordinate.transform.unmap(bounds.x + bounds.width)\n\t\t\t\t\t\t);\n\t\t\t\t\t\tconst plotAreaHeight = plotArea.height;\n\t\t\t\t\t\tthis.updateTicksX(\n\t\t\t\t\t\t\tdomainFrom,\n\t\t\t\t\t\t\tdomainTo,\n\t\t\t\t\t\t\tcoordinate,\n\t\t\t\t\t\t\tmajorShapes,\n\t\t\t\t\t\t\tminorShapes,\n\t\t\t\t\t\t\tgridlineShapes,\n\t\t\t\t\t\t\tplotAreaHeight + padding,\n\t\t\t\t\t\t\ttransform,\n\t\t\t\t\t\t\tplotAreaHeight\n\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\tcase DChartAxisPosition.LEFT:\n\t\t\t\t\tcoordinate = plotArea.coordinate.y.get(coordinateIndex);\n\t\t\t\t\tif (coordinate) {\n\t\t\t\t\t\tconst domainFrom = coordinate.unmap(coordinate.transform.unmap(bounds.y));\n\t\t\t\t\t\tconst domainTo = coordinate.unmap(\n\t\t\t\t\t\t\tcoordinate.transform.unmap(bounds.y + bounds.height)\n\t\t\t\t\t\t);\n\t\t\t\t\t\tconst plotAreaWidth = plotArea.width;\n\t\t\t\t\t\tthis.updateTicksY(\n\t\t\t\t\t\t\tdomainFrom,\n\t\t\t\t\t\t\tdomainTo,\n\t\t\t\t\t\t\tcoordinate,\n\t\t\t\t\t\t\tmajorShapes,\n\t\t\t\t\t\t\tminorShapes,\n\t\t\t\t\t\t\tgridlineShapes,\n\t\t\t\t\t\t\t0 - padding,\n\t\t\t\t\t\t\ttransform,\n\t\t\t\t\t\t\tplotAreaWidth\n\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\tcase DChartAxisPosition.RIGHT:\n\t\t\t\t\tcoordinate = plotArea.coordinate.y.get(coordinateIndex);\n\t\t\t\t\tif (coordinate) {\n\t\t\t\t\t\tconst domainFrom = coordinate.unmap(coordinate.transform.unmap(bounds.y));\n\t\t\t\t\t\tconst domainTo = coordinate.unmap(\n\t\t\t\t\t\t\tcoordinate.transform.unmap(bounds.y + bounds.height)\n\t\t\t\t\t\t);\n\t\t\t\t\t\tconst plotAreaWidth = plotArea.width;\n\t\t\t\t\t\tthis.updateTicksY(\n\t\t\t\t\t\t\tdomainFrom,\n\t\t\t\t\t\t\tdomainTo,\n\t\t\t\t\t\t\tcoordinate,\n\t\t\t\t\t\t\tmajorShapes,\n\t\t\t\t\t\t\tminorShapes,\n\t\t\t\t\t\t\tgridlineShapes,\n\t\t\t\t\t\t\tplotAreaWidth + padding,\n\t\t\t\t\t\t\ttransform,\n\t\t\t\t\t\t\tplotAreaWidth\n\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}\n\n\tbind(container: DChartAxisContainer<CHART>, index: number): void {\n\t\tthis._container = container;\n\t\tthis._index = index;\n\t\tconst tickShapeContainer = container.container;\n\n\t\t// Bar\n\t\tconst bar = this._bar;\n\t\tlet barShape = bar.shape;\n\t\tif (!barShape) {\n\t\t\tconst position = this._position;\n\t\t\tconst barPosition =\n\t\t\t\tposition === DChartAxisPosition.LEFT || position === DChartAxisPosition.RIGHT\n\t\t\t\t\t? EShapeBarPosition.TOP\n\t\t\t\t\t: EShapeBarPosition.LEFT;\n\t\t\tconst barStyle = bar.style || EShapePointsStyle.NONE;\n\t\t\tbarShape = new EShapeBar();\n\t\t\tbarShape.points.position = barPosition;\n\t\t\tbarShape.points.style = barStyle;\n\t\t\tbarShape.stroke.copy(bar.stroke);\n\t\t\tbarShape.text.copy(this._label);\n\t\t\tthis._bar.shape = barShape;\n\t\t}\n\t\tbarShape.attach(container.container);\n\n\t\t// Major tick gridline\n\t\tconst tick = this._tick;\n\t\tconst tickMajor = tick.major;\n\t\tconst gridline = tickMajor.gridline;\n\t\tlet gridlineShapes = gridline.shapes;\n\t\tif (!gridlineShapes && tick.enable && gridline.enable) {\n\t\t\tgridlineShapes = [];\n\t\t\tgridline.shapes = gridlineShapes;\n\t\t\tconst position = this._position;\n\t\t\tconst gridlinePosition =\n\t\t\t\tposition === DChartAxisPosition.LEFT || position === DChartAxisPosition.RIGHT\n\t\t\t\t\t? EShapeBarPosition.LEFT\n\t\t\t\t\t: EShapeBarPosition.TOP;\n\t\t\tconst gridlineCount = tickMajor.count;\n\t\t\tconst gridlineStyle = gridline.style || EShapePointsStyle.NONE;\n\t\t\tfor (let i = 0; i < gridlineCount; ++i) {\n\t\t\t\tconst gridlineShape = new EShapeBar();\n\t\t\t\tgridlineShape.points.position = gridlinePosition;\n\t\t\t\tgridlineShape.points.style = gridlineStyle;\n\t\t\t\tgridlineShape.stroke.copy(gridline.stroke);\n\t\t\t\tgridlineShapes.push(gridlineShape);\n\t\t\t}\n\t\t}\n\t\tif (gridlineShapes) {\n\t\t\tfor (let i = 0, imax = gridlineShapes.length; i < imax; ++i) {\n\t\t\t\tgridlineShapes[i].attach(tickShapeContainer);\n\t\t\t}\n\t\t}\n\n\t\t// Major ticks\n\t\tlet tickMajorShapes = tickMajor.shapes;\n\t\tif (!tickMajorShapes && tick.enable) {\n\t\t\ttickMajorShapes = [];\n\t\t\ttickMajor.shapes = tickMajorShapes;\n\t\t\tconst tickMajorCount = tickMajor.count;\n\t\t\tconst tickMajorSize = tickMajor.size;\n\t\t\tconst tickMajorPosition = tickMajor.position;\n\t\t\tconst tickMajorStyle = tickMajor.style || EShapePointsStyle.NONE;\n\t\t\tfor (let i = 0; i < tickMajorCount; ++i) {\n\t\t\t\tconst tickMajorShape = new EShapeBar();\n\t\t\t\ttickMajorShape.points.position = tickMajorPosition;\n\t\t\t\ttickMajorShape.points.size = tickMajorSize;\n\t\t\t\ttickMajorShape.points.style = tickMajorStyle;\n\t\t\t\ttickMajorShape.stroke.copy(tickMajor.stroke);\n\t\t\t\ttickMajorShape.text.copy(tickMajor.text);\n\t\t\t\ttickMajorShape.size.set(0, 0);\n\t\t\t\ttickMajorShapes.push(tickMajorShape);\n\t\t\t}\n\t\t}\n\t\tif (tickMajorShapes) {\n\t\t\tfor (let i = 0, imax = tickMajorShapes.length; i < imax; ++i) {\n\t\t\t\ttickMajorShapes[i].attach(tickShapeContainer);\n\t\t\t}\n\t\t}\n\n\t\t// Minor ticks\n\t\tconst tickMinor = tick.minor;\n\t\tlet tickMinorShapes = tickMinor.shapes;\n\t\tif (!tickMinorShapes && tick.enable) {\n\t\t\ttickMinorShapes = [];\n\t\t\ttickMinor.shapes = tickMinorShapes;\n\t\t\tconst tickMinorCount = tickMinor.count;\n\t\t\tconst tickMinorSize = tickMinor.size;\n\t\t\tconst tickMinorPosition = tickMinor.position;\n\t\t\tconst tickMinorStyle = tickMinor.style || EShapePointsStyle.NONE;\n\t\t\tfor (let i = 0, imax = (tickMajor.count + 1) * tickMinorCount; i < imax; ++i) {\n\t\t\t\tconst tickMinorShape = new EShapeBar();\n\t\t\t\ttickMinorShape.points.position = tickMinorPosition;\n\t\t\t\ttickMinorShape.points.size = tickMinorSize;\n\t\t\t\ttickMinorShape.points.style = tickMinorStyle;\n\t\t\t\ttickMinorShape.stroke.copy(tickMinor.stroke);\n\t\t\t\ttickMinorShape.size.set(0, 0);\n\t\t\t\ttickMinorShapes.push(tickMinorShape);\n\t\t\t}\n\t\t}\n\t\tif (tickMinorShapes) {\n\t\t\tfor (let i = 0, imax = tickMinorShapes.length; i < imax; ++i) {\n\t\t\t\ttickMinorShapes[i].attach(tickShapeContainer);\n\t\t\t}\n\t\t}\n\t}\n\n\tunbind(): void {\n\t\t// Bar\n\t\tconst barShape = this._bar.shape;\n\t\tif (barShape) {\n\t\t\tbarShape.detach();\n\t\t}\n\n\t\t// Major ticks\n\t\tconst tick = this._tick;\n\t\tconst tickMajorShapes = tick.major.shapes;\n\t\tif (tickMajorShapes) {\n\t\t\tfor (let i = 0, imax = tickMajorShapes.length; i < imax; ++i) {\n\t\t\t\ttickMajorShapes[i].detach();\n\t\t\t}\n\t\t}\n\n\t\t// Major tick gridlines\n\t\tconst tickMajorGridlineShapes = tick.major.gridline.shapes;\n\t\tif (tickMajorGridlineShapes) {\n\t\t\tfor (let i = 0, imax = tickMajorGridlineShapes.length; i < imax; ++i) {\n\t\t\t\ttickMajorGridlineShapes[i].detach();\n\t\t\t}\n\t\t}\n\n\t\t// Minor ticks\n\t\tconst tickMinorShapes = tick.minor.shapes;\n\t\tif (tickMinorShapes) {\n\t\t\tfor (let i = 0, imax = tickMinorShapes.length; i < imax; ++i) {\n\t\t\t\ttickMinorShapes[i].detach();\n\t\t\t}\n\t\t}\n\n\t\t//\n\t\tthis._container = undefined;\n\t}\n\n\tupdate(): void {\n\t\tconst container = this._container;\n\t\tif (container) {\n\t\t\tthis.updateBar(container);\n\t\t\tthis.updateTicks(container);\n\t\t}\n\t}\n\n\tdestroy(): void {\n\t\t// Bar\n\t\tconst barShape = this._bar.shape;\n\t\tif (barShape) {\n\t\t\tbarShape.destroy();\n\t\t}\n\n\t\t// Major ticks\n\t\tconst tick = this._tick;\n\t\tconst tickMajorShapes = tick.major.shapes;\n\t\tif (tickMajorShapes) {\n\t\t\tfor (let i = 0, imax = tickMajorShapes.length; i < imax; ++i) {\n\t\t\t\ttickMajorShapes[i].destroy();\n\t\t\t}\n\t\t}\n\n\t\t// Major tick gridlines\n\t\tconst tickMajorGridlineShapes = tick.major.gridline.shapes;\n\t\tif (tickMajorGridlineShapes) {\n\t\t\tfor (let i = 0, imax = tickMajorGridlineShapes.length; i < imax; ++i) {\n\t\t\t\ttickMajorGridlineShapes[i].destroy();\n\t\t\t}\n\t\t}\n\n\t\t// Minor ticks\n\t\tconst tickMinorShapes = tick.minor.shapes;\n\t\tif (tickMinorShapes) {\n\t\t\tfor (let i = 0, imax = tickMinorShapes.length; i < imax; ++i) {\n\t\t\t\ttickMinorShapes[i].destroy();\n\t\t\t}\n\t\t}\n\n\t\t//\n\t\tthis._container = undefined;\n\t}\n\n\tprotected toTheme(options?: DChartAxisBaseOptions): DThemeChartAxisBase {\n\t\treturn (options && options.theme) || this.getThemeDefault();\n\t}\n\n\tprotected getThemeDefault(): DThemeChartAxisBase {\n\t\treturn DThemes.getInstance().get(this.getType());\n\t}\n\n\tprotected getType(): string {\n\t\treturn \"DChartAxisBase\";\n\t}\n}\n"]}
1
+ {"version":3,"file":"d-chart-axis-base.js","sourceRoot":"","sources":["../../../src/main/typescript/wcardinal/ui/d-chart-axis-base.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAGH,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAIjD,OAAO,EAEN,0BAA0B,EAE1B,MAAM,oCAAoC,CAAC;AAE5C,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAE7D,OAAO,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AAEjE,OAAO,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAC;AACxD,OAAO,EAAE,iBAAiB,E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IAES,gCAAO,GAAjB;QACC,OAAO,gBAAgB,CAAC;IACzB,CAAC;IACF,qBAAC;AAAD,CAAC,AAriBD,IAqiBC","sourcesContent":["/*\n * Copyright (C) 2019 Toshiba Corporation\n * SPDX-License-Identifier: Apache-2.0\n */\n\nimport { Matrix } from \"pixi.js\";\nimport { DApplications } from \"./d-applications\";\nimport { DBase } from \"./d-base\";\nimport { DChartAxis } from \"./d-chart-axis\";\nimport { DChartAxisBaseOptions, DThemeChartAxisBase } from \"./d-chart-axis-base-options\";\nimport {\n\tDChartAxisBaseBar,\n\tDChartAxisBaseOptionParser,\n\tDChartAxisBaseTickContainer\n} from \"./d-chart-axis-base-options-parser\";\nimport { DChartAxisContainer } from \"./d-chart-axis-container\";\nimport { DChartAxisPosition } from \"./d-chart-axis-position\";\nimport { DChartCoordinate } from \"./d-chart-coordinate\";\nimport { EShapePointsStyle } from \"./shape/e-shape-points-style\";\nimport { EShapeTextLike } from \"./shape/e-shape-text\";\nimport { EShapeBar } from \"./shape/variant/e-shape-bar\";\nimport { EShapeBarPosition } from \"./shape/variant/e-shape-bar-position\";\nimport { DThemes } from \"./theme/d-themes\";\nimport { DeepPartial } from \"./util/deep-partial\";\nimport { isNaN } from \"./util/is-nan\";\n\nexport class DChartAxisBase<\n\tCHART extends DBase = DBase,\n\tOPTIONS extends DChartAxisBaseOptions = DChartAxisBaseOptions\n> implements DChartAxis<CHART>\n{\n\tprotected _coordinateIndex: number;\n\tprotected _padding: number;\n\tprotected _position: DChartAxisPosition;\n\tprotected _container?: DChartAxisContainer<CHART>;\n\tprotected _bar: DChartAxisBaseBar;\n\tprotected _index: number;\n\tprotected _tick: DChartAxisBaseTickContainer;\n\tprotected _majorTicks: Float64Array;\n\tprotected _minorTicks: Float64Array;\n\tprotected _label?: DeepPartial<EShapeTextLike>;\n\tprotected _theme: DThemeChartAxisBase;\n\n\tconstructor(options?: OPTIONS) {\n\t\tconst theme = this.toTheme(options);\n\t\tthis._theme = theme;\n\t\tthis._index = 0;\n\n\t\tconst parser = new DChartAxisBaseOptionParser(theme, options);\n\t\tthis._coordinateIndex = parser.coordinateIndex;\n\t\tthis._padding = parser.padding;\n\t\tthis._position = parser.position;\n\t\tconst tick = parser.tick;\n\t\tthis._tick = tick;\n\t\tthis._label = parser.label;\n\t\tthis._bar = parser.bar;\n\t\tconst tickMajorCount = tick.major.count;\n\t\tconst tickMinorCount = tick.minor.count;\n\t\tthis._majorTicks = new Float64Array(tickMajorCount * 3);\n\t\tthis._minorTicks = new Float64Array((tickMajorCount + 1) * tickMinorCount * 3);\n\t}\n\n\tget position(): DChartAxisPosition {\n\t\treturn this._position;\n\t}\n\n\tprotected updateBar(container: DChartAxisContainer<CHART>): void {\n\t\tconst bar = this._bar;\n\t\tconst shape = bar.shape;\n\t\tif (shape) {\n\t\t\tconst plotArea = container.plotArea;\n\t\t\tconst plotAreaWidth = plotArea.width;\n\t\t\tconst plotAreaHeight = plotArea.height;\n\t\t\tconst padding = this._padding * this._index;\n\t\t\tshape.disallowUploadedUpdate();\n\t\t\tconst position = shape.transform.position;\n\t\t\tconst size = shape.size;\n\t\t\tswitch (this._position) {\n\t\t\t\tcase DChartAxisPosition.TOP:\n\t\t\t\t\tposition.set(plotAreaWidth * 0.5, 0 - padding);\n\t\t\t\t\tsize.set(plotAreaWidth, 0);\n\t\t\t\t\tbreak;\n\t\t\t\tcase DChartAxisPosition.BOTTOM:\n\t\t\t\t\tposition.set(plotAreaWidth * 0.5, plotAreaHeight + padding);\n\t\t\t\t\tsize.set(plotAreaWidth, 0);\n\t\t\t\t\tbreak;\n\t\t\t\tcase DChartAxisPosition.LEFT:\n\t\t\t\t\tposition.set(0 - padding, plotAreaHeight * 0.5);\n\t\t\t\t\tsize.set(0, plotAreaHeight);\n\t\t\t\t\tbreak;\n\t\t\t\tcase DChartAxisPosition.RIGHT:\n\t\t\t\t\tposition.set(plotAreaWidth + padding, plotAreaHeight * 0.5);\n\t\t\t\t\tsize.set(0, plotAreaHeight);\n\t\t\t\t\tbreak;\n\t\t\t}\n\t\t\tshape.allowUploadedUpdate();\n\t\t\tDApplications.update(plotArea);\n\t\t}\n\t}\n\n\tprotected updateTicksX(\n\t\tdomainMin: number,\n\t\tdomainMax: number,\n\t\tcoordinate: DChartCoordinate<CHART>,\n\t\tmajorShapes: EShapeBar[],\n\t\tminorShapes: EShapeBar[],\n\t\tgridlineShapes: EShapeBar[] | undefined,\n\t\tshapePositionY: number,\n\t\ttransform: Matrix,\n\t\tplotAreaHeight: number\n\t): void {\n\t\tconst tick = this._tick;\n\t\tconst majorTick = tick.major;\n\t\tconst majorCount = majorTick.count;\n\t\tconst majorStep = majorTick.step;\n\t\tconst majorFormatter = majorTick.formatter;\n\t\tconst minorTick = tick.minor;\n\t\tconst minorCountPerMajor = minorTick.count;\n\t\tconst minorCount = (majorCount + 1) * minorCountPerMajor;\n\t\tconst minorStep = minorTick.step;\n\t\tconst majorTicks = this._majorTicks;\n\t\tconst minorTicks = this._minorTicks;\n\t\tcoordinate.ticks(\n\t\t\tdomainMin,\n\t\t\tdomainMax,\n\t\t\tmajorCount,\n\t\t\tmajorStep,\n\t\t\tminorCountPerMajor,\n\t\t\tminorCount,\n\t\t\tminorStep,\n\t\t\tmajorTicks,\n\t\t\tminorTicks\n\t\t);\n\n\t\tconst a = transform.a;\n\t\tconst tx = transform.tx;\n\t\tfor (let i = 0; i < majorCount; ++i) {\n\t\t\tconst majorShape = majorShapes[i];\n\t\t\tconst imajorTick = i * 3;\n\t\t\tconst majorTickPosition = majorTicks[imajorTick + 0];\n\t\t\tif (!isNaN(majorTickPosition)) {\n\t\t\t\tconst majorTickProjectedPosition = majorTicks[imajorTick + 1];\n\t\t\t\tconst majotTickPositionX = a * majorTickProjectedPosition + tx;\n\t\t\t\tconst majorTickStep = majorTicks[imajorTick + 2];\n\n\t\t\t\tmajorShape.disallowUploadedUpdate();\n\t\t\t\tmajorShape.visible = true;\n\t\t\t\tmajorShape.transform.position.set(majotTickPositionX, shapePositionY);\n\t\t\t\tmajorShape.text.value = majorFormatter.format(majorTickPosition, majorTickStep);\n\t\t\t\tmajorShape.allowUploadedUpdate();\n\n\t\t\t\tif (gridlineShapes) {\n\t\t\t\t\tconst gridlineShape = gridlineShapes[i];\n\t\t\t\t\tgridlineShape.disallowUploadedUpdate();\n\t\t\t\t\tgridlineShape.visible = true;\n\t\t\t\t\tgridlineShape.transform.position.set(majotTickPositionX, plotAreaHeight * 0.5);\n\t\t\t\t\tgridlineShape.size.set(0, plotAreaHeight);\n\t\t\t\t\tgridlineShape.allowUploadedUpdate();\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tmajorShape.visible = false;\n\t\t\t\tif (gridlineShapes) {\n\t\t\t\t\tgridlineShapes[i].visible = false;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tfor (let i = 0; i < minorCount; ++i) {\n\t\t\tconst minorShape = minorShapes[i];\n\t\t\tconst iminorTick = i * 3;\n\t\t\tconst minorTickPosition = minorTicks[iminorTick + 0];\n\t\t\tconst minorTickProjectedPosition = minorTicks[iminorTick + 1];\n\t\t\tif (!isNaN(minorTickPosition)) {\n\t\t\t\tminorShape.disallowUploadedUpdate();\n\t\t\t\tminorShape.visible = true;\n\t\t\t\tminorShape.transform.position.set(\n\t\t\t\t\ta * minorTickProjectedPosition + tx,\n\t\t\t\t\tshapePositionY\n\t\t\t\t);\n\t\t\t\tminorShape.allowUploadedUpdate();\n\t\t\t} else {\n\t\t\t\tminorShape.visible = false;\n\t\t\t}\n\t\t}\n\t}\n\n\tprotected updateTicksY(\n\t\tdomainMin: number,\n\t\tdomainMax: number,\n\t\tcoordinate: DChartCoordinate<CHART>,\n\t\tmajorShapes: EShapeBar[],\n\t\tminorShapes: EShapeBar[],\n\t\tgridlineShapes: EShapeBar[] | undefined,\n\t\tshapePositionX: number,\n\t\ttransform: Matrix,\n\t\tplotAreaWidth: number\n\t): void {\n\t\tconst tick = this._tick;\n\t\tconst majorTick = tick.major;\n\t\tconst majorCount = majorTick.count;\n\t\tconst majorStep = majorTick.step;\n\t\tconst majorFormatter = majorTick.formatter;\n\t\tconst minorTick = tick.minor;\n\t\tconst minorCountPerMajor = minorTick.count;\n\t\tconst minorCount = (majorCount + 1) * minorCountPerMajor;\n\t\tconst minorStep = minorTick.step;\n\t\tconst majorTicks = this._majorTicks;\n\t\tconst minorTicks = this._minorTicks;\n\t\tcoordinate.ticks(\n\t\t\tdomainMin,\n\t\t\tdomainMax,\n\t\t\tmajorCount,\n\t\t\tmajorStep,\n\t\t\tminorCountPerMajor,\n\t\t\tminorCount,\n\t\t\tminorStep,\n\t\t\tmajorTicks,\n\t\t\tminorTicks\n\t\t);\n\n\t\tconst d = transform.d;\n\t\tconst ty = transform.ty;\n\t\tfor (let i = 0; i < majorCount; ++i) {\n\t\t\tconst majorShape = majorShapes[i];\n\t\t\tconst imajorTick = i * 3;\n\t\t\tconst majorTickPosition = majorTicks[imajorTick + 0];\n\t\t\tif (!isNaN(majorTickPosition)) {\n\t\t\t\tconst majorTickProjectedPosition = majorTicks[imajorTick + 1];\n\t\t\t\tconst majotTickPositionY = d * majorTickProjectedPosition + ty;\n\t\t\t\tconst majorTickStep = majorTicks[imajorTick + 2];\n\n\t\t\t\tmajorShape.disallowUploadedUpdate();\n\t\t\t\tmajorShape.visible = true;\n\t\t\t\tmajorShape.transform.position.set(shapePositionX, majotTickPositionY);\n\t\t\t\tmajorShape.text.value = majorFormatter.format(majorTickPosition, majorTickStep);\n\t\t\t\tmajorShape.allowUploadedUpdate();\n\n\t\t\t\tif (gridlineShapes) {\n\t\t\t\t\tconst gridlineShape = gridlineShapes[i];\n\t\t\t\t\tgridlineShape.disallowUploadedUpdate();\n\t\t\t\t\tgridlineShape.visible = true;\n\t\t\t\t\tgridlineShape.transform.position.set(plotAreaWidth * 0.5, majotTickPositionY);\n\t\t\t\t\tgridlineShape.size.set(plotAreaWidth, 0);\n\t\t\t\t\tgridlineShape.allowUploadedUpdate();\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tmajorShape.visible = false;\n\t\t\t\tif (gridlineShapes) {\n\t\t\t\t\tgridlineShapes[i].visible = false;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tfor (let i = 0; i < minorCount; ++i) {\n\t\t\tconst minorShape = minorShapes[i];\n\t\t\tconst iminorTick = i * 3;\n\t\t\tconst minorTickPosition = minorTicks[iminorTick + 0];\n\t\t\tconst minorTickProjectedPosition = minorTicks[iminorTick + 1];\n\t\t\tif (!isNaN(minorTickPosition)) {\n\t\t\t\tminorShape.disallowUploadedUpdate();\n\t\t\t\tminorShape.visible = true;\n\t\t\t\tminorShape.transform.position.set(\n\t\t\t\t\tshapePositionX,\n\t\t\t\t\td * minorTickProjectedPosition + ty\n\t\t\t\t);\n\t\t\t\tminorShape.allowUploadedUpdate();\n\t\t\t} else {\n\t\t\t\tminorShape.visible = false;\n\t\t\t}\n\t\t}\n\t}\n\n\tprotected updateTicks(container: DChartAxisContainer<CHART>): void {\n\t\tconst tick = this._tick;\n\t\tconst majorShapes = tick.major.shapes;\n\t\tconst minorShapes = tick.minor.shapes;\n\t\tif (majorShapes && minorShapes) {\n\t\t\tconst plotArea = container.plotArea;\n\t\t\tconst bounds = plotArea.getBoundsInContainer();\n\t\t\tconst transform = plotArea.container.transform.localTransform;\n\t\t\tconst gridlineShapes = tick.major.gridline.shapes;\n\n\t\t\tconst coordinateIndex = this._coordinateIndex;\n\t\t\tconst padding = this._padding * this._index;\n\t\t\tlet coordinate: DChartCoordinate<CHART> | null;\n\t\t\tswitch (this._position) {\n\t\t\t\tcase DChartAxisPosition.TOP:\n\t\t\t\t\tcoordinate = plotArea.coordinate.x.get(coordinateIndex);\n\t\t\t\t\tif (coordinate) {\n\t\t\t\t\t\tconst domainFrom = coordinate.unmap(coordinate.transform.unmap(bounds.x));\n\t\t\t\t\t\tconst domainTo = coordinate.unmap(\n\t\t\t\t\t\t\tcoordinate.transform.unmap(bounds.x + bounds.width)\n\t\t\t\t\t\t);\n\t\t\t\t\t\tconst plotAreaHeight = plotArea.height;\n\t\t\t\t\t\tthis.updateTicksX(\n\t\t\t\t\t\t\tdomainFrom,\n\t\t\t\t\t\t\tdomainTo,\n\t\t\t\t\t\t\tcoordinate,\n\t\t\t\t\t\t\tmajorShapes,\n\t\t\t\t\t\t\tminorShapes,\n\t\t\t\t\t\t\tgridlineShapes,\n\t\t\t\t\t\t\t0 - padding,\n\t\t\t\t\t\t\ttransform,\n\t\t\t\t\t\t\tplotAreaHeight\n\t\t\t\t\t\t);\n\t\t\t\t\t\tDApplications.update(plotArea);\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\tcase DChartAxisPosition.BOTTOM:\n\t\t\t\t\tcoordinate = plotArea.coordinate.x.get(coordinateIndex);\n\t\t\t\t\tif (coordinate) {\n\t\t\t\t\t\tconst domainFrom = coordinate.unmap(coordinate.transform.unmap(bounds.x));\n\t\t\t\t\t\tconst domainTo = coordinate.unmap(\n\t\t\t\t\t\t\tcoordinate.transform.unmap(bounds.x + bounds.width)\n\t\t\t\t\t\t);\n\t\t\t\t\t\tconst plotAreaHeight = plotArea.height;\n\t\t\t\t\t\tthis.updateTicksX(\n\t\t\t\t\t\t\tdomainFrom,\n\t\t\t\t\t\t\tdomainTo,\n\t\t\t\t\t\t\tcoordinate,\n\t\t\t\t\t\t\tmajorShapes,\n\t\t\t\t\t\t\tminorShapes,\n\t\t\t\t\t\t\tgridlineShapes,\n\t\t\t\t\t\t\tplotAreaHeight + padding,\n\t\t\t\t\t\t\ttransform,\n\t\t\t\t\t\t\tplotAreaHeight\n\t\t\t\t\t\t);\n\t\t\t\t\t\tDApplications.update(plotArea);\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\tcase DChartAxisPosition.LEFT:\n\t\t\t\t\tcoordinate = plotArea.coordinate.y.get(coordinateIndex);\n\t\t\t\t\tif (coordinate) {\n\t\t\t\t\t\tconst domainFrom = coordinate.unmap(coordinate.transform.unmap(bounds.y));\n\t\t\t\t\t\tconst domainTo = coordinate.unmap(\n\t\t\t\t\t\t\tcoordinate.transform.unmap(bounds.y + bounds.height)\n\t\t\t\t\t\t);\n\t\t\t\t\t\tconst plotAreaWidth = plotArea.width;\n\t\t\t\t\t\tthis.updateTicksY(\n\t\t\t\t\t\t\tdomainFrom,\n\t\t\t\t\t\t\tdomainTo,\n\t\t\t\t\t\t\tcoordinate,\n\t\t\t\t\t\t\tmajorShapes,\n\t\t\t\t\t\t\tminorShapes,\n\t\t\t\t\t\t\tgridlineShapes,\n\t\t\t\t\t\t\t0 - padding,\n\t\t\t\t\t\t\ttransform,\n\t\t\t\t\t\t\tplotAreaWidth\n\t\t\t\t\t\t);\n\t\t\t\t\t\tDApplications.update(plotArea);\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\tcase DChartAxisPosition.RIGHT:\n\t\t\t\t\tcoordinate = plotArea.coordinate.y.get(coordinateIndex);\n\t\t\t\t\tif (coordinate) {\n\t\t\t\t\t\tconst domainFrom = coordinate.unmap(coordinate.transform.unmap(bounds.y));\n\t\t\t\t\t\tconst domainTo = coordinate.unmap(\n\t\t\t\t\t\t\tcoordinate.transform.unmap(bounds.y + bounds.height)\n\t\t\t\t\t\t);\n\t\t\t\t\t\tconst plotAreaWidth = plotArea.width;\n\t\t\t\t\t\tthis.updateTicksY(\n\t\t\t\t\t\t\tdomainFrom,\n\t\t\t\t\t\t\tdomainTo,\n\t\t\t\t\t\t\tcoordinate,\n\t\t\t\t\t\t\tmajorShapes,\n\t\t\t\t\t\t\tminorShapes,\n\t\t\t\t\t\t\tgridlineShapes,\n\t\t\t\t\t\t\tplotAreaWidth + padding,\n\t\t\t\t\t\t\ttransform,\n\t\t\t\t\t\t\tplotAreaWidth\n\t\t\t\t\t\t);\n\t\t\t\t\t\tDApplications.update(plotArea);\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}\n\n\tbind(container: DChartAxisContainer<CHART>, index: number): void {\n\t\tthis._container = container;\n\t\tthis._index = index;\n\t\tconst tickShapeContainer = container.container;\n\n\t\t// Bar\n\t\tconst bar = this._bar;\n\t\tlet barShape = bar.shape;\n\t\tif (!barShape) {\n\t\t\tconst position = this._position;\n\t\t\tconst barPosition =\n\t\t\t\tposition === DChartAxisPosition.LEFT || position === DChartAxisPosition.RIGHT\n\t\t\t\t\t? EShapeBarPosition.TOP\n\t\t\t\t\t: EShapeBarPosition.LEFT;\n\t\t\tconst barStyle = bar.style || EShapePointsStyle.NONE;\n\t\t\tbarShape = new EShapeBar();\n\t\t\tbarShape.points.position = barPosition;\n\t\t\tbarShape.points.style = barStyle;\n\t\t\tbarShape.stroke.copy(bar.stroke);\n\t\t\tbarShape.text.copy(this._label);\n\t\t\tthis._bar.shape = barShape;\n\t\t}\n\t\tbarShape.attach(container.container);\n\n\t\t// Major tick gridline\n\t\tconst tick = this._tick;\n\t\tconst tickMajor = tick.major;\n\t\tconst gridline = tickMajor.gridline;\n\t\tlet gridlineShapes = gridline.shapes;\n\t\tif (!gridlineShapes && tick.enable && gridline.enable) {\n\t\t\tgridlineShapes = [];\n\t\t\tgridline.shapes = gridlineShapes;\n\t\t\tconst position = this._position;\n\t\t\tconst gridlinePosition =\n\t\t\t\tposition === DChartAxisPosition.LEFT || position === DChartAxisPosition.RIGHT\n\t\t\t\t\t? EShapeBarPosition.LEFT\n\t\t\t\t\t: EShapeBarPosition.TOP;\n\t\t\tconst gridlineCount = tickMajor.count;\n\t\t\tconst gridlineStyle = gridline.style || EShapePointsStyle.NONE;\n\t\t\tfor (let i = 0; i < gridlineCount; ++i) {\n\t\t\t\tconst gridlineShape = new EShapeBar();\n\t\t\t\tgridlineShape.points.position = gridlinePosition;\n\t\t\t\tgridlineShape.points.style = gridlineStyle;\n\t\t\t\tgridlineShape.stroke.copy(gridline.stroke);\n\t\t\t\tgridlineShapes.push(gridlineShape);\n\t\t\t}\n\t\t}\n\t\tif (gridlineShapes) {\n\t\t\tfor (let i = 0, imax = gridlineShapes.length; i < imax; ++i) {\n\t\t\t\tgridlineShapes[i].attach(tickShapeContainer);\n\t\t\t}\n\t\t}\n\n\t\t// Major ticks\n\t\tlet tickMajorShapes = tickMajor.shapes;\n\t\tif (!tickMajorShapes && tick.enable) {\n\t\t\ttickMajorShapes = [];\n\t\t\ttickMajor.shapes = tickMajorShapes;\n\t\t\tconst tickMajorCount = tickMajor.count;\n\t\t\tconst tickMajorSize = tickMajor.size;\n\t\t\tconst tickMajorPosition = tickMajor.position;\n\t\t\tconst tickMajorStyle = tickMajor.style || EShapePointsStyle.NONE;\n\t\t\tfor (let i = 0; i < tickMajorCount; ++i) {\n\t\t\t\tconst tickMajorShape = new EShapeBar();\n\t\t\t\ttickMajorShape.points.position = tickMajorPosition;\n\t\t\t\ttickMajorShape.points.size = tickMajorSize;\n\t\t\t\ttickMajorShape.points.style = tickMajorStyle;\n\t\t\t\ttickMajorShape.stroke.copy(tickMajor.stroke);\n\t\t\t\ttickMajorShape.text.copy(tickMajor.text);\n\t\t\t\ttickMajorShape.size.set(0, 0);\n\t\t\t\ttickMajorShapes.push(tickMajorShape);\n\t\t\t}\n\t\t}\n\t\tif (tickMajorShapes) {\n\t\t\tfor (let i = 0, imax = tickMajorShapes.length; i < imax; ++i) {\n\t\t\t\ttickMajorShapes[i].attach(tickShapeContainer);\n\t\t\t}\n\t\t}\n\n\t\t// Minor ticks\n\t\tconst tickMinor = tick.minor;\n\t\tlet tickMinorShapes = tickMinor.shapes;\n\t\tif (!tickMinorShapes && tick.enable) {\n\t\t\ttickMinorShapes = [];\n\t\t\ttickMinor.shapes = tickMinorShapes;\n\t\t\tconst tickMinorCount = tickMinor.count;\n\t\t\tconst tickMinorSize = tickMinor.size;\n\t\t\tconst tickMinorPosition = tickMinor.position;\n\t\t\tconst tickMinorStyle = tickMinor.style || EShapePointsStyle.NONE;\n\t\t\tfor (let i = 0, imax = (tickMajor.count + 1) * tickMinorCount; i < imax; ++i) {\n\t\t\t\tconst tickMinorShape = new EShapeBar();\n\t\t\t\ttickMinorShape.points.position = tickMinorPosition;\n\t\t\t\ttickMinorShape.points.size = tickMinorSize;\n\t\t\t\ttickMinorShape.points.style = tickMinorStyle;\n\t\t\t\ttickMinorShape.stroke.copy(tickMinor.stroke);\n\t\t\t\ttickMinorShape.size.set(0, 0);\n\t\t\t\ttickMinorShapes.push(tickMinorShape);\n\t\t\t}\n\t\t}\n\t\tif (tickMinorShapes) {\n\t\t\tfor (let i = 0, imax = tickMinorShapes.length; i < imax; ++i) {\n\t\t\t\ttickMinorShapes[i].attach(tickShapeContainer);\n\t\t\t}\n\t\t}\n\t}\n\n\tunbind(): void {\n\t\t// Bar\n\t\tconst barShape = this._bar.shape;\n\t\tif (barShape) {\n\t\t\tbarShape.detach();\n\t\t}\n\n\t\t// Major ticks\n\t\tconst tick = this._tick;\n\t\tconst tickMajorShapes = tick.major.shapes;\n\t\tif (tickMajorShapes) {\n\t\t\tfor (let i = 0, imax = tickMajorShapes.length; i < imax; ++i) {\n\t\t\t\ttickMajorShapes[i].detach();\n\t\t\t}\n\t\t}\n\n\t\t// Major tick gridlines\n\t\tconst tickMajorGridlineShapes = tick.major.gridline.shapes;\n\t\tif (tickMajorGridlineShapes) {\n\t\t\tfor (let i = 0, imax = tickMajorGridlineShapes.length; i < imax; ++i) {\n\t\t\t\ttickMajorGridlineShapes[i].detach();\n\t\t\t}\n\t\t}\n\n\t\t// Minor ticks\n\t\tconst tickMinorShapes = tick.minor.shapes;\n\t\tif (tickMinorShapes) {\n\t\t\tfor (let i = 0, imax = tickMinorShapes.length; i < imax; ++i) {\n\t\t\t\ttickMinorShapes[i].detach();\n\t\t\t}\n\t\t}\n\n\t\t//\n\t\tthis._container = undefined;\n\t}\n\n\tupdate(): void {\n\t\tconst container = this._container;\n\t\tif (container) {\n\t\t\tthis.updateBar(container);\n\t\t\tthis.updateTicks(container);\n\t\t}\n\t}\n\n\tdestroy(): void {\n\t\t// Bar\n\t\tconst barShape = this._bar.shape;\n\t\tif (barShape) {\n\t\t\tbarShape.destroy();\n\t\t}\n\n\t\t// Major ticks\n\t\tconst tick = this._tick;\n\t\tconst tickMajorShapes = tick.major.shapes;\n\t\tif (tickMajorShapes) {\n\t\t\tfor (let i = 0, imax = tickMajorShapes.length; i < imax; ++i) {\n\t\t\t\ttickMajorShapes[i].destroy();\n\t\t\t}\n\t\t}\n\n\t\t// Major tick gridlines\n\t\tconst tickMajorGridlineShapes = tick.major.gridline.shapes;\n\t\tif (tickMajorGridlineShapes) {\n\t\t\tfor (let i = 0, imax = tickMajorGridlineShapes.length; i < imax; ++i) {\n\t\t\t\ttickMajorGridlineShapes[i].destroy();\n\t\t\t}\n\t\t}\n\n\t\t// Minor ticks\n\t\tconst tickMinorShapes = tick.minor.shapes;\n\t\tif (tickMinorShapes) {\n\t\t\tfor (let i = 0, imax = tickMinorShapes.length; i < imax; ++i) {\n\t\t\t\ttickMinorShapes[i].destroy();\n\t\t\t}\n\t\t}\n\n\t\t//\n\t\tthis._container = undefined;\n\t}\n\n\tprotected toTheme(options?: DChartAxisBaseOptions): DThemeChartAxisBase {\n\t\treturn (options && options.theme) || this.getThemeDefault();\n\t}\n\n\tprotected getThemeDefault(): DThemeChartAxisBase {\n\t\treturn DThemes.getInstance().get(this.getType());\n\t}\n\n\tprotected getType(): string {\n\t\treturn \"DChartAxisBase\";\n\t}\n}\n"]}
@@ -104,7 +104,7 @@ var DChartSeriesBase = /** @class */ (function (_super) {
104
104
  DChartSeriesBase.prototype.onShow = function () {
105
105
  var shape = this.shape;
106
106
  if (shape != null) {
107
- shape.visible = false;
107
+ shape.visible = true;
108
108
  }
109
109
  };
110
110
  DChartSeriesBase.prototype.isShown = function () {
@@ -1 +1 @@
1
- {"version":3,"file":"d-chart-series-base.js","sourceRoot":"","sources":["../../../src/main/typescript/wcardinal/ui/d-chart-series-base.ts"],"names":[],"mappings":"AAAA;;;GAGG;;AAEH,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,aAAa,EAAE,MAAM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,CACS,KAAK,CAAC,YAAY,GAqJ1B","sourcesContent":["/*\n * Copyright (C) 2019 Toshiba Corporation\n * SPDX-License-Identifier: Apache-2.0\n */\n\nimport { utils } from \"pixi.js\";\nimport { DApplications } from \"./d-applications\";\nimport { DBase, DBaseOnOptions } from \"./d-base\";\nimport { DBaseStateSet } from \"./d-base-state-set\";\nimport { DBaseStateSetImplObservable } from \"./d-base-state-set-impl-observable\";\nimport { DChartRegionImmutable } from \"./d-chart-region\";\nimport { DChartRegionImpl } from \"./d-chart-region-impl\";\nimport { DChartSeries, DChartSeriesHitResult } from \"./d-chart-series\";\nimport { DChartSeriesBaseCoordinateContainer } from \"./d-chart-series-base-coordinate-container\";\nimport { DChartSeriesContainer } from \"./d-chart-series-container\";\nimport {\n\tDChartSeriesCoordinateContainer,\n\tDChartSeriesCoordinateContainerOptions\n} from \"./d-chart-series-coordinate-container\";\nimport { EShape } from \"./shape/e-shape\";\n\n/**\n * {@link DChartSeriesBase} options.\n */\nexport interface DChartSeriesBaseOptions<EMITTER = any> {\n\tcoordinate?: DChartSeriesCoordinateContainerOptions;\n\ton?: DBaseOnOptions<EMITTER>;\n}\n\n/**\n * A series represents a polyline.\n */\nexport abstract class DChartSeriesBase<CHART extends DBase = DBase>\n\textends utils.EventEmitter\n\timplements DChartSeries<CHART>\n{\n\tprotected _coordinate: DChartSeriesBaseCoordinateContainer<CHART>;\n\n\tprotected _container?: DChartSeriesContainer<CHART>;\n\tprotected _index: number;\n\n\tprotected _domain: DChartRegionImpl;\n\tprotected _range: DChartRegionImpl;\n\tprotected _regionPointId: number;\n\n\tprotected _state: DBaseStateSet;\n\tprotected _isShown: boolean;\n\n\tabstract readonly shape: EShape | null;\n\n\tconstructor(options?: DChartSeriesBaseOptions) {\n\t\tsuper();\n\n\t\tthis._coordinate = new DChartSeriesBaseCoordinateContainer(this, options?.coordinate);\n\t\tthis._index = 0;\n\t\tthis._domain = new DChartRegionImpl(NaN, NaN);\n\t\tthis._range = new DChartRegionImpl(NaN, NaN);\n\t\tthis._regionPointId = NaN;\n\t\tthis._isShown = true;\n\n\t\tthis._state = new DBaseStateSetImplObservable((newState, oldState): void => {\n\t\t\tthis.onStateChange(newState, oldState);\n\t\t});\n\n\t\t// Events\n\t\tconst on = options?.on;\n\t\tif (on != null) {\n\t\t\tfor (const name in on) {\n\t\t\t\tconst handler = on[name];\n\t\t\t\tif (handler) {\n\t\t\t\t\tthis.on(name, handler);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\tbind(container: DChartSeriesContainer<CHART>, index: number): this {\n\t\tthis._container = container;\n\t\tthis._coordinate.reset();\n\t\tthis._index = index;\n\n\t\tconst chart = container.plotArea.chart;\n\t\tif (chart) {\n\t\t\tthis._state.parent = chart.state;\n\t\t}\n\t\treturn this;\n\t}\n\n\tunbind(): this {\n\t\tthis._container = undefined;\n\t\treturn this;\n\t}\n\n\tabstract toDirty(): this;\n\tabstract update(): this;\n\n\tget domain(): DChartRegionImmutable {\n\t\tthis.updateRegion();\n\t\treturn this._domain;\n\t}\n\n\tget range(): DChartRegionImmutable {\n\t\tthis.updateRegion();\n\t\treturn this._range;\n\t}\n\n\tget container(): DChartSeriesContainer<CHART> | null {\n\t\treturn this._container || null;\n\t}\n\n\tget index(): number {\n\t\treturn this._index;\n\t}\n\n\tget coordinate(): DChartSeriesCoordinateContainer<CHART> {\n\t\treturn this._coordinate;\n\t}\n\n\tget state(): DBaseStateSet {\n\t\treturn this._state;\n\t}\n\n\tshow(): this {\n\t\tif (this._isShown !== true) {\n\t\t\tthis._isShown = true;\n\t\t\tthis.onShow();\n\t\t}\n\t\treturn this;\n\t}\n\n\tprotected onShow(): void {\n\t\tconst shape = this.shape;\n\t\tif (shape != null) {\n\t\t\tshape.visible = false;\n\t\t}\n\t}\n\n\tisShown(): boolean {\n\t\treturn this._isShown;\n\t}\n\n\thide(): this {\n\t\tif (this._isShown !== false) {\n\t\t\tthis._isShown = false;\n\t\t\tthis.onHide();\n\t\t}\n\t\treturn this;\n\t}\n\n\tprotected onHide(): void {\n\t\tconst shape = this.shape;\n\t\tif (shape != null) {\n\t\t\tshape.visible = false;\n\t\t}\n\t}\n\n\tisHidden(): boolean {\n\t\treturn !this._isShown;\n\t}\n\n\tprotected abstract updateRegion(): void;\n\n\tdestroy(): this {\n\t\tthis._container = undefined;\n\t\tthis._coordinate.destroy();\n\t\treturn this;\n\t}\n\n\thitTest(x: number, y: number): boolean {\n\t\treturn false;\n\t}\n\n\tcalcHitPoint(x: number, y: number, result: DChartSeriesHitResult): boolean {\n\t\treturn false;\n\t}\n\n\tprotected onStateChange(newState: DBaseStateSet, oldState: DBaseStateSet): void {\n\t\tthis.toDirty();\n\t\tconst chart = this._container?.plotArea.chart;\n\t\tDApplications.update(chart);\n\t\tthis.emit(\"statechange\", newState, oldState, this);\n\t}\n}\n"]}
1
+ {"version":3,"file":"d-chart-series-base.js","sourceRoot":"","sources":["../../../src/main/typescript/wcardinal/ui/d-chart-series-base.ts"],"names":[],"mappings":"AAAA;;;GAGG;;AAEH,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAGjD,OAAO,EAAE,2BAA2B,EAAE,MAAM,oCAAoC,CAAC;AAEjF,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAEzD,OAAO,EAAE,mCAAmC,EAAE,MAAM,4CAA4C,CAAC;AAgBjG;;GAEG;AACH;IACS,oCAAkB;IAiB1B,0BAAY,OAAiC;QAA7C,YACC,iBAAO,SAuBP;QArBA,KAAI,CAAC,WAAW,GAAG,IAAI,mCAAmC,CAAC,KAAI,EAAE,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,UAAU,CAAC,CAAC;QACtF,KAAI,CAAC,MAAM,GAAG,CAAC,CAAC;QAChB,KAAI,CAAC,OAAO,GAAG,IAAI,gBAAgB,CAAC,GAAG,EAAE,GAAG,CAAC,CAAC;QAC9C,KAAI,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AR;QACC,OAAO,CAAC,IAAI,CAAC,QAAQ,CAAC;IACvB,CAAC;IAID,kCAAO,GAAP;QACC,IAAI,CAAC,UAAU,GAAG,SAAS,CAAC;QAC5B,IAAI,CAAC,WAAW,CAAC,OAAO,EAAE,CAAC;QAC3B,OAAO,IAAI,CAAC;IACb,CAAC;IAED,kCAAO,GAAP,UAAQ,CAAS,EAAE,CAAS;QAC3B,OAAO,KAAK,CAAC;IACd,CAAC;IAED,uCAAY,GAAZ,UAAa,CAAS,EAAE,CAAS,EAAE,MAA6B;QAC/D,OAAO,KAAK,CAAC;IACd,CAAC;IAES,wCAAa,GAAvB,UAAwB,QAAuB,EAAE,QAAuB;;QACvE,IAAI,CAAC,OAAO,EAAE,CAAC;QACf,IAAM,KAAK,GAAG,MAAA,IAAI,CAAC,UAAU,0CAAE,QAAQ,CAAC,KAAK,CAAC;QAC9C,aAAa,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;QAC5B,IAAI,CAAC,IAAI,CAAC,aAAa,EAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI,CAAC,CAAC;IACpD,CAAC;IACF,uBAAC;AAAD,CAAC,AAtJD,CACS,KAAK,CAAC,YAAY,GAqJ1B","sourcesContent":["/*\n * Copyright (C) 2019 Toshiba Corporation\n * SPDX-License-Identifier: Apache-2.0\n */\n\nimport { utils } from \"pixi.js\";\nimport { DApplications } from \"./d-applications\";\nimport { DBase, DBaseOnOptions } from \"./d-base\";\nimport { DBaseStateSet } from \"./d-base-state-set\";\nimport { DBaseStateSetImplObservable } from \"./d-base-state-set-impl-observable\";\nimport { DChartRegionImmutable } from \"./d-chart-region\";\nimport { DChartRegionImpl } from \"./d-chart-region-impl\";\nimport { DChartSeries, DChartSeriesHitResult } from \"./d-chart-series\";\nimport { DChartSeriesBaseCoordinateContainer } from \"./d-chart-series-base-coordinate-container\";\nimport { DChartSeriesContainer } from \"./d-chart-series-container\";\nimport {\n\tDChartSeriesCoordinateContainer,\n\tDChartSeriesCoordinateContainerOptions\n} from \"./d-chart-series-coordinate-container\";\nimport { EShape } from \"./shape/e-shape\";\n\n/**\n * {@link DChartSeriesBase} options.\n */\nexport interface DChartSeriesBaseOptions<EMITTER = any> {\n\tcoordinate?: DChartSeriesCoordinateContainerOptions;\n\ton?: DBaseOnOptions<EMITTER>;\n}\n\n/**\n * A series represents a polyline.\n */\nexport abstract class DChartSeriesBase<CHART extends DBase = DBase>\n\textends utils.EventEmitter\n\timplements DChartSeries<CHART>\n{\n\tprotected _coordinate: DChartSeriesBaseCoordinateContainer<CHART>;\n\n\tprotected _container?: DChartSeriesContainer<CHART>;\n\tprotected _index: number;\n\n\tprotected _domain: DChartRegionImpl;\n\tprotected _range: DChartRegionImpl;\n\tprotected _regionPointId: number;\n\n\tprotected _state: DBaseStateSet;\n\tprotected _isShown: boolean;\n\n\tabstract readonly shape: EShape | null;\n\n\tconstructor(options?: DChartSeriesBaseOptions) {\n\t\tsuper();\n\n\t\tthis._coordinate = new DChartSeriesBaseCoordinateContainer(this, options?.coordinate);\n\t\tthis._index = 0;\n\t\tthis._domain = new DChartRegionImpl(NaN, NaN);\n\t\tthis._range = new DChartRegionImpl(NaN, NaN);\n\t\tthis._regionPointId = NaN;\n\t\tthis._isShown = true;\n\n\t\tthis._state = new DBaseStateSetImplObservable((newState, oldState): void => {\n\t\t\tthis.onStateChange(newState, oldState);\n\t\t});\n\n\t\t// Events\n\t\tconst on = options?.on;\n\t\tif (on != null) {\n\t\t\tfor (const name in on) {\n\t\t\t\tconst handler = on[name];\n\t\t\t\tif (handler) {\n\t\t\t\t\tthis.on(name, handler);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\tbind(container: DChartSeriesContainer<CHART>, index: number): this {\n\t\tthis._container = container;\n\t\tthis._coordinate.reset();\n\t\tthis._index = index;\n\n\t\tconst chart = container.plotArea.chart;\n\t\tif (chart) {\n\t\t\tthis._state.parent = chart.state;\n\t\t}\n\t\treturn this;\n\t}\n\n\tunbind(): this {\n\t\tthis._container = undefined;\n\t\treturn this;\n\t}\n\n\tabstract toDirty(): this;\n\tabstract update(): this;\n\n\tget domain(): DChartRegionImmutable {\n\t\tthis.updateRegion();\n\t\treturn this._domain;\n\t}\n\n\tget range(): DChartRegionImmutable {\n\t\tthis.updateRegion();\n\t\treturn this._range;\n\t}\n\n\tget container(): DChartSeriesContainer<CHART> | null {\n\t\treturn this._container || null;\n\t}\n\n\tget index(): number {\n\t\treturn this._index;\n\t}\n\n\tget coordinate(): DChartSeriesCoordinateContainer<CHART> {\n\t\treturn this._coordinate;\n\t}\n\n\tget state(): DBaseStateSet {\n\t\treturn this._state;\n\t}\n\n\tshow(): this {\n\t\tif (this._isShown !== true) {\n\t\t\tthis._isShown = true;\n\t\t\tthis.onShow();\n\t\t}\n\t\treturn this;\n\t}\n\n\tprotected onShow(): void {\n\t\tconst shape = this.shape;\n\t\tif (shape != null) {\n\t\t\tshape.visible = true;\n\t\t}\n\t}\n\n\tisShown(): boolean {\n\t\treturn this._isShown;\n\t}\n\n\thide(): this {\n\t\tif (this._isShown !== false) {\n\t\t\tthis._isShown = false;\n\t\t\tthis.onHide();\n\t\t}\n\t\treturn this;\n\t}\n\n\tprotected onHide(): void {\n\t\tconst shape = this.shape;\n\t\tif (shape != null) {\n\t\t\tshape.visible = false;\n\t\t}\n\t}\n\n\tisHidden(): boolean {\n\t\treturn !this._isShown;\n\t}\n\n\tprotected abstract updateRegion(): void;\n\n\tdestroy(): this {\n\t\tthis._container = undefined;\n\t\tthis._coordinate.destroy();\n\t\treturn this;\n\t}\n\n\thitTest(x: number, y: number): boolean {\n\t\treturn false;\n\t}\n\n\tcalcHitPoint(x: number, y: number, result: DChartSeriesHitResult): boolean {\n\t\treturn false;\n\t}\n\n\tprotected onStateChange(newState: DBaseStateSet, oldState: DBaseStateSet): void {\n\t\tthis.toDirty();\n\t\tconst chart = this._container?.plotArea.chart;\n\t\tDApplications.update(chart);\n\t\tthis.emit(\"statechange\", newState, oldState, this);\n\t}\n}\n"]}
@@ -1,5 +1,5 @@
1
1
  /*
2
- Winter Cardinal UI v0.237.0
2
+ Winter Cardinal UI v0.239.0
3
3
  Copyright (C) 2019 Toshiba Corporation
4
4
  SPDX-License-Identifier: Apache-2.0
5
5
 
@@ -1,5 +1,5 @@
1
1
  /*
2
- Winter Cardinal UI v0.237.0
2
+ Winter Cardinal UI v0.239.0
3
3
  Copyright (C) 2019 Toshiba Corporation
4
4
  SPDX-License-Identifier: Apache-2.0
5
5
 
@@ -1,5 +1,5 @@
1
1
  /*
2
- Winter Cardinal UI v0.237.0
2
+ Winter Cardinal UI v0.239.0
3
3
  Copyright (C) 2019 Toshiba Corporation
4
4
  SPDX-License-Identifier: Apache-2.0
5
5
 
@@ -1,5 +1,5 @@
1
1
  /*
2
- Winter Cardinal UI v0.237.0
2
+ Winter Cardinal UI v0.239.0
3
3
  Copyright (C) 2019 Toshiba Corporation
4
4
  SPDX-License-Identifier: Apache-2.0
5
5
 
@@ -1,5 +1,5 @@
1
1
  /*
2
- Winter Cardinal UI v0.237.0
2
+ Winter Cardinal UI v0.239.0
3
3
  Copyright (C) 2019 Toshiba Corporation
4
4
  SPDX-License-Identifier: Apache-2.0
5
5
 
@@ -71663,6 +71663,7 @@ var DChartAxisBase = /** @class */ (function () {
71663
71663
  break;
71664
71664
  }
71665
71665
  shape.allowUploadedUpdate();
71666
+ DApplications.update(plotArea);
71666
71667
  }
71667
71668
  };
71668
71669
  DChartAxisBase.prototype.updateTicksX = function (domainMin, domainMax, coordinate, majorShapes, minorShapes, gridlineShapes, shapePositionY, transform, plotAreaHeight) {
@@ -71805,6 +71806,7 @@ var DChartAxisBase = /** @class */ (function () {
71805
71806
  var domainTo = coordinate.unmap(coordinate.transform.unmap(bounds.x + bounds.width));
71806
71807
  var plotAreaHeight = plotArea.height;
71807
71808
  this.updateTicksX(domainFrom, domainTo, coordinate, majorShapes, minorShapes, gridlineShapes, 0 - padding, transform, plotAreaHeight);
71809
+ DApplications.update(plotArea);
71808
71810
  }
71809
71811
  break;
71810
71812
  case DChartAxisPosition.BOTTOM:
@@ -71814,6 +71816,7 @@ var DChartAxisBase = /** @class */ (function () {
71814
71816
  var domainTo = coordinate.unmap(coordinate.transform.unmap(bounds.x + bounds.width));
71815
71817
  var plotAreaHeight = plotArea.height;
71816
71818
  this.updateTicksX(domainFrom, domainTo, coordinate, majorShapes, minorShapes, gridlineShapes, plotAreaHeight + padding, transform, plotAreaHeight);
71819
+ DApplications.update(plotArea);
71817
71820
  }
71818
71821
  break;
71819
71822
  case DChartAxisPosition.LEFT:
@@ -71823,6 +71826,7 @@ var DChartAxisBase = /** @class */ (function () {
71823
71826
  var domainTo = coordinate.unmap(coordinate.transform.unmap(bounds.y + bounds.height));
71824
71827
  var plotAreaWidth = plotArea.width;
71825
71828
  this.updateTicksY(domainFrom, domainTo, coordinate, majorShapes, minorShapes, gridlineShapes, 0 - padding, transform, plotAreaWidth);
71829
+ DApplications.update(plotArea);
71826
71830
  }
71827
71831
  break;
71828
71832
  case DChartAxisPosition.RIGHT:
@@ -71832,6 +71836,7 @@ var DChartAxisBase = /** @class */ (function () {
71832
71836
  var domainTo = coordinate.unmap(coordinate.transform.unmap(bounds.y + bounds.height));
71833
71837
  var plotAreaWidth = plotArea.width;
71834
71838
  this.updateTicksY(domainFrom, domainTo, coordinate, majorShapes, minorShapes, gridlineShapes, plotAreaWidth + padding, transform, plotAreaWidth);
71839
+ DApplications.update(plotArea);
71835
71840
  }
71836
71841
  break;
71837
71842
  }
@@ -74628,7 +74633,7 @@ var DChartSeriesBase = /** @class */ (function (_super) {
74628
74633
  DChartSeriesBase.prototype.onShow = function () {
74629
74634
  var shape = this.shape;
74630
74635
  if (shape != null) {
74631
- shape.visible = false;
74636
+ shape.visible = true;
74632
74637
  }
74633
74638
  };
74634
74639
  DChartSeriesBase.prototype.isShown = function () {
@@ -1,5 +1,5 @@
1
1
  /*
2
- Winter Cardinal UI v0.237.0
2
+ Winter Cardinal UI v0.239.0
3
3
  Copyright (C) 2019 Toshiba Corporation
4
4
  SPDX-License-Identifier: Apache-2.0
5
5
 
@@ -53795,6 +53795,7 @@
53795
53795
  break;
53796
53796
  }
53797
53797
  shape.allowUploadedUpdate();
53798
+ DApplications.update(plotArea);
53798
53799
  }
53799
53800
  };
53800
53801
  DChartAxisBase.prototype.updateTicksX = function (domainMin, domainMax, coordinate, majorShapes, minorShapes, gridlineShapes, shapePositionY, transform, plotAreaHeight) {
@@ -53937,6 +53938,7 @@
53937
53938
  var domainTo = coordinate.unmap(coordinate.transform.unmap(bounds.x + bounds.width));
53938
53939
  var plotAreaHeight = plotArea.height;
53939
53940
  this.updateTicksX(domainFrom, domainTo, coordinate, majorShapes, minorShapes, gridlineShapes, 0 - padding, transform, plotAreaHeight);
53941
+ DApplications.update(plotArea);
53940
53942
  }
53941
53943
  break;
53942
53944
  case DChartAxisPosition.BOTTOM:
@@ -53946,6 +53948,7 @@
53946
53948
  var domainTo = coordinate.unmap(coordinate.transform.unmap(bounds.x + bounds.width));
53947
53949
  var plotAreaHeight = plotArea.height;
53948
53950
  this.updateTicksX(domainFrom, domainTo, coordinate, majorShapes, minorShapes, gridlineShapes, plotAreaHeight + padding, transform, plotAreaHeight);
53951
+ DApplications.update(plotArea);
53949
53952
  }
53950
53953
  break;
53951
53954
  case DChartAxisPosition.LEFT:
@@ -53955,6 +53958,7 @@
53955
53958
  var domainTo = coordinate.unmap(coordinate.transform.unmap(bounds.y + bounds.height));
53956
53959
  var plotAreaWidth = plotArea.width;
53957
53960
  this.updateTicksY(domainFrom, domainTo, coordinate, majorShapes, minorShapes, gridlineShapes, 0 - padding, transform, plotAreaWidth);
53961
+ DApplications.update(plotArea);
53958
53962
  }
53959
53963
  break;
53960
53964
  case DChartAxisPosition.RIGHT:
@@ -53964,6 +53968,7 @@
53964
53968
  var domainTo = coordinate.unmap(coordinate.transform.unmap(bounds.y + bounds.height));
53965
53969
  var plotAreaWidth = plotArea.width;
53966
53970
  this.updateTicksY(domainFrom, domainTo, coordinate, majorShapes, minorShapes, gridlineShapes, plotAreaWidth + padding, transform, plotAreaWidth);
53971
+ DApplications.update(plotArea);
53967
53972
  }
53968
53973
  break;
53969
53974
  }
@@ -56760,7 +56765,7 @@
56760
56765
  DChartSeriesBase.prototype.onShow = function () {
56761
56766
  var shape = this.shape;
56762
56767
  if (shape != null) {
56763
- shape.visible = false;
56768
+ shape.visible = true;
56764
56769
  }
56765
56770
  };
56766
56771
  DChartSeriesBase.prototype.isShown = function () {