realchart 0.9.35 → 0.9.36
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 +8 -6
- package/dist/index.esm.js +2 -2
- package/dist/index.js +2 -2
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -56,7 +56,6 @@ declare class Sides {
|
|
|
56
56
|
applyPadding(cs: CSSStyleDeclaration): Sides;
|
|
57
57
|
applyMargin(cs: CSSStyleDeclaration): Sides;
|
|
58
58
|
shrink(r: IRect): IRect;
|
|
59
|
-
toString(): string;
|
|
60
59
|
}
|
|
61
60
|
|
|
62
61
|
declare class TextFormatter {
|
|
@@ -917,7 +916,7 @@ interface IPlottingItem {
|
|
|
917
916
|
getVisiblePoints(): DataPoint[];
|
|
918
917
|
getLegendSources(list: ILegendSource[]): void;
|
|
919
918
|
needAxes(): boolean;
|
|
920
|
-
isEmpty(): boolean;
|
|
919
|
+
isEmpty(visibleOnly: any): boolean;
|
|
921
920
|
canCategorized(): boolean;
|
|
922
921
|
defaultYAxisType(): string;
|
|
923
922
|
clusterable(): boolean;
|
|
@@ -980,7 +979,7 @@ interface ISeries extends IPlottingItem {
|
|
|
980
979
|
_zFielder: (src: any) => any;
|
|
981
980
|
_colorFielder: (src: any) => any;
|
|
982
981
|
colorField: string | number;
|
|
983
|
-
color: string;
|
|
982
|
+
color: string | number;
|
|
984
983
|
displayName(): string;
|
|
985
984
|
initPoints(source: any[]): DataPoint[];
|
|
986
985
|
getPoints(): DataPointCollection;
|
|
@@ -1038,6 +1037,7 @@ declare abstract class Series extends ChartItem implements ISeries, IChartDataLi
|
|
|
1038
1037
|
_minZ: number;
|
|
1039
1038
|
_maxZ: number;
|
|
1040
1039
|
_referents: Series[];
|
|
1040
|
+
_runColor: string;
|
|
1041
1041
|
_calcedColor: string;
|
|
1042
1042
|
_simpleMode: boolean;
|
|
1043
1043
|
private _legendMarker;
|
|
@@ -1074,7 +1074,7 @@ declare abstract class Series extends ChartItem implements ISeries, IChartDataLi
|
|
|
1074
1074
|
xStart: any;
|
|
1075
1075
|
xStep: number | string;
|
|
1076
1076
|
pointStyle: SVGStyleOrClass;
|
|
1077
|
-
color: string;
|
|
1077
|
+
color: string | number;
|
|
1078
1078
|
pointColors: string[] | string;
|
|
1079
1079
|
viewRanges: IValueRange[] | IValueRanges;
|
|
1080
1080
|
viewRangeValue: 'x' | 'y' | 'z';
|
|
@@ -1184,7 +1184,7 @@ declare class PlottingItemCollection {
|
|
|
1184
1184
|
get firstVisible(): IPlottingItem;
|
|
1185
1185
|
get firstVisibleSeries(): Series;
|
|
1186
1186
|
isWidget(): boolean;
|
|
1187
|
-
isEmpty(): boolean;
|
|
1187
|
+
isEmpty(visibleOnly: boolean): boolean;
|
|
1188
1188
|
items(): IPlottingItem[];
|
|
1189
1189
|
internalItems(): IPlottingItem[];
|
|
1190
1190
|
visibles(): IPlottingItem[];
|
|
@@ -1447,7 +1447,7 @@ declare class GaugeCollection {
|
|
|
1447
1447
|
private _visibles;
|
|
1448
1448
|
private _gauges;
|
|
1449
1449
|
constructor(chart: IChart);
|
|
1450
|
-
isEmpty(): boolean;
|
|
1450
|
+
isEmpty(visibleOnly: boolean): boolean;
|
|
1451
1451
|
get firstGauge(): Gauge;
|
|
1452
1452
|
getVisibles(): GaugeBase[];
|
|
1453
1453
|
getPaneVisibles(row: number, col: number): GaugeBase[];
|
|
@@ -1557,6 +1557,7 @@ interface IChart {
|
|
|
1557
1557
|
timeOffset: number;
|
|
1558
1558
|
_createChart(config: any): IChart;
|
|
1559
1559
|
assignTemplates(target: any): any;
|
|
1560
|
+
isEmpty(visibleOnly: boolean): boolean;
|
|
1560
1561
|
isGauge(): boolean;
|
|
1561
1562
|
isPolar(): boolean;
|
|
1562
1563
|
isInverted(): boolean;
|
|
@@ -1904,6 +1905,7 @@ declare abstract class Axis extends ChartItem implements IAxis {
|
|
|
1904
1905
|
tooltipRow: string;
|
|
1905
1906
|
tooltipFooter: string;
|
|
1906
1907
|
animatable: boolean;
|
|
1908
|
+
fixedSize: boolean;
|
|
1907
1909
|
isEmpty(): boolean;
|
|
1908
1910
|
getBaseValue(): number;
|
|
1909
1911
|
length(): number;
|