angular-highcharts icon indicating copy to clipboard operation
angular-highcharts copied to clipboard

not work more plugin

Open noturnocs opened this issue 6 years ago • 2 comments

not work plugin more.. in angular "@angular/core": "^6.0.9" "angular-highcharts": "^6.2.6" "highcharts": "^6.1.4"

https://www.imagemhost.com.br/images/2018/09/27/ngmodule.jpg https://www.imagemhost.com.br/images/2018/09/27/ngmodules.jpg https://www.imagemhost.com.br/images/2018/09/27/home.jpg https://www.imagemhost.com.br/images/2018/09/27/home2.jpg

erro line 560

ERROR in src/app/home/home.component.ts(560,9): error TS2345: Argument of type '{ chart: { polar: true; type: string; }; title: { text: string; x: number; }; pane: { size: strin...' is not assignable to parameter of type 'Options'. Types of property 'yAxis' are incompatible. Type '{ gridLineInterpolation: string; lineWidth: number; min: number; }' is not assignable to type 'AxisOptions | AxisOptions[]'. Object literal may only specify known properties, and 'gridLineInterpolation' does not exist in type 'AxisOptions | AxisOptions[]'.

noturnocs avatar Sep 28 '18 00:09 noturnocs

Can you please create a stackblitz, to make this reproducible.

cebor avatar Oct 04 '18 13:10 cebor

I think this is again a problem of the type library of highcharts being a pain. I would advise on using any whenever a Type error occurs. Related to https://github.com/cebor/angular-highcharts/issues/144#issuecomment-372690491 and https://github.com/cebor/angular-highcharts/issues/137#issuecomment-371121214

SayakMukhopadhyay avatar Dec 24 '18 08:12 SayakMukhopadhyay