realchart 1.0.1 → 1.0.3

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
@@ -926,7 +926,8 @@ declare class DataPointCollection {
926
926
  get count(): number;
927
927
  isEmpty(): boolean;
928
928
  get(index: number): DataPoint;
929
- pointAt(xValue: number | any): DataPoint;
929
+ private _pointAtCond;
930
+ pointAt(xValue: number | any, yValue?: number | any): DataPoint;
930
931
  contains(p: DataPoint): boolean;
931
932
  load(source: any): void;
932
933
  clear(): void;
@@ -1690,7 +1691,7 @@ declare class Crosshair extends ChartItem {
1690
1691
  markerHovering: boolean;
1691
1692
  isBar(): boolean;
1692
1693
  getFlag(length: number, pos: number): string;
1693
- moved(pos: number, flag: string): void;
1694
+ moved(pos: number, flag: string, points: DataPoint[]): void;
1694
1695
  _setAxis(axis: any): void;
1695
1696
  protected _doLoadSimple(source: any): boolean;
1696
1697
  }
@@ -1773,8 +1774,13 @@ declare abstract class AxisGrid extends AxisItem {
1773
1774
  isVisible(polar: boolean): boolean;
1774
1775
  abstract getPoints(length: number): number[];
1775
1776
  }
1777
+ declare enum GuideLabelPosition {
1778
+ INSIDE = "inside",
1779
+ OUTSIDE = "outside"
1780
+ }
1776
1781
  declare class AxisGuideLabel extends IconedText {
1777
1782
  constructor(chart: IChart);
1783
+ position: GuideLabelPosition;
1778
1784
  align: Align;
1779
1785
  verticalAlign: VerticalAlign;
1780
1786
  offsetX: number;