Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
45
isAxisAnnotationEnabled on a data chart line-series
posted

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:

<igx-crosshair-layer isAxisAnnotationEnabled=true></igx-crosshair-layer>
and I get the crosshairs but don't get the annotations on the side and top that call out the current value. Any tips on what I'm doing wrong?
Parents
No Data
Reply
  • 6575
    Verified Answer
    Offline posted

    Hello David, 

    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?

     Regards,

Children