realchart 0.9.43 → 1.0.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.
- package/dist/index.d.ts +15 -12
- package/dist/index.esm.js +2 -2
- package/dist/index.js +2 -2
- package/dist/realchart-style.css +15 -15
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -715,11 +715,6 @@ declare class ZoomButton extends ChartItem {
|
|
|
715
715
|
constructor(body: Body);
|
|
716
716
|
isVisible(): boolean;
|
|
717
717
|
}
|
|
718
|
-
declare class BodySplit extends ChartItem {
|
|
719
|
-
body: Body;
|
|
720
|
-
constructor(body: Body);
|
|
721
|
-
size: number;
|
|
722
|
-
}
|
|
723
718
|
interface IPolar {
|
|
724
719
|
start: number;
|
|
725
720
|
total: number;
|
|
@@ -739,7 +734,6 @@ declare class Body extends ChartItem {
|
|
|
739
734
|
private _cx;
|
|
740
735
|
private _cy;
|
|
741
736
|
constructor(chart: IChart);
|
|
742
|
-
split: BodySplit;
|
|
743
737
|
get radius(): RtPercentSize;
|
|
744
738
|
set radius(value: RtPercentSize);
|
|
745
739
|
innerRadius: RtPercentSize;
|
|
@@ -751,6 +745,7 @@ declare class Body extends ChartItem {
|
|
|
751
745
|
image: BackgroundImage;
|
|
752
746
|
zoomType: ZoomType;
|
|
753
747
|
zoomButton: ZoomButton;
|
|
748
|
+
base(): Body;
|
|
754
749
|
canZoom(): boolean;
|
|
755
750
|
calcRadius(width: number, height: number): number;
|
|
756
751
|
setPolar(width: number, height: number): Body;
|
|
@@ -854,6 +849,7 @@ declare class Tooltip extends ChartItem {
|
|
|
854
849
|
minWidth: number;
|
|
855
850
|
minHeight: number;
|
|
856
851
|
followPointer: boolean;
|
|
852
|
+
nanText: string;
|
|
857
853
|
get numberFormat(): string;
|
|
858
854
|
set numberFormat(value: string);
|
|
859
855
|
get timeFormat(): string;
|
|
@@ -909,7 +905,7 @@ interface IPlottingItem {
|
|
|
909
905
|
getVisiblePoints(): DataPoint[];
|
|
910
906
|
getLegendSources(list: ILegendSource[]): void;
|
|
911
907
|
needAxes(): boolean;
|
|
912
|
-
isEmpty(visibleOnly:
|
|
908
|
+
isEmpty(visibleOnly: boolean): boolean;
|
|
913
909
|
canCategorized(): boolean;
|
|
914
910
|
defaultYAxisType(): string;
|
|
915
911
|
isClusterable(): boolean;
|
|
@@ -1489,6 +1485,7 @@ declare abstract class GaugeLabel extends FormattableText {
|
|
|
1489
1485
|
declare class PaneBody extends Body {
|
|
1490
1486
|
pane: Pane;
|
|
1491
1487
|
constructor(pane: Pane);
|
|
1488
|
+
base(): Body;
|
|
1492
1489
|
}
|
|
1493
1490
|
declare class Pane extends ChartItem {
|
|
1494
1491
|
row: number;
|
|
@@ -1554,7 +1551,7 @@ interface IChart {
|
|
|
1554
1551
|
_xPaneAxes: PaneXAxisMatrix;
|
|
1555
1552
|
_yPaneAxes: PaneYAxisMatrix;
|
|
1556
1553
|
options: ChartOptions;
|
|
1557
|
-
|
|
1554
|
+
export: IExport;
|
|
1558
1555
|
first: IPlottingItem;
|
|
1559
1556
|
firstSeries: Series;
|
|
1560
1557
|
xAxis: IAxis;
|
|
@@ -1621,6 +1618,7 @@ declare enum PointHoverScope {
|
|
|
1621
1618
|
declare class PointHovering extends ChartItem {
|
|
1622
1619
|
scope: PointHoverScope;
|
|
1623
1620
|
hintDistance: number;
|
|
1621
|
+
getHintDistance(): number;
|
|
1624
1622
|
getScope(series: ISeries, p: DataPoint): PointHoverScope;
|
|
1625
1623
|
}
|
|
1626
1624
|
declare class ChartOptions extends ChartItem {
|
|
@@ -1636,10 +1634,11 @@ declare class ChartOptions extends ChartItem {
|
|
|
1636
1634
|
pointHovering: PointHovering;
|
|
1637
1635
|
getXStart(axis: IAxis): number | string;
|
|
1638
1636
|
}
|
|
1639
|
-
interface
|
|
1637
|
+
interface IExport {
|
|
1640
1638
|
visible?: boolean;
|
|
1641
|
-
menus?: ExportType[];
|
|
1642
1639
|
fileName?: string;
|
|
1640
|
+
useLibrary?: boolean;
|
|
1641
|
+
menus?: ExportType[];
|
|
1643
1642
|
width?: number;
|
|
1644
1643
|
scale?: number;
|
|
1645
1644
|
url?: string;
|
|
@@ -2152,7 +2151,11 @@ declare class RcChartControl {
|
|
|
2152
2151
|
setParam(param: string, value: any, redraw?: boolean): void;
|
|
2153
2152
|
addSeries(source: any, animate?: boolean): RcChartSeries | undefined;
|
|
2154
2153
|
removeSeries(series: string | RcChartSeries, animate?: boolean): RcChartSeries | undefined;
|
|
2155
|
-
export(
|
|
2154
|
+
export(options: IRcExportOptions): void;
|
|
2155
|
+
}
|
|
2156
|
+
interface IRcExportOptions {
|
|
2157
|
+
type?: ExportType;
|
|
2158
|
+
fileName?: string;
|
|
2156
2159
|
}
|
|
2157
2160
|
|
|
2158
2161
|
declare class RcChartData {
|
|
@@ -2204,4 +2207,4 @@ declare const setAnimatable: typeof Globals.setAnimatable;
|
|
|
2204
2207
|
declare const createChart: typeof Globals.createChart;
|
|
2205
2208
|
declare const createData: typeof Globals.createData;
|
|
2206
2209
|
|
|
2207
|
-
export { IRcChartDataOptions, RcAnnotation, RcBody, RcChartAxis, RcChartControl, RcChartData, RcChartGauge, RcChartObject, RcChartSeries, RcGaugeGroup, RcLegend, RcNamedObject, RcSeriesGroup, RcSubtitle, RcTitle, createChart, createData, getVersion, setAnimatable, setDebugging, setLogging };
|
|
2210
|
+
export { IRcChartDataOptions, IRcExportOptions, RcAnnotation, RcBody, RcChartAxis, RcChartControl, RcChartData, RcChartGauge, RcChartObject, RcChartSeries, RcGaugeGroup, RcLegend, RcNamedObject, RcSeriesGroup, RcSubtitle, RcTitle, createChart, createData, getVersion, setAnimatable, setDebugging, setLogging };
|