@grapecity/wijmo.chart 5.20261.52 → 5.20262.60
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/es2015-commonjs.js +2 -2
- package/es2015-esm.js +2 -2
- package/es5-esm.js +2 -2
- package/index.d.ts +386 -50
- package/index.js +2 -2
- package/package.json +2 -2
package/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
*
|
|
3
|
-
* Wijmo Library 5.
|
|
3
|
+
* Wijmo Library 5.20262.60
|
|
4
4
|
* https://developer.mescius.com/wijmo
|
|
5
5
|
*
|
|
6
6
|
* Copyright(c) MESCIUS inc. All rights reserved.
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
*
|
|
29
29
|
*/
|
|
30
30
|
export declare var ___keepComment: any;
|
|
31
|
-
import { Point,
|
|
31
|
+
import { Point, Rect, Size, DataType, Event, EventArgs, ICollectionView, ObservableArray, Control, Tooltip, CancelEventArgs } from '@grapecity/wijmo';
|
|
32
32
|
import * as selfModule from '@grapecity/wijmo.chart';
|
|
33
33
|
export declare class _VolumeHelper {
|
|
34
34
|
private _volumes;
|
|
@@ -72,53 +72,6 @@ export declare class _Spline {
|
|
|
72
72
|
ys: any;
|
|
73
73
|
};
|
|
74
74
|
}
|
|
75
|
-
export declare const AxisClsNames: {
|
|
76
|
-
axisX: string;
|
|
77
|
-
axisXLabels: string;
|
|
78
|
-
axisY: string;
|
|
79
|
-
axisYLabels: string;
|
|
80
|
-
gridline: string;
|
|
81
|
-
gridlineMinor: string;
|
|
82
|
-
line: string;
|
|
83
|
-
tick: string;
|
|
84
|
-
tickMinor: string;
|
|
85
|
-
};
|
|
86
|
-
export declare const DataLabelClsNames: {
|
|
87
|
-
border: string;
|
|
88
|
-
label: string;
|
|
89
|
-
labels: string;
|
|
90
|
-
line: string;
|
|
91
|
-
};
|
|
92
|
-
export declare const FlexChartClsNames: {
|
|
93
|
-
footer: string;
|
|
94
|
-
header: string;
|
|
95
|
-
hostElement: string;
|
|
96
|
-
label: string;
|
|
97
|
-
legend: string;
|
|
98
|
-
plotArea: string;
|
|
99
|
-
title: string;
|
|
100
|
-
touchDisabled: string;
|
|
101
|
-
};
|
|
102
|
-
export declare const FlexPieClsNames: {
|
|
103
|
-
hostElement: string;
|
|
104
|
-
slice: string;
|
|
105
|
-
sliceGroup: string;
|
|
106
|
-
};
|
|
107
|
-
export declare const LegendClsNames: {
|
|
108
|
-
legend: string;
|
|
109
|
-
title: string;
|
|
110
|
-
};
|
|
111
|
-
export declare const LineMarkerClsNames: {
|
|
112
|
-
container: string;
|
|
113
|
-
content: string;
|
|
114
|
-
draggable: string;
|
|
115
|
-
hline: string;
|
|
116
|
-
linemarker: string;
|
|
117
|
-
vline: string;
|
|
118
|
-
};
|
|
119
|
-
export declare const SeriesClsNames: {
|
|
120
|
-
group: string;
|
|
121
|
-
};
|
|
122
75
|
/**
|
|
123
76
|
* These are predefined color palettes for chart {@link Series} objects.
|
|
124
77
|
*
|
|
@@ -713,6 +666,54 @@ export declare class _SvgRenderEngine implements IRenderEngine {
|
|
|
713
666
|
*/
|
|
714
667
|
export declare class SvgRenderEngine extends _SvgRenderEngine {
|
|
715
668
|
}
|
|
669
|
+
export declare const AxisClsNames: {
|
|
670
|
+
axisX: string;
|
|
671
|
+
axisXLabels: string;
|
|
672
|
+
axisY: string;
|
|
673
|
+
axisYLabels: string;
|
|
674
|
+
gridline: string;
|
|
675
|
+
gridlineMinor: string;
|
|
676
|
+
line: string;
|
|
677
|
+
tick: string;
|
|
678
|
+
tickMinor: string;
|
|
679
|
+
};
|
|
680
|
+
export declare const DataLabelClsNames: {
|
|
681
|
+
border: string;
|
|
682
|
+
label: string;
|
|
683
|
+
labels: string;
|
|
684
|
+
line: string;
|
|
685
|
+
};
|
|
686
|
+
export declare const FlexChartClsNames: {
|
|
687
|
+
footer: string;
|
|
688
|
+
focusLayerHost: string;
|
|
689
|
+
header: string;
|
|
690
|
+
hostElement: string;
|
|
691
|
+
label: string;
|
|
692
|
+
legend: string;
|
|
693
|
+
plotArea: string;
|
|
694
|
+
title: string;
|
|
695
|
+
touchDisabled: string;
|
|
696
|
+
};
|
|
697
|
+
export declare const FlexPieClsNames: {
|
|
698
|
+
hostElement: string;
|
|
699
|
+
slice: string;
|
|
700
|
+
sliceGroup: string;
|
|
701
|
+
};
|
|
702
|
+
export declare const LegendClsNames: {
|
|
703
|
+
legend: string;
|
|
704
|
+
title: string;
|
|
705
|
+
};
|
|
706
|
+
export declare const LineMarkerClsNames: {
|
|
707
|
+
container: string;
|
|
708
|
+
content: string;
|
|
709
|
+
draggable: string;
|
|
710
|
+
hline: string;
|
|
711
|
+
linemarker: string;
|
|
712
|
+
vline: string;
|
|
713
|
+
};
|
|
714
|
+
export declare const SeriesClsNames: {
|
|
715
|
+
group: string;
|
|
716
|
+
};
|
|
716
717
|
/**
|
|
717
718
|
* Represents the chart legend.
|
|
718
719
|
*/
|
|
@@ -784,6 +785,209 @@ export declare class Legend {
|
|
|
784
785
|
private _invalidate;
|
|
785
786
|
_getMaxSize(sz: number): number;
|
|
786
787
|
}
|
|
788
|
+
export interface AccessibleChartTypeOptions {
|
|
789
|
+
family?: 'financial' | 'radar';
|
|
790
|
+
supportsStacking?: boolean;
|
|
791
|
+
}
|
|
792
|
+
export interface ChartAccessibilityPoint {
|
|
793
|
+
index: number;
|
|
794
|
+
category?: any;
|
|
795
|
+
value?: any;
|
|
796
|
+
values?: any[];
|
|
797
|
+
details?: string;
|
|
798
|
+
}
|
|
799
|
+
export interface ChartAccessibilitySeries {
|
|
800
|
+
index: number;
|
|
801
|
+
name: string;
|
|
802
|
+
description?: string;
|
|
803
|
+
points: ChartAccessibilityPoint[];
|
|
804
|
+
}
|
|
805
|
+
export interface ChartAccessibilityLegendItem {
|
|
806
|
+
name: string;
|
|
807
|
+
seriesIndex?: number;
|
|
808
|
+
pointIndex?: number;
|
|
809
|
+
legendIndex?: number;
|
|
810
|
+
}
|
|
811
|
+
export interface ChartAccessibilityAnnotationItem {
|
|
812
|
+
label: string;
|
|
813
|
+
tooltip?: string;
|
|
814
|
+
shape?: any;
|
|
815
|
+
}
|
|
816
|
+
export interface ChartAccessibilityModel {
|
|
817
|
+
title: string;
|
|
818
|
+
type: string;
|
|
819
|
+
series: ChartAccessibilitySeries[];
|
|
820
|
+
legendItems: ChartAccessibilityLegendItem[];
|
|
821
|
+
annotations: ChartAccessibilityAnnotationItem[];
|
|
822
|
+
}
|
|
823
|
+
export interface ChartAccessibilityModelExtension {
|
|
824
|
+
_updateAccessibilityModel(model: ChartAccessibilityModel): void;
|
|
825
|
+
_disposeAccessibilityExtension?(): void;
|
|
826
|
+
}
|
|
827
|
+
export declare function _getDefaultAccessibilityAriaLabel(model: ChartAccessibilityModel): string;
|
|
828
|
+
export declare function _getBaseAccessibilityModel(chart: any, chartType: string): ChartAccessibilityModel;
|
|
829
|
+
export declare function _getUnnamedAccessibilitySeriesName(index: number): string;
|
|
830
|
+
export declare function _getAccessibilityPointDescription(series: ChartAccessibilitySeries, point: ChartAccessibilityPoint, seriesIndex: number, pointIndex: number): string;
|
|
831
|
+
export declare function _getAccessibilityLegendDescription(item: ChartAccessibilityLegendItem, index: number, count: number): string;
|
|
832
|
+
export declare function _getAccessibilityAnnotationDescription(item: ChartAccessibilityAnnotationItem, index: number, count: number): string;
|
|
833
|
+
export declare function _getAccessibleChartTypeName(typeOrKey: any, chartType?: number, stacking?: number, options?: AccessibleChartTypeOptions): string;
|
|
834
|
+
export declare function _toAccessibilityText(value: any): string;
|
|
835
|
+
export declare function _toAccessibilityTypeText(value: any): string;
|
|
836
|
+
export declare function _formatAccessibilityValue(value: any): string;
|
|
837
|
+
export declare function _getAccessibilityAriaLabels(): any;
|
|
838
|
+
export declare function _formatAccessibilityLabel(template: string, data: any): string;
|
|
839
|
+
export declare function _joinAccessibilityParts(parts: string[]): string;
|
|
840
|
+
export declare type _ChartAccessibilityFocusRegion = 'chart' | 'title' | 'series' | 'annotation' | 'legend';
|
|
841
|
+
export interface ChartAccessibilityFocusState {
|
|
842
|
+
region: _ChartAccessibilityFocusRegion;
|
|
843
|
+
seriesIndex?: number;
|
|
844
|
+
pointIndex?: number;
|
|
845
|
+
annotationIndex?: number;
|
|
846
|
+
legendIndex?: number;
|
|
847
|
+
}
|
|
848
|
+
export interface ChartAccessibilityFocusOwner {
|
|
849
|
+
hostElement: HTMLElement;
|
|
850
|
+
_currentRenderEngine?: any;
|
|
851
|
+
_accessibilityModel?: ChartAccessibilityModel;
|
|
852
|
+
_rectHeader: Rect;
|
|
853
|
+
_rectChart: Rect;
|
|
854
|
+
_getAccessibilitySeriesPointShape?(seriesIndex: number, pointIndex: number): _ChartAccessibilityFocusShape;
|
|
855
|
+
_getAccessibilityAnnotationShape?(item: ChartAccessibilityAnnotationItem, annotationIndex: number): _ChartAccessibilityFocusShape;
|
|
856
|
+
_getAccessibilityLegendItemShape?(item: ChartAccessibilityLegendItem, legendIndex: number): _ChartAccessibilityFocusShape;
|
|
857
|
+
}
|
|
858
|
+
export declare type _ChartAccessibilityFocusShape = ChartAccessibilityRectFocusShape | ChartAccessibilityCircleFocusShape | ChartAccessibilitySegmentFocusShape | ChartAccessibilityPolygonFocusShape;
|
|
859
|
+
export interface ChartAccessibilityRectFocusShape {
|
|
860
|
+
type: 'rect';
|
|
861
|
+
rect: Rect;
|
|
862
|
+
}
|
|
863
|
+
export interface ChartAccessibilityCircleFocusShape {
|
|
864
|
+
type: 'circle';
|
|
865
|
+
center: Point;
|
|
866
|
+
radius: number;
|
|
867
|
+
}
|
|
868
|
+
export interface ChartAccessibilitySegmentFocusShape {
|
|
869
|
+
type: 'segment';
|
|
870
|
+
center: Point;
|
|
871
|
+
radius: number;
|
|
872
|
+
innerRadius?: number;
|
|
873
|
+
angle: number;
|
|
874
|
+
sweep: number;
|
|
875
|
+
}
|
|
876
|
+
export interface ChartAccessibilityPolygonFocusShape {
|
|
877
|
+
type: 'polygon';
|
|
878
|
+
points: Point[];
|
|
879
|
+
}
|
|
880
|
+
export declare class _ChartAccessibilityFocusManager {
|
|
881
|
+
private _owner;
|
|
882
|
+
private _state;
|
|
883
|
+
private _element;
|
|
884
|
+
private _layer;
|
|
885
|
+
constructor(owner: ChartAccessibilityFocusOwner);
|
|
886
|
+
update(state?: ChartAccessibilityFocusState): void;
|
|
887
|
+
refresh(): void;
|
|
888
|
+
clear(): void;
|
|
889
|
+
private _render;
|
|
890
|
+
private _renderShape;
|
|
891
|
+
private _ensureElement;
|
|
892
|
+
private _removeElement;
|
|
893
|
+
private _removeLayer;
|
|
894
|
+
private _inflateRect;
|
|
895
|
+
private _fitRectToSvg;
|
|
896
|
+
private _getSvgBounds;
|
|
897
|
+
private _getSvgLength;
|
|
898
|
+
private _getElementName;
|
|
899
|
+
private _isValidShape;
|
|
900
|
+
private _getSegmentPath;
|
|
901
|
+
private _normalizeSweep;
|
|
902
|
+
private _getPolygonPath;
|
|
903
|
+
private _getSvg;
|
|
904
|
+
private _getOverlaySvg;
|
|
905
|
+
private _ensureOverlayHostClass;
|
|
906
|
+
private _removeOverlayHostClass;
|
|
907
|
+
private _syncOverlaySvg;
|
|
908
|
+
private _inflatePolygon;
|
|
909
|
+
}
|
|
910
|
+
export declare function _getRectFocusShape(rect: Rect): _ChartAccessibilityFocusShape;
|
|
911
|
+
export declare function _getFocusStateShape(owner: ChartAccessibilityFocusOwner, state: ChartAccessibilityFocusState): _ChartAccessibilityFocusShape;
|
|
912
|
+
export declare function _getFocusShapeRect(shape: _ChartAccessibilityFocusShape): Rect;
|
|
913
|
+
export declare function _getAreaShape(area: any): _ChartAccessibilityFocusShape;
|
|
914
|
+
export interface ChartAccessibilityKeyboardOwner {
|
|
915
|
+
hostElement: HTMLElement;
|
|
916
|
+
_accessibilityModel: ChartAccessibilityModel;
|
|
917
|
+
addEventListener(target: EventTarget, type: string, fn: any, capture?: boolean, passive?: boolean): void;
|
|
918
|
+
_activateAccessibilityLegendItem?(item: ChartAccessibilityLegendItem): boolean;
|
|
919
|
+
_getAccessibilityLegendItemState?(item: ChartAccessibilityLegendItem): boolean | null;
|
|
920
|
+
_shouldShowAccessibilityFocus?(): boolean;
|
|
921
|
+
_setAccessibilityFocus?(state: ChartAccessibilityFocusState): void;
|
|
922
|
+
_clearAccessibilityFocus?(): void;
|
|
923
|
+
_showAccessibilityTooltip?(state: ChartAccessibilityFocusState): void;
|
|
924
|
+
_hideAccessibilityTooltip?(): void;
|
|
925
|
+
}
|
|
926
|
+
export declare class _ChartAccessibilityKeyboardManager {
|
|
927
|
+
private _owner;
|
|
928
|
+
private _regions;
|
|
929
|
+
private _regionElements;
|
|
930
|
+
private _container;
|
|
931
|
+
private _statusElement;
|
|
932
|
+
private _pendingLegendAnnouncement;
|
|
933
|
+
private _seriesIndex;
|
|
934
|
+
private _pointIndex;
|
|
935
|
+
private _annotationIndex;
|
|
936
|
+
private _legendIndex;
|
|
937
|
+
private _activeRegion;
|
|
938
|
+
private _restoreFocusRegion;
|
|
939
|
+
private _restoreFocusLost;
|
|
940
|
+
private _tabKeyRegion;
|
|
941
|
+
private _tabKeyShift;
|
|
942
|
+
constructor(owner: ChartAccessibilityKeyboardOwner);
|
|
943
|
+
clear(): void;
|
|
944
|
+
update(): void;
|
|
945
|
+
activate(state: ChartAccessibilityFocusState): boolean;
|
|
946
|
+
private _ensureContainer;
|
|
947
|
+
private _removeUnusedRegions;
|
|
948
|
+
private _addRegion;
|
|
949
|
+
private _getRegionElement;
|
|
950
|
+
private _updateRegionSemantics;
|
|
951
|
+
private _onRegionFocus;
|
|
952
|
+
private _onRegionBlur;
|
|
953
|
+
private _onRegionKeyDown;
|
|
954
|
+
private _shouldRestoreScroll;
|
|
955
|
+
private _getScrollPositions;
|
|
956
|
+
private _restoreScrollPositions;
|
|
957
|
+
private _handleSeriesKey;
|
|
958
|
+
private _handleAnnotationKey;
|
|
959
|
+
private _handleLegendKey;
|
|
960
|
+
private _queueLegendAnnouncement;
|
|
961
|
+
private _announcePendingLegendChange;
|
|
962
|
+
private _isLegendActivationKey;
|
|
963
|
+
private _moveSeries;
|
|
964
|
+
private _moveLegendSeries;
|
|
965
|
+
private _getNearestSeriesPoint;
|
|
966
|
+
private _setSeriesFocusIndex;
|
|
967
|
+
private _setAnnotationFocusIndex;
|
|
968
|
+
private _setLegendFocusIndex;
|
|
969
|
+
private _updateRegionLabel;
|
|
970
|
+
private _setRegionLabel;
|
|
971
|
+
private _getRegionLabel;
|
|
972
|
+
private _getSeriesRegionLabel;
|
|
973
|
+
private _getAnnotationRegionLabel;
|
|
974
|
+
private _getLegendRegionLabel;
|
|
975
|
+
private _getCurrentLegendItemState;
|
|
976
|
+
private _getLegendItemState;
|
|
977
|
+
private _getLegendItemVisibilityLabel;
|
|
978
|
+
private _getRegion;
|
|
979
|
+
private _syncFocus;
|
|
980
|
+
private _queueFocusRestore;
|
|
981
|
+
private _clearFocusRestore;
|
|
982
|
+
private _completeFocusRestore;
|
|
983
|
+
private _shouldRestoreFocusAfterBlur;
|
|
984
|
+
private _shouldShowHostFocus;
|
|
985
|
+
private _isShiftTabbingToHost;
|
|
986
|
+
private _clearTabKeyState;
|
|
987
|
+
private _focusActiveRegionElement;
|
|
988
|
+
private _getCurrentSeries;
|
|
989
|
+
private _clearFocus;
|
|
990
|
+
}
|
|
787
991
|
/**
|
|
788
992
|
* Represents the chart palette.
|
|
789
993
|
*/
|
|
@@ -948,6 +1152,14 @@ export declare class FlexChartBase<T = any> extends Control implements _IPalette
|
|
|
948
1152
|
_headerStyle: any;
|
|
949
1153
|
_footer: string;
|
|
950
1154
|
_footerStyle: any;
|
|
1155
|
+
private _ariaLabel;
|
|
1156
|
+
private _generatedAriaLabel;
|
|
1157
|
+
_accessibilityModel: ChartAccessibilityModel;
|
|
1158
|
+
private _accessibilityModelExtensions;
|
|
1159
|
+
private _accessibilityKeyboard;
|
|
1160
|
+
private _accessibilityFocus;
|
|
1161
|
+
private _focusMode;
|
|
1162
|
+
private _accessibilityHostFocusHandlerAdded;
|
|
951
1163
|
_legend: Legend;
|
|
952
1164
|
_defPalette: string[];
|
|
953
1165
|
_notifyCurrentChanged: boolean;
|
|
@@ -963,6 +1175,8 @@ export declare class FlexChartBase<T = any> extends Control implements _IPalette
|
|
|
963
1175
|
_tooltip: ChartTooltip;
|
|
964
1176
|
_chartRectId: string;
|
|
965
1177
|
private _skipLightClr;
|
|
1178
|
+
private _showTooltipOnFocus;
|
|
1179
|
+
private _accessibilityTooltipVisible;
|
|
966
1180
|
/**
|
|
967
1181
|
* Gets or sets the array or {@link ICollectionView} object that contains the data used to create the chart.
|
|
968
1182
|
*/
|
|
@@ -1028,6 +1242,33 @@ export declare class FlexChartBase<T = any> extends Control implements _IPalette
|
|
|
1028
1242
|
* Gets or sets the text displayed in the chart footer.
|
|
1029
1243
|
*/
|
|
1030
1244
|
footer: string;
|
|
1245
|
+
/**
|
|
1246
|
+
* Gets or sets the accessible label for the chart host element.
|
|
1247
|
+
*
|
|
1248
|
+
* If this property is not specified, the chart generates a label from the chart
|
|
1249
|
+
* title, chart type, and visible series names.
|
|
1250
|
+
*/
|
|
1251
|
+
ariaLabel: string;
|
|
1252
|
+
/**
|
|
1253
|
+
* Gets or sets a value indicating whether the chart participates in page
|
|
1254
|
+
* keyboard focus navigation using chart accessibility focus regions.
|
|
1255
|
+
*
|
|
1256
|
+
* When this property is set to <b>true</b>, chart accessibility regions are
|
|
1257
|
+
* reachable from the page Tab order. When set to <b>false</b>, the chart keeps
|
|
1258
|
+
* its original focus behavior and does not create chart accessibility regions.
|
|
1259
|
+
*
|
|
1260
|
+
* The default value for this property is <b>false</b>.
|
|
1261
|
+
*/
|
|
1262
|
+
focusMode: boolean;
|
|
1263
|
+
/**
|
|
1264
|
+
* Gets or sets a value indicating whether the chart shows a tooltip for the
|
|
1265
|
+
* active chart item when keyboard focus moves within the chart.
|
|
1266
|
+
*
|
|
1267
|
+
* This property takes effect only when {@link focusMode} is set to <b>true</b>.
|
|
1268
|
+
*
|
|
1269
|
+
* The default value for this property is <b>false</b>.
|
|
1270
|
+
*/
|
|
1271
|
+
showTooltipOnFocus: boolean;
|
|
1031
1272
|
/**
|
|
1032
1273
|
* Gets or sets the style of the chart header.
|
|
1033
1274
|
*/
|
|
@@ -1122,6 +1363,10 @@ export declare class FlexChartBase<T = any> extends Control implements _IPalette
|
|
|
1122
1363
|
* @param e The {@link RenderEventArgs} object used to render the chart.
|
|
1123
1364
|
*/
|
|
1124
1365
|
onRendered(e: RenderEventArgs): void;
|
|
1366
|
+
/**
|
|
1367
|
+
* Disposes of the control by removing its association with the host element.
|
|
1368
|
+
*/
|
|
1369
|
+
dispose(): void;
|
|
1125
1370
|
/**
|
|
1126
1371
|
* Occurs before the chart is bound to a new items source.
|
|
1127
1372
|
*/
|
|
@@ -1195,10 +1440,42 @@ export declare class FlexChartBase<T = any> extends Control implements _IPalette
|
|
|
1195
1440
|
*/
|
|
1196
1441
|
onSelectionChanged(e?: EventArgs): void;
|
|
1197
1442
|
onLostFocus(e?: EventArgs): void;
|
|
1443
|
+
protected _setTabOrder(value: number): void;
|
|
1444
|
+
protected _setIsDisabled(value: boolean): void;
|
|
1198
1445
|
private _cvCollectionChanged;
|
|
1199
1446
|
private _cvCurrentChanged;
|
|
1200
1447
|
_bgColor(el: Element): string;
|
|
1201
1448
|
_isTransparent(c: string): boolean;
|
|
1449
|
+
_shouldShowAccessibilityFocus(): boolean;
|
|
1450
|
+
private _updateHostAriaLabel;
|
|
1451
|
+
protected _getAccessibleChartTypeName(): string;
|
|
1452
|
+
protected _createAccessibilityModel(): ChartAccessibilityModel;
|
|
1453
|
+
protected _isAccessibilityLegendVisible(): boolean;
|
|
1454
|
+
private _updateAccessibilityModel;
|
|
1455
|
+
_addAccessibilityModelExtension(extension: ChartAccessibilityModelExtension): void;
|
|
1456
|
+
_removeAccessibilityModelExtension(extension: ChartAccessibilityModelExtension): void;
|
|
1457
|
+
_refreshAccessibility(): void;
|
|
1458
|
+
private _updateAccessibilityModelExtensions;
|
|
1459
|
+
private _disposeAccessibilityModelExtensions;
|
|
1460
|
+
private _updateAccessibilityKeyboard;
|
|
1461
|
+
private _clearAccessibilityKeyboard;
|
|
1462
|
+
private _updateFocusMode;
|
|
1463
|
+
private _updateFocusModeTabOrder;
|
|
1464
|
+
private _ensureAccessibilityHostFocusHandlers;
|
|
1465
|
+
private _onAccessibilityHostFocus;
|
|
1466
|
+
private _onAccessibilityHostBlur;
|
|
1467
|
+
private _updateAccessibilityFocus;
|
|
1468
|
+
_setAccessibilityFocus(state: ChartAccessibilityFocusState): void;
|
|
1469
|
+
_clearAccessibilityFocus(): void;
|
|
1470
|
+
protected _updateAccessibilityFocusFromState(state: ChartAccessibilityFocusState): void;
|
|
1471
|
+
_getAccessibilitySeriesPointShape(_seriesIndex: number, _pointIndex: number): _ChartAccessibilityFocusShape;
|
|
1472
|
+
_getAccessibilityAnnotationShape(item: ChartAccessibilityAnnotationItem, _annotationIndex: number): _ChartAccessibilityFocusShape;
|
|
1473
|
+
_getAccessibilityLegendItemShape(item: any, legendIndex: number): _ChartAccessibilityFocusShape;
|
|
1474
|
+
_showAccessibilityTooltip(state: ChartAccessibilityFocusState): void;
|
|
1475
|
+
_hideAccessibilityTooltip(): void;
|
|
1476
|
+
protected _getAccessibilityTooltipContent(_state: ChartAccessibilityFocusState): string;
|
|
1477
|
+
protected _isAccessibilityTooltipContentCustom(state: ChartAccessibilityFocusState): boolean;
|
|
1478
|
+
private _getAccessibilityTooltipBounds;
|
|
1202
1479
|
/**
|
|
1203
1480
|
* Gets a color from the palette by index.
|
|
1204
1481
|
*
|
|
@@ -1237,6 +1514,7 @@ export declare class FlexChartBase<T = any> extends Control implements _IPalette
|
|
|
1237
1514
|
_getHitTestLabel(_index: number): any;
|
|
1238
1515
|
_refreshChart(): void;
|
|
1239
1516
|
_drawTitle(engine: IRenderEngine, rect: Rect, title: string, style: any, isFooter: boolean): Rect;
|
|
1517
|
+
private _getTitleFocusRect;
|
|
1240
1518
|
/**
|
|
1241
1519
|
* Converts page coordinates to control coordinates.
|
|
1242
1520
|
*
|
|
@@ -1250,7 +1528,7 @@ export declare class FlexChartBase<T = any> extends Control implements _IPalette
|
|
|
1250
1528
|
_toControl(pt: any, y?: number): Point;
|
|
1251
1529
|
_highlightItems(items: any, cls: any, selected: boolean): void;
|
|
1252
1530
|
_parseMargin(value: any): any;
|
|
1253
|
-
_showToolTip(content: any, rect: any): void;
|
|
1531
|
+
_showToolTip(content: any, rect: any, accessibility?: boolean, announceContent?: boolean): void;
|
|
1254
1532
|
_hideToolTip(): void;
|
|
1255
1533
|
private _clearTimeouts;
|
|
1256
1534
|
_getHostOffset(): Point;
|
|
@@ -1328,6 +1606,7 @@ export declare class ChartTooltip extends Tooltip {
|
|
|
1328
1606
|
* </pre>
|
|
1329
1607
|
*/
|
|
1330
1608
|
content: any;
|
|
1609
|
+
_isContentCustomized(): boolean;
|
|
1331
1610
|
/**
|
|
1332
1611
|
* Gets or sets the maximum distance from the element to display the tooltip.
|
|
1333
1612
|
*/
|
|
@@ -1342,6 +1621,8 @@ export declare class ChartTooltip extends Tooltip {
|
|
|
1342
1621
|
* <b>getBoundingClientRect</b> method).
|
|
1343
1622
|
*/
|
|
1344
1623
|
show(element: any, content: string, bounds?: Rect): void;
|
|
1624
|
+
_showAccessibilityTooltip(element: any, content: string, bounds: Rect | undefined, announceContent?: boolean): void;
|
|
1625
|
+
private _disablePointerEvents;
|
|
1345
1626
|
}
|
|
1346
1627
|
/**
|
|
1347
1628
|
* Specifies the chart type.
|
|
@@ -1447,6 +1728,7 @@ export declare class FlexChartCore extends FlexChartBase {
|
|
|
1447
1728
|
_xDataType: DataType;
|
|
1448
1729
|
private _hitTester;
|
|
1449
1730
|
private _lblAreas;
|
|
1731
|
+
private _accessibilityVisualPoints;
|
|
1450
1732
|
private _keywords;
|
|
1451
1733
|
private _curPlotter;
|
|
1452
1734
|
private _colRowLens;
|
|
@@ -1618,6 +1900,45 @@ export declare class FlexChartCore extends FlexChartBase {
|
|
|
1618
1900
|
_isRotated(): boolean;
|
|
1619
1901
|
_plotrectId: string;
|
|
1620
1902
|
_getChartType(): ChartType;
|
|
1903
|
+
private _handleHostClick;
|
|
1904
|
+
private _getAccessibilityFocusStateFromClick;
|
|
1905
|
+
private _getAccessibilityLegendFocusIndex;
|
|
1906
|
+
private _selectLegendClickSeries;
|
|
1907
|
+
private _toggleLegendClickSeries;
|
|
1908
|
+
protected _getAccessibleChartTypeName(): string;
|
|
1909
|
+
protected _getAccessibilityPointCategory(series: SeriesBase, pointIndex: number, xValues?: any[]): any;
|
|
1910
|
+
protected _createAccessibilityModel(): ChartAccessibilityModel;
|
|
1911
|
+
private _getAccessibilitySeriesCount;
|
|
1912
|
+
private _getAccessibleSeriesName;
|
|
1913
|
+
protected _getAccessibleSeriesChartTypeName(series: SeriesBase): string;
|
|
1914
|
+
private _getAccessibleSeriesDescription;
|
|
1915
|
+
private _getAccessibleSeriesPointDetails;
|
|
1916
|
+
private _getAccessibleSeriesPointDetailsIncludeValue;
|
|
1917
|
+
private _getAccessibleSeriesPoints;
|
|
1918
|
+
private _isAccessibleSeriesPoint;
|
|
1919
|
+
private _isAccessibleSeriesPointValue;
|
|
1920
|
+
private _getAccessibleSeriesPointCategory;
|
|
1921
|
+
private _getAccessibleSeriesPointValue;
|
|
1922
|
+
private _getAccessibleSeriesHitTestInfo;
|
|
1923
|
+
private _getAccessibleSeriesValueDimensions;
|
|
1924
|
+
private _getAccessibleSeriesPointValues;
|
|
1925
|
+
private _addAccessibilityLegendItems;
|
|
1926
|
+
private _getAccessibleLegendItemName;
|
|
1927
|
+
_activateAccessibilityLegendItem(item: ChartAccessibilityLegendItem): boolean;
|
|
1928
|
+
private _dispatchAccessibilityLegendClick;
|
|
1929
|
+
private _getAccessibilityLegendClickPoint;
|
|
1930
|
+
private _getAccessibilityLegendScrollOffset;
|
|
1931
|
+
_getAccessibilityLegendItemState(item: ChartAccessibilityLegendItem): boolean | null;
|
|
1932
|
+
private _getAccessibilityLegendSeries;
|
|
1933
|
+
private _toggleAccessibilityLegendSeries;
|
|
1934
|
+
protected _getAccessibilityTooltipContent(state: ChartAccessibilityFocusState): string;
|
|
1935
|
+
protected _isAccessibilityTooltipContentCustom(state: ChartAccessibilityFocusState): boolean;
|
|
1936
|
+
_getAccessibilitySeriesPointShape(seriesIndex: number, pointIndex: number): _ChartAccessibilityFocusShape;
|
|
1937
|
+
private _updateAccessibilityVisualPoints;
|
|
1938
|
+
private _getAccessibilityLineAreas;
|
|
1939
|
+
private _isAccessibilityAreaFocusable;
|
|
1940
|
+
private _getAccessibilityPointKey;
|
|
1941
|
+
private _getAccessibilitySeriesPointFallbackShape;
|
|
1621
1942
|
_prepareRender(): void;
|
|
1622
1943
|
_renderChart(engine: IRenderEngine, rect: Rect, applyElement: boolean): void;
|
|
1623
1944
|
_getDesiredLegendSize(engine: IRenderEngine, isVertical: boolean, width: number, height: number): Size;
|
|
@@ -1981,6 +2302,7 @@ export declare class _CircleArea implements _IHitArea {
|
|
|
1981
2302
|
constructor(center: Point, radius: number);
|
|
1982
2303
|
setRadius(radius: number): void;
|
|
1983
2304
|
readonly center: Point;
|
|
2305
|
+
readonly radius: number;
|
|
1984
2306
|
contains(pt: Point): boolean;
|
|
1985
2307
|
distance(pt: Point): number;
|
|
1986
2308
|
}
|
|
@@ -1990,6 +2312,7 @@ export declare class _LinesArea implements _IHitArea {
|
|
|
1990
2312
|
tag: any;
|
|
1991
2313
|
ignoreLabel: boolean;
|
|
1992
2314
|
constructor(x: any, y: any);
|
|
2315
|
+
distanceToPoint(pt: Point): number;
|
|
1993
2316
|
contains(_pt: Point): boolean;
|
|
1994
2317
|
distance(pt: Point): number;
|
|
1995
2318
|
}
|
|
@@ -2419,6 +2742,7 @@ export declare class SeriesBase<T = any> implements _ISeries {
|
|
|
2419
2742
|
*/
|
|
2420
2743
|
getDataRect(currentRect?: Rect, calculatedRect?: Rect): Rect;
|
|
2421
2744
|
_getChartType(): ChartType;
|
|
2745
|
+
_getAccessibleChartTypeName(): string;
|
|
2422
2746
|
/**
|
|
2423
2747
|
* Clears any cached data values.
|
|
2424
2748
|
*/
|
|
@@ -2566,6 +2890,17 @@ export declare class FlexPie extends FlexChartBase {
|
|
|
2566
2890
|
* @param options A Javascript object containing initialization data for the control.
|
|
2567
2891
|
*/
|
|
2568
2892
|
constructor(element: any, options?: any);
|
|
2893
|
+
protected _getAccessibleChartTypeName(): string;
|
|
2894
|
+
protected _createAccessibilityModel(): ChartAccessibilityModel;
|
|
2895
|
+
protected _getAccessibilityTooltipContent(state: ChartAccessibilityFocusState): string;
|
|
2896
|
+
private _isRenderablePiePointValue;
|
|
2897
|
+
private _getAccessibilityFocusStateFromClick;
|
|
2898
|
+
private _getPiePointValue;
|
|
2899
|
+
private _getAccessibilityLegendFocusIndex;
|
|
2900
|
+
_getAccessibilitySeriesPointShape(seriesIndex: number, pointIndex: number): _ChartAccessibilityFocusShape;
|
|
2901
|
+
private _getTransformedPointFocusShape;
|
|
2902
|
+
private _getAccessibilitySelectedOffset;
|
|
2903
|
+
private _transformAccessibilityPoint;
|
|
2569
2904
|
/**
|
|
2570
2905
|
* Gets or sets the name of the property that contains the chart values.
|
|
2571
2906
|
*/
|
|
@@ -3428,6 +3763,7 @@ export declare class _FinancePlotter extends _BasePlotter {
|
|
|
3428
3763
|
adjustLimits(dataInfo: _DataInfo, _plotRect: Rect): Rect;
|
|
3429
3764
|
plotSeries(engine: IRenderEngine, ax: _IAxis, ay: _IAxis, series: _ISeries, _palette: _IPalette, _iser: number, _nser: number, _customRender?: Function): void;
|
|
3430
3765
|
_drawSymbol(engine: IRenderEngine, ax: _IAxis, ay: _IAxis, si: number, pi: number, _fill: any, w: number, x: number, hi: number, lo: number, open: number, close: number, pointsLength: number): void;
|
|
3766
|
+
protected _extendRectArea(area: _RectArea, x: number, y: number): void;
|
|
3431
3767
|
}
|
|
3432
3768
|
/**
|
|
3433
3769
|
* Specifies the direction of the lines shown by the {@link LineMarker}.
|