apexcharts / ng-apexcharts

ng-apexcharts is an implementation of apexcharts for angular. It comes with one simple component that enables you to use apexcharts in an angular project.
MIT License
319 stars 79 forks source link

Type '"rangeArea"' is not assignable to type 'ChartType'. Did you mean '"rangeBar"' #281

Closed tmijieux closed 1 year ago

tmijieux commented 1 year ago

i try setting the 'type' property of an object of type ApexChart to the value 'rangeArea' and i got this error:

Type '"rangeArea"' is not assignable to type 'ChartType'. Did you mean '"rangeBar"'

while the value is allowed in the main branch of upstream apexcharts.js, see here: https://github.com/apexcharts/apexcharts.js/blob/main/types/apexcharts.d.ts#L117

this is probably an oversight ?

I am using ng-apexcharts 1.8.0

tmijieux commented 1 year ago

never mind, i missed a npm ci call after changing my git branch 😩