@syncfusion/ej2-angular-charts 26.2.14 → 27.1.48

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.
Files changed (54) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/esm2020/src/accumulation-chart/annotations.directive.mjs +1 -1
  3. package/esm2020/src/accumulation-chart/series.directive.mjs +3 -3
  4. package/esm2020/src/chart/annotations.directive.mjs +1 -1
  5. package/esm2020/src/chart/axes.directive.mjs +1 -1
  6. package/esm2020/src/chart/categories.directive.mjs +1 -1
  7. package/esm2020/src/chart/columns.directive.mjs +1 -1
  8. package/esm2020/src/chart/indicators.directive.mjs +1 -1
  9. package/esm2020/src/chart/multilevellabels.directive.mjs +1 -1
  10. package/esm2020/src/chart/rangecolorsettings.directive.mjs +1 -1
  11. package/esm2020/src/chart/rows.directive.mjs +1 -1
  12. package/esm2020/src/chart/segments.directive.mjs +1 -1
  13. package/esm2020/src/chart/selecteddataindexes.directive.mjs +1 -1
  14. package/esm2020/src/chart/series.directive.mjs +3 -3
  15. package/esm2020/src/chart/striplines.directive.mjs +1 -1
  16. package/esm2020/src/chart/trendlines.directive.mjs +1 -1
  17. package/esm2020/src/chart3d/selecteddataindexes.directive.mjs +1 -1
  18. package/esm2020/src/circularchart3d/selecteddataindexes.directive.mjs +1 -1
  19. package/esm2020/src/stock-chart/trendlines.directive.mjs +1 -1
  20. package/fesm2015/syncfusion-ej2-angular-charts.mjs +4 -4
  21. package/fesm2015/syncfusion-ej2-angular-charts.mjs.map +1 -1
  22. package/fesm2020/syncfusion-ej2-angular-charts.mjs +4 -4
  23. package/fesm2020/syncfusion-ej2-angular-charts.mjs.map +1 -1
  24. package/package.json +10 -9
  25. package/schematics/collection.json +10 -9
  26. package/schematics/ng-add/index.d.ts +3 -0
  27. package/schematics/ng-add/index.js +9 -0
  28. package/schematics/ng-add/index.ts +10 -10
  29. package/schematics/ng-add/schema.d.ts +13 -0
  30. package/schematics/ng-add/schema.js +2 -0
  31. package/schematics/ng-add/schema.json +34 -34
  32. package/schematics/ng-add/schema.ts +30 -30
  33. package/schematics/tsconfig.json +25 -25
  34. package/schematics/utils/lib-details.d.ts +4 -0
  35. package/schematics/utils/lib-details.js +6 -0
  36. package/schematics/utils/lib-details.ts +2 -2
  37. package/src/accumulation-chart/annotations.directive.d.ts +24 -20
  38. package/src/accumulation-chart/series.directive.d.ts +66 -48
  39. package/src/chart/annotations.directive.d.ts +28 -24
  40. package/src/chart/axes.directive.d.ts +97 -88
  41. package/src/chart/categories.directive.d.ts +7 -6
  42. package/src/chart/columns.directive.d.ts +2 -2
  43. package/src/chart/indicators.directive.d.ts +61 -46
  44. package/src/chart/multilevellabels.directive.d.ts +13 -10
  45. package/src/chart/rangecolorsettings.directive.d.ts +4 -4
  46. package/src/chart/rows.directive.d.ts +1 -1
  47. package/src/chart/segments.directive.d.ts +2 -2
  48. package/src/chart/selecteddataindexes.directive.d.ts +2 -2
  49. package/src/chart/series.directive.d.ts +157 -131
  50. package/src/chart/striplines.directive.d.ts +27 -23
  51. package/src/chart/trendlines.directive.d.ts +19 -12
  52. package/src/chart3d/selecteddataindexes.directive.d.ts +2 -2
  53. package/src/circularchart3d/selecteddataindexes.directive.d.ts +2 -2
  54. package/src/stock-chart/trendlines.directive.d.ts +19 -12
@@ -13,170 +13,185 @@ export declare class IndicatorDirective extends ComplexBase<IndicatorDirective>
13
13
  private viewContainerRef;
14
14
  directivePropList: any;
15
15
  /**
16
- * Defines the type of the technical indicator.
16
+ * Defines the types of technical indicators. They are:
17
+ * * 'Sma' - Predicts the trend using the Simple Moving Average approach.
18
+ * * 'Ema' - Predicts the trend using the Exponential Moving Average approach.
19
+ * * 'Tma' - Predicts the trend using the Triangular Moving Average approach.
20
+ * * 'Atr' - Predicts the trend using the Average True Range approach.
21
+ * * 'AccumulationDistribution' - Predicts the trend using the Accumulation Distribution approach.
22
+ * * 'Momentum' - Predicts the trend using the Momentum approach.
23
+ * * 'Rsi' - Predicts the trend using the Relative Strength Index (RSI) approach.
24
+ * * 'Macd' - Predicts the trend using the Moving Average Convergence Divergence (MACD) approach.
25
+ * * 'Stochastic' - Predicts the trend using the Stochastic Oscillator approach.
26
+ * * 'BollingerBands' - Predicts the trend using the Bollinger Bands approach.
17
27
  * @default 'Sma'
18
28
  */
19
29
  type: any;
20
30
  /**
21
- * Options for customizing animation for the series.
31
+ * Options for customizing the animation of the series.
32
+ * By default, animation is enabled with a duration of 1000 milliseconds (about 1 second). It can be disabled by setting enable to `false`.
33
+ * The following properties are supported in animation:
34
+ * * enable: If set to true, the series is animated on initial loading.
35
+ * * duration: The duration of the animation in milliseconds.
36
+ * * delay: The delay before the animation starts, in milliseconds.
22
37
  */
23
38
  animation: any;
24
39
  /**
25
- * Options for customizing the BollingerBand in the indicator.
40
+ * Configures the settings for customizing the Bollinger Bands in the indicator.
26
41
  * @default 'rgba(211,211,211,0.25)'
27
42
  */
28
43
  bandColor: any;
29
44
  /**
30
- * The DataSource field that contains the close value of y.
31
- * It is applicable for both series and technical indicators
45
+ * The data source field that contains the close value.
46
+ * It is applicable for both financial series and technical indicators.
32
47
  * @default ''
33
48
  */
34
49
  close: any;
35
50
  /**
36
- * The DataSource field that contains the color mapping value.
37
- * It is applicable for range color mapping properly.
51
+ * The data source field that contains the color mapping value.
52
+ * It is applicable for range color mapping.
38
53
  */
39
54
  colorName: any;
40
55
  /**
41
- * Defines the period, the price changes over which will define the %D value in stochastic indicators.
56
+ * Defines the period over which price changes determine the %D value in stochastic indicators.
42
57
  * @default 3
43
58
  */
44
59
  dPeriod: any;
45
60
  /**
46
- * Defines the pattern of dashes and gaps to stroke the lines in `Line` type series.
61
+ * Defines the pattern of dashes and gaps used to stroke the lines in `Line` type series.
47
62
  * @default ''
48
63
  */
49
64
  dashArray: any;
50
65
  /**
51
- * Specifies the data source for the series. It can be an array of JSON objects or an instance of DataManager.
66
+ * Specifies the data source for the series. It can be an array of JSON objects, or an instance of DataManager.
52
67
  *
53
68
  * @default ''
54
69
  */
55
70
  dataSource: any;
56
71
  /**
57
- * This property is used to improve chart performance via data mapping for series dataSource.
72
+ * This property is used to improve chart performance through data mapping for the series data source.
58
73
  * @default false
59
74
  */
60
75
  enableComplexProperty: any;
61
76
  /**
62
- * Sets the fast period to define the Macd line.
77
+ * Sets the fast period to define the MACD line.
63
78
  * @default 26
64
79
  */
65
80
  fastPeriod: any;
66
81
  /**
67
- * Defines the field to compare the current value with previous values.
82
+ * Defines the field used to compare the current value with previous values.
68
83
  * @default 'Close'
69
84
  */
70
85
  field: any;
71
86
  /**
72
- * The fill color for the series, which can accept values in hex or rgba as a valid CSS color string.
87
+ * The fill color for the series, which accepts values in hex or rgba as a valid CSS color string.
73
88
  * It also represents the color of the signal lines in technical indicators.
74
- * For technical indicators, the default value is 'blue' and for series, it is null.
89
+ * For technical indicators, the default value is 'blue', and for series, it is null.
75
90
  * @default null
76
91
  */
77
92
  fill: any;
78
93
  /**
79
- * The DataSource field that contains the high value of y.
80
- * It is applicable for both series and technical indicators.
94
+ * The data source field that contains the high value.
95
+ * It is applicable for both financial series and technical indicators.
81
96
  * @default ''
82
97
  */
83
98
  high: any;
84
99
  /**
85
- * Defines the look back period, the price changes over which will define the %K value in stochastic indicators.
100
+ * Defines the look-back period for price changes used to calculate the %K value in stochastic indicators.
86
101
  * @default 14
87
102
  */
88
103
  kPeriod: any;
89
104
  /**
90
- * The DataSource field that contains the low value of y
91
- * It is applicable for series and technical indicators
105
+ * The data source field that contains the low value.
106
+ * It is applicable for both financial series and technical indicators.
92
107
  * @default ''
93
108
  */
94
109
  low: any;
95
110
  /**
96
- * Defines the appearance of lower line in technical indicators.
111
+ * Defines the appearance of the lower line in technical indicators.
97
112
  */
98
113
  lowerLine: any;
99
114
  /**
100
- * Defines the appearance of the the MacdLine of Macd indicator.
115
+ * Defines the appearance of the MACD line in the MACD indicator.
101
116
  * @default { color: '#ff9933', width: 2 }
102
117
  */
103
118
  macdLine: any;
104
119
  /**
105
- * Defines the color of the negative bars in Macd indicators.
120
+ * Specifies the color for negative bars in the MACD indicator.
106
121
  * @default '#e74c3d'
107
122
  */
108
123
  macdNegativeColor: any;
109
124
  /**
110
- * Defines the color of the positive bars in Macd indicators.
125
+ * Specifies the color for positive bars in the MACD indicator.
111
126
  * @default '#2ecd71'
112
127
  */
113
128
  macdPositiveColor: any;
114
129
  /**
115
- * Defines the type of the Macd indicator.
130
+ * Defines the type of the MACD (Moving Average Convergence Divergence) indicator.
116
131
  * @default 'Both'
117
132
  */
118
133
  macdType: any;
119
134
  /**
120
- * The DataSource field that contains the open value of y
121
- * It is applicable for series and technical indicators
135
+ * The data source field that contains the open value.
136
+ * It is applicable for both financial series and technical indicators.
122
137
  * @default ''
123
138
  */
124
139
  open: any;
125
140
  /**
126
- * Defines the over-bought(threshold) values. It is applicable for RSI and stochastic indicators.
141
+ * Specifies the over-bought (threshold) values applicable for RSI and stochastic indicators.
127
142
  * @default 80
128
143
  */
129
144
  overBought: any;
130
145
  /**
131
- * Defines the over-sold(threshold) values. It is applicable for RSI and stochastic indicators.
146
+ * Defines the over-sold (threshold) values for RSI and stochastic indicators.
132
147
  * @default 20
133
148
  */
134
149
  overSold: any;
135
150
  /**
136
- * Defines the period, the price changes over which will be considered to predict the trend.
151
+ * Defines the period over which price changes are considered for trend prediction.
137
152
  * @default 14
138
153
  */
139
154
  period: any;
140
155
  /**
141
- * Defines the appearance of period line in technical indicators.
156
+ * Defines the appearance of the period line in technical indicators.
142
157
  */
143
158
  periodLine: any;
144
159
  /**
145
- * The DataSource field that contains the color value of a point.
160
+ * The data source field that contains the color value of a point.
146
161
  * It is applicable for series.
147
162
  * @default ''
148
163
  */
149
164
  pointColorMapping: any;
150
165
  /**
151
- * Specifies a query to select data from the DataSource. This property is applicable only when the DataSource is an `ej.DataManager`.
166
+ * Specifies a query to select data from the data source. This property is applicable only when the data source is an `ej.DataManager`.
152
167
  * @default ''
153
168
  */
154
169
  query: any;
155
170
  /**
156
- * Defines the axis, based on which the line series will be split.
171
+ * Defines the axis along which the line series will be split.
157
172
  */
158
173
  segmentAxis: any;
159
174
  /**
160
- * Defines the collection of regions that helps to differentiate a line series.
175
+ * Specifies a collection of regions used to differentiate a line series.
161
176
  */
162
177
  segments: any;
163
178
  /**
164
- * Defines the name of the series, the data of which has to be depicted as indicator.
179
+ * Specifies the name of the series to be used for displaying the indicator data.
165
180
  * @default ''
166
181
  */
167
182
  seriesName: any;
168
183
  /**
169
- * Enables/Disables the over-bought and over-sold regions.
184
+ * Specifies whether to enable or disable the over-bought and over-sold regions.
170
185
  * @default true
171
186
  */
172
187
  showZones: any;
173
188
  /**
174
- * Sets the slow period to define the Macd line.
189
+ * Sets the slow period for defining the MACD line.
175
190
  * @default 12
176
191
  */
177
192
  slowPeriod: any;
178
193
  /**
179
- * Sets the standard deviation values that helps to define the upper and lower bollinger bands.
194
+ * Sets the standard deviation values used to define the upper and lower Bollinger Bands.
180
195
  * @default 2
181
196
  */
182
197
  standardDeviation: any;
@@ -185,38 +200,38 @@ export declare class IndicatorDirective extends ComplexBase<IndicatorDirective>
185
200
  */
186
201
  upperLine: any;
187
202
  /**
188
- * Specifies the visibility of the series.
203
+ * If set to `true`, the series will be visible. If set to `false`, the series will be hidden.
189
204
  * @default true
190
205
  */
191
206
  visible: any;
192
207
  /**
193
208
  * Defines the data source field that contains the volume value in candle charts.
194
- * It is applicable for both financial series and technical indicators
209
+ * It is applicable for both financial series and technical indicators.
195
210
  * @default ''
196
211
  */
197
212
  volume: any;
198
213
  /**
199
- * The stroke width for the series that is applicable only for `Line` type series.
214
+ * The stroke width for the series, applicable only for `Line` type series.
200
215
  * It also represents the stroke width of the signal lines in technical indicators.
201
216
  * @default 1
202
217
  */
203
218
  width: any;
204
219
  /**
205
220
  * The name of the horizontal axis associated with the series. It requires `axes` of the chart.
206
- * It is applicable for series and technical indicators
221
+ * It is applicable for series and technical indicators.
207
222
  *
208
223
  * @default null
209
224
  */
210
225
  xAxisName: any;
211
226
  /**
212
- * The DataSource field that contains the x value.
213
- * It is applicable for both series and technical indicators.
227
+ * The data source field that contains the x value.
228
+ * It is applicable to both series and technical indicators.
214
229
  * @default ''
215
230
  */
216
231
  xName: any;
217
232
  /**
218
233
  * The name of the vertical axis associated with the series. It requires `axes` of the chart.
219
- * It is applicable for series and technical indicators
234
+ * It is applicable for series and technical indicators.
220
235
  *
221
236
  * @default null
222
237
  */
@@ -17,26 +17,29 @@ export declare class MultiLevelLabelDirective extends ComplexBase<MultiLevelLabe
17
17
  childCategories: any;
18
18
  tags: string[];
19
19
  /**
20
- * Defines the position of the multi level labels. The available options are,
21
- * * Near: Places the multi-level labels near.
22
- * * Center: Places the multi-level label in the center.
23
- * * Far: Places the multi-level labels far.
20
+ * Defines the position of the multi-level labels.
21
+ * The available options are:
22
+ * * Near: Places the multi-level labels close to the chart elements.
23
+ * * Center: Positions the multi-level labels in the center of the chart elements.
24
+ * * Far: Places the multi-level labels further from the chart elements.
24
25
  * @default 'Center'
25
26
  */
26
27
  alignment: any;
27
28
  /**
28
- * Border of the multi-level labels.
29
+ * The `border` property allows customization of the border for multi-level labels.
30
+ * It includes options to set the color, width, and type of the border.
29
31
  */
30
32
  border: any;
31
33
  /**
32
- * Multi level categories for multi-level labels.
34
+ * Configures multi-level categories for multi-level labels.
33
35
  */
34
36
  categories: any;
35
37
  /**
36
- * Defines the textOverFlow for multi level labels. They are,
37
- * * Trim: Trim textOverflow for multi level labels.
38
- * * Wrap: Wrap textOverflow for multi level labels.
39
- * * none: None textOverflow for multi level labels.
38
+ * Defines the text overflow behavior for multi-level labels.
39
+ * The available options are:
40
+ * * Trim: Trims the text that overflows for multi-level labels.
41
+ * * Wrap: Wraps the text that overflows for multi-level labels.
42
+ * * None: No text overflow handling for multi-level labels.
40
43
  * @default 'Wrap'
41
44
  */
42
45
  overflow: any;
@@ -11,19 +11,19 @@ export declare class RangeColorSettingDirective extends ComplexBase<RangeColorSe
11
11
  private viewContainerRef;
12
12
  directivePropList: any;
13
13
  /**
14
- * Specify the fill colors of point those lies on the given range, if multiple colors mentioned, then we need to fill gradient.
14
+ * Specifies the fill colors for points that lie within the given range. If multiple colors are specified, a gradient will be applied.
15
15
  */
16
16
  colors: any;
17
17
  /**
18
- * Specify the end value of color mapping range.
18
+ * Specifies the end value of the color mapping range.
19
19
  */
20
20
  end: any;
21
21
  /**
22
- * Specify name for the range mapping item.
22
+ * Specifies the name or label for the range mapping item.
23
23
  */
24
24
  label: any;
25
25
  /**
26
- * Specify the start value of color mapping range.
26
+ * Specifies the start value of the color mapping range.
27
27
  */
28
28
  start: any;
29
29
  constructor(viewContainerRef: ViewContainerRef);
@@ -16,7 +16,7 @@ export declare class RowDirective extends ComplexBase<RowDirective> {
16
16
  border: any;
17
17
  /**
18
18
  * The height of the row as a string accepts input both as '100px' and '100%'.
19
- * If specified as '100%, row renders to the full height of its chart.
19
+ * If specified as '100%', the row renders to the full height of its chart.
20
20
  * @default '100%'
21
21
  */
22
22
  height: any;
@@ -17,12 +17,12 @@ export declare class SegmentDirective extends ComplexBase<SegmentDirective> {
17
17
  private viewContainerRef;
18
18
  directivePropList: any;
19
19
  /**
20
- * Defines the color of a region.
20
+ * Defines the fill color for the region using a color name, hex code, or rgba value.
21
21
  * @default null
22
22
  */
23
23
  color: any;
24
24
  /**
25
- * Defines the pattern of dashes and gaps to stroke.
25
+ * Specifies the dash pattern for the stroke of the series. The string format allows defining various dash and gap lengths.
26
26
  * @default '0'
27
27
  */
28
28
  dashArray: any;
@@ -11,13 +11,13 @@ export declare class SelectedDataIndexDirective extends ComplexBase<SelectedData
11
11
  private viewContainerRef;
12
12
  directivePropList: any;
13
13
  /**
14
- * Specifies the point index.
14
+ * Specifies the index of the data point within the series.
15
15
  * @default 0
16
16
  * @asptype int
17
17
  */
18
18
  point: any;
19
19
  /**
20
- * Specifies the series index.
20
+ * Specifies the index of the series.
21
21
  * @default 0
22
22
  * @asptype int
23
23
  */