I'm looking at the sample here:https://www.infragistics.com/products/ignite-ui-angular/angular/components/data-chart-axis-annotations
And trying to add crosshairs with axis annotation to a igx-line-series instead of a igx-column-series. I added the following line to my data chart:
You might be missing IgxDataChartAnnotationModule or IgxCrosshairLayerModule
Modules in the module.ts
If not then what else module you have added?
Is there any way you can share the sample?
That's fantastic! It's working as expected after I imported those 2 modules. Thanks so much!
I'm not sure, though, based on the sample that I was looking at, how was I supposed to know to import those? They aren't mentioned on the page anywhere. What am I missing?
Thanks again for your help!
Thank you for the update. I am glad that you resolved the issue.
You are right that information is missing from the docs , although we are working on improving the docs and would release the updated docs soon, that would have the stackBlitz and codesandBox complete samples for the reference.