I am implementing amcharts4 "Animated-Gauge" demo in angular6 project.
Here is my code:
It is working fine on StackBlitz online editor but throwing an error when i am implementing in my angular6 project. It is throwing an error warning at line number 25 which is this
var axis = chart.xAxes.push(new am4charts.ValueAxis());
And it is throwing this error when i hover on line number 25 error.
Argument of type 'ValueAxis<AxisRenderer> is not assignable to parameter'
of type Axis<AxisRendererCircular>
Here is my error image:
How can i fix this issue?