Ignite UI CLI Version
15.0.0-rc3
Framework
Angular
CLI Command
ai-config
Node.js Version
24.2.0
Operating System
Windows
Package Manager
None
Description
When generating financial charts, indicatorTypes is sometimes set to "RSI, MACD", which are not valid enum values and result in a runtime error.
Error: Invalid FinancialIndicatorType value: RSI
Steps to Reproduce
- Generate a financial chart using the following prompt:
Actual Result
indicatorTypes is set to "RSI, MACD" and the app throws a runtime error.
Expected Result
Only valid FinancialIndicatorType enum values should be generated (e.g. MoneyFlowIndex, AverageTrueRange).
Error Output / Logs
Component update failed: Invalid FinancialIndicatorType value: RSI
Error: Invalid FinancialIndicatorType value: RSI
Additional Context
It seems this may be related to inconsistencies in the documentation:
-
In charts.md (igniteui-angular-components skills), indicatorTypes is described with examples such as:
indicatorTypes: IndicatorType[]; // RSI, MACD, etc.
which may suggest values that are not part of the actual enum.
Aligning these references could help avoid generating invalid values.
Ignite UI CLI Version
15.0.0-rc3
Framework
Angular
CLI Command
ai-config
Node.js Version
24.2.0
Operating System
Windows
Package Manager
None
Description
When generating financial charts,
indicatorTypesis sometimes set to"RSI, MACD", which are not valid enum values and result in a runtime error.Steps to Reproduce
Actual Result
indicatorTypesis set to"RSI, MACD"and the app throws a runtime error.Expected Result
Only valid
FinancialIndicatorTypeenum values should be generated (e.g.MoneyFlowIndex,AverageTrueRange).Error Output / Logs
Additional Context
It seems this may be related to inconsistencies in the documentation:
In
charts.md(igniteui-angular-components skills),indicatorTypesis described with examples such as:which may suggest values that are not part of the actual enum.
In the official API docs, the property expects an
IgxFinancialIndicatorTypeCollection, with valid values like:Aligning these references could help avoid generating invalid values.