realchart 0.9.10 → 0.9.12

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/dist/index.d.ts CHANGED
@@ -418,6 +418,7 @@ declare class ChartItem extends RcObject {
418
418
  protected _doLoadProp(prop: string, value: any): boolean;
419
419
  protected _doSave(target: object): void;
420
420
  protected _doPrepareRender(chart: IChart): void;
421
+ protected _loadStroke(source: any): boolean;
421
422
  }
422
423
  declare enum ChartTextEffect {
423
424
  NONE = "none",
@@ -983,8 +984,10 @@ declare abstract class GaugeScale extends ChartItem {
983
984
  get gap(): number;
984
985
  set gap(value: number);
985
986
  range(): IMinMax;
987
+ isEmpty(): boolean;
986
988
  buildSteps(length: number, value: number, target?: number): number[];
987
989
  buildGroupSteps(length: number, values: number[]): number[];
990
+ getRate(value: number): number;
988
991
  protected _adjustMinMax(min: number, max: number): {
989
992
  min: number;
990
993
  max: number;
@@ -1089,7 +1092,6 @@ declare abstract class CircularGauge extends ValueGauge {
1089
1092
  props: CircularProps;
1090
1093
  childProps: CircularProps;
1091
1094
  constructor(chart: IChart);
1092
- maxValue: number;
1093
1095
  get centerX(): RtPercentSize;
1094
1096
  set centerX(value: RtPercentSize);
1095
1097
  get centerY(): RtPercentSize;
@@ -1212,6 +1214,7 @@ declare abstract class AxisItem extends ChartItem {
1212
1214
  }
1213
1215
  declare class AxisLine extends AxisItem {
1214
1216
  constructor(axis: Axis);
1217
+ protected _doLoadSimple(source: any): boolean;
1215
1218
  }
1216
1219
  declare enum AxisTitleAlign {
1217
1220
  START = "start",
@@ -1232,7 +1235,6 @@ declare class AxisTitle extends AxisItem {
1232
1235
  protected _doLoadSimple(source: any): boolean;
1233
1236
  }
1234
1237
  declare class AxisGrid extends AxisItem {
1235
- circular: boolean;
1236
1238
  startVisible: boolean;
1237
1239
  endVisible: boolean;
1238
1240
  constructor(axis: Axis);
@@ -1318,6 +1320,7 @@ declare class AxisZoom {
1318
1320
  resize(start: number, end: number): boolean;
1319
1321
  }
1320
1322
  declare abstract class Axis extends ChartItem implements IAxis {
1323
+ _isPolar: boolean;
1321
1324
  _isX: boolean;
1322
1325
  _isHorz: boolean;
1323
1326
  _isOpposite: boolean;
@@ -1482,7 +1485,6 @@ declare class CircleGaugeScale extends GaugeScale {
1482
1485
  protected _getStepMultiples(step: number): number[];
1483
1486
  }
1484
1487
  declare class CircleGauge extends CircularGauge {
1485
- constructor(chart: IChart);
1486
1488
  band: GaugeRangeBand;
1487
1489
  scale: CircleGaugeScale;
1488
1490
  rim: CircleGaugeRim;