question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

I’m submitting a … (check one with “x”)

[x] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request => Please do not submit support request here

Current behavior When compiling for AOT while using the gauge chart, the following errors are thrown

ERROR in [at-loader] src\compiled\node_modules\@swimlane\ngx-charts\release\gauge\gauge-axis.component.ngfactory.ts:131:7
    TS2346: Supplied parameters do not match any signature of call target.

ERROR in [at-loader] src\compiled\node_modules\@swimlane\ngx-charts\release\gauge\gauge-axis.component.ngfactory.ts:251:50
    TS2339: Property 'big' does not exist on type 'any[]'.

ERROR in [at-loader] src\compiled\node_modules\@swimlane\ngx-charts\release\gauge\gauge-axis.component.ngfactory.ts:254:50
    TS2339: Property 'big' does not exist on type 'any[]'.

ERROR in [at-loader] src\compiled\node_modules\@swimlane\ngx-charts\release\gauge\gauge-axis.component.ngfactory.ts:257:50
    TS2339: Property 'small' does not exist on type 'any[]'.

Expected behavior Compile without errors

Reproduction of the problem

What is the motivation / use case for changing the behavior?

Please tell us about your environment:

  • ngx-charts version: 4.3.0
  • Angular version: 2.4.1
  • Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]
  • Language: [all | TypeScript X.X | ES6/7 | ES5]

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
cpower1994commented, Mar 12, 2019

@marjan-georgiev I’ve tried your solution I’m still getting

StaticInjectorError(AppModule)[TooltipService -> InjectionService]: StaticInjectorError(Platform: core)[TooltipService -> InjectionService]: NullInjectorError: No provider for InjectionService!

0reactions
itsJess1cacommented, Jun 18, 2017

Oh thanks, I found adding NgxChartsModule to my root app module worked too - I’ll attempt the method above. Thanks!

Edit: Despite having TooltipService in my providers, I was getting No provider for TooltipService errors. For now I’ve reverted to using the NgxModule imported into app module. I’ll worry about the lazy load portion later 😉 Will close now as my original issue is resolved.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Non-Nuclear Compaction Gauge Comparison Study
The following report summarizes the Certification and Independent Assurance Unit's efforts in conducting a comparison study of performance and usability ...
Read more >
Overview - DevExtreme Gauges: Angular Components by ...
DevExtreme Angular Gauges are interactive UI components for dashboards. ... Native Angular features, like AOT compilation, declarative configuration, ...
Read more >
Optical Sensing Solutions - World Precision Instruments
Fiber Optic Oxygen Meter for Minisensors. OXY-MINI-AOT. $12,038.00. Learn More. Add to Wish List. Fiber Optic Oxygen Meter for Microsensors. OXY-MICRO-AOT.
Read more >
AOT Osteotomies Knee book sample by AO Foundation - Issuu
Some authors refer to the anatomical axes of the femur and tibia and ... pressure was obtained by application of strain gauges [23,...
Read more >
Changelog - ngx-charts - GitBook
Fix: Export polyfills to fix AoT build issue with Angular 5 (#644) ... Fixed axis tick overlap in gauge chart when the angle...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found