[AOT] Gauge-axis
See original GitHub issueI’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:
- Created 7 years ago
- Comments:6 (2 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@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!
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.