realchart 0.9.34 → 0.9.35
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 -5
- package/dist/index.esm.js +2 -2
- package/dist/index.js +2 -2
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -889,9 +889,11 @@ declare class DataPointLabel extends IconedText {
|
|
|
889
889
|
textAlign: Align;
|
|
890
890
|
offset: number;
|
|
891
891
|
distance: number;
|
|
892
|
+
textField: string;
|
|
892
893
|
textCallback: (point: any) => string;
|
|
893
894
|
visibleCallback: (point: any) => boolean;
|
|
894
895
|
styleCallback: (point: any) => SVGStyleOrClass;
|
|
896
|
+
getValue(p: DataPoint, index: number): any;
|
|
895
897
|
getTextDomain(p: DataPoint): IRichTextDomain;
|
|
896
898
|
getText(value: any): string;
|
|
897
899
|
getOffset(): number;
|
|
@@ -1021,7 +1023,7 @@ declare abstract class Series extends ChartItem implements ISeries, IChartDataLi
|
|
|
1021
1023
|
_yFielder: (src: any) => any;
|
|
1022
1024
|
_zFielder: (src: any) => any;
|
|
1023
1025
|
_colorFielder: (src: any) => any;
|
|
1024
|
-
|
|
1026
|
+
_dataSourceDirty: boolean;
|
|
1025
1027
|
_cdata: ChartData;
|
|
1026
1028
|
protected _points: DataPointCollection;
|
|
1027
1029
|
_runPoints: DataPoint[];
|
|
@@ -1080,6 +1082,7 @@ declare abstract class Series extends ChartItem implements ISeries, IChartDataLi
|
|
|
1080
1082
|
visibleInLegend: boolean;
|
|
1081
1083
|
visibleInNavigator: boolean;
|
|
1082
1084
|
tooltipText: string;
|
|
1085
|
+
tooltipCallback: (args: any) => string;
|
|
1083
1086
|
loadAnimation: SeriesLoadAnimation;
|
|
1084
1087
|
pointStyleCallback: PointStyleCallback;
|
|
1085
1088
|
onPointClick: PointClickCallback;
|
|
@@ -1300,7 +1303,7 @@ declare class DataPoint {
|
|
|
1300
1303
|
drillDown: any[] | object;
|
|
1301
1304
|
range: IValueRange;
|
|
1302
1305
|
zValue: number;
|
|
1303
|
-
|
|
1306
|
+
yLabel: any;
|
|
1304
1307
|
ani: RcAnimation;
|
|
1305
1308
|
yPrev: number;
|
|
1306
1309
|
yNew: number;
|
|
@@ -1312,7 +1315,7 @@ declare class DataPoint {
|
|
|
1312
1315
|
assignTo(proxy?: any): any;
|
|
1313
1316
|
getProp(fld: string | number): any;
|
|
1314
1317
|
parse(series: ISeries): void;
|
|
1315
|
-
|
|
1318
|
+
getLabelValue(index: number): any;
|
|
1316
1319
|
swap(): void;
|
|
1317
1320
|
getTooltipPos(): IPoint;
|
|
1318
1321
|
updateValue(value: number, animation: RcAnimation): void;
|
|
@@ -2096,7 +2099,7 @@ declare class RcChartControl {
|
|
|
2096
2099
|
private _proxy;
|
|
2097
2100
|
private _exporter;
|
|
2098
2101
|
private constructor();
|
|
2099
|
-
load(config: any, animate?: boolean): void;
|
|
2102
|
+
load(config: any, animate?: boolean, callback?: () => void): void;
|
|
2100
2103
|
render(now?: boolean): void;
|
|
2101
2104
|
get xAxis(): RcChartAxis;
|
|
2102
2105
|
getXAxis(name: string | number): RcChartAxis;
|
|
@@ -2159,7 +2162,7 @@ declare class Globals {
|
|
|
2159
2162
|
static setDebugging(debug: boolean): void;
|
|
2160
2163
|
static setLogging(logging: boolean): void;
|
|
2161
2164
|
static setAnimatable(value: boolean): void;
|
|
2162
|
-
static createChart(doc: Document, container: string | HTMLDivElement, config: any, animate?: boolean): RcChartControl;
|
|
2165
|
+
static createChart(doc: Document, container: string | HTMLDivElement, config: any, animate?: boolean, callback?: () => void): RcChartControl;
|
|
2163
2166
|
static createData(options?: IRcChartDataOptions, rows?: any[]): RcChartData;
|
|
2164
2167
|
}
|
|
2165
2168
|
|