Description
When generating React applications with charts via the igniteui-cli MCP server, the generated code sometimes uses an invalid chart type: CategoryChartType.Bar (or "Bar"), which is not part of the Ignite UI for React API.
Error
Invalid CategoryChartType value: Bar
Actual Generated Code
<IgrCategoryChart
dataSource={data}
chartType="Bar"
/>
Expected
A valid CategoryChartType value (e.g. Column) instead of Bar.
Reproduction
Two separate prompts with which I have produced this behavior are attached below:
prompt1.txt, prompt2.txt
Description
When generating React applications with charts via the
igniteui-cliMCP server, the generated code sometimes uses an invalid chart type:CategoryChartType.Bar(or"Bar"), which is not part of the Ignite UI for React API.Error
Invalid CategoryChartType value: Bar
Actual Generated Code
Expected
A valid
CategoryChartTypevalue (e.g.Column) instead ofBar.Reproduction
Two separate prompts with which I have produced this behavior are attached below:
prompt1.txt, prompt2.txt