Following works fine -
<igx-data-chart #chart width="100%" height="300px"> <igx-category-x-axis name="xAxis"></igx-category-x-axis> </igx-data-chart>
Following throws error -
Uncaught Error: Template parse errors:'igx-category-y-axis' is not a known element:1. If 'igx-category-y-axis' is an Angular component, then verify that it is part of this module.2. If 'igx-category-y-axis' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message. (" width="100%" height="300px"> [ERROR ->]<igx-category-y-axis name="xAxis"></igx-category-y-axis>
</igx-data-chart>
<igx-data-chart #chart width="100%" height="300px"> <igx-category-y-axis name="xAxis"></igx-category-y-axis>
We get same error with same error with igx-numeric-x-axis
Hello Paul,
Thank you for contacting Infragistics Developer Support!
If you want to use a category y axis you will have to load the vertical category modules:
IgxDataChartVerticalCategoryCoreModuleIgxDataChartVerticalCategoryModule
As well as use the igx-bar-series instead of the igx-column-series.
There is also another error in your stackblitz, you didn’t chage the reference/id of the category y axis to yAxis it is still xAxis. I have modified the stackblitz to resolve these which you can see here:
stackblitz.com/.../angular-mzjscp-72jfrt
Sample - stackblitz.com/.../angular-mzjscp