scichart-engine 1.10.4 → 1.11.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/core/OverlayRenderer.d.ts +3 -3
- package/dist/core/chart/ChartSetup.d.ts +2 -2
- package/dist/core/chart/ChartStateManager.d.ts +2 -0
- package/dist/{index.core-BRAblH25.js → index.core-FhF288PV.js} +1021 -986
- package/dist/index.core-FhF288PV.js.map +1 -0
- package/dist/scichart-engine.full.js +2 -2
- package/dist/scichart-engine.js +1 -1
- package/dist/serialization/index.d.ts +1 -0
- package/dist/types.d.ts +2 -0
- package/package.json +1 -1
- package/dist/index.core-BRAblH25.js.map +0 -1
|
@@ -2,7 +2,7 @@ import { Scale } from '../scales';
|
|
|
2
2
|
import { ChartTheme } from '../theme';
|
|
3
3
|
import { Series } from './Series';
|
|
4
4
|
import { PlotArea, CursorState, AxisOptions } from '../types';
|
|
5
|
-
import { ChartTitleOptions } from './layout/types';
|
|
5
|
+
import { ChartTitleOptions, AxisLayoutOptions } from './layout/types';
|
|
6
6
|
|
|
7
7
|
export declare class OverlayRenderer {
|
|
8
8
|
private ctx;
|
|
@@ -36,11 +36,11 @@ export declare class OverlayRenderer {
|
|
|
36
36
|
/**
|
|
37
37
|
* Draw X axis with ticks and labels
|
|
38
38
|
*/
|
|
39
|
-
drawXAxis(plotArea: PlotArea, xScale: Scale, options?: AxisOptions): void;
|
|
39
|
+
drawXAxis(plotArea: PlotArea, xScale: Scale, options?: AxisOptions, layout?: AxisLayoutOptions): void;
|
|
40
40
|
/**
|
|
41
41
|
* Draw Y axis with ticks and labels
|
|
42
42
|
*/
|
|
43
|
-
drawYAxis(plotArea: PlotArea, yScale: Scale, options?: AxisOptions, position?: "left" | "right", offset?: number): void;
|
|
43
|
+
drawYAxis(plotArea: PlotArea, yScale: Scale, options?: AxisOptions, position?: "left" | "right", offset?: number, layout?: AxisLayoutOptions): void;
|
|
44
44
|
/**
|
|
45
45
|
* Draw plot area border
|
|
46
46
|
*/
|
|
@@ -57,11 +57,11 @@ export declare function pixelToDataX(px: number, plotArea: {
|
|
|
57
57
|
}, viewBounds: {
|
|
58
58
|
xMin: number;
|
|
59
59
|
xMax: number;
|
|
60
|
-
}): number;
|
|
60
|
+
}, invertAxis?: boolean): number;
|
|
61
61
|
export declare function pixelToDataY(py: number, plotArea: {
|
|
62
62
|
y: number;
|
|
63
63
|
height: number;
|
|
64
64
|
}, viewBounds: {
|
|
65
65
|
yMin: number;
|
|
66
66
|
yMax: number;
|
|
67
|
-
}): number;
|
|
67
|
+
}, invertAxis?: boolean): number;
|
|
@@ -14,6 +14,7 @@ export interface StateManagerContext {
|
|
|
14
14
|
};
|
|
15
15
|
xAxisOptions: AxisOptions;
|
|
16
16
|
xScale: Scale;
|
|
17
|
+
yAxisOptionsMap: Map<string, AxisOptions>;
|
|
17
18
|
yScales: Map<string, Scale>;
|
|
18
19
|
primaryYAxisId: string;
|
|
19
20
|
series: Map<string, Series>;
|
|
@@ -25,6 +26,7 @@ export interface StateManagerContext {
|
|
|
25
26
|
getAnnotations: () => Annotation[];
|
|
26
27
|
clearAnnotations: () => void;
|
|
27
28
|
addAnnotation: (annotation: Annotation) => void;
|
|
29
|
+
updateXAxis: (options: Partial<AxisOptions>) => void;
|
|
28
30
|
updateYAxis: (id: string, options: Partial<AxisOptions>) => void;
|
|
29
31
|
removeSeries: (id: string) => void;
|
|
30
32
|
addSeries: (options: any) => void;
|