Closed AndrewK15 closed 5 years ago
@AndrewK15 TypeScript 3.0 has a bunch of breaking changes. We're working on making AmCharts 4 compatible with TypeScript 3.0, but in the meantime we recommend downgrading to 2.x
@Pauan any news on this?
Today I also upgraded to angular 7 and typescript 3.1.3. With amcharts 4.0.0-beta.63 problem still exists.
can confirm @erichstark, have the same problem
While working on TypeScript 3.0 support, we noticed that TypeScript 3.0 causes major slowdowns for compile times. We're working on creating a reduced test case so we can submit it to the TypeScript dev team.
@Pauan do you have an estimated timeframe on when the compile issues will be fixed, irrespective of the slowdown issue?
Temporary solution: add "skipLibCheck": true to tsconfig.json
@billfranklin We've already fixed all the issues, but we can't release it until the major slowdown is fixed.
@dellax That's great! It must be a new option, I don't remember it existing before.
@Pauan did the update from 4 days ago fix this? It seems it might be related to slowdown issues in projects with many source files https://github.com/Microsoft/TypeScript/issues/28025
@dellax genius!
@billfranklin Unfortunately, I don't think it fixed it. However, I submitted a bug report to the TypeScript team and they're looking into it.
@Pauan, at least they have a workaround from the looks of it?
Yeah, there's a workaround posted in the thread and a fix committed to master
that'll ship in 3.2
.
Check out TypeScript 3.1.6 for the fix.
Sorry, not 3.1.6; someone linked to a separate issue which is addresed in 3.1.6.
Good news! The next release of AmCharts will include TypeScript 3.0 support. We hope to have it out by tomorrow, but we can't promise that.
Fixed in 4.0.0-beta.72.
XYSeries
if the itemReaderText
is not set explicitly, it will automatically try to fill with values from dataFields
, so that each series element, like a Column has at least rudimentary screen-reader text.ColumnSeries
with two category axes anomaly fixed.Make sure you clear your browser cache after upgrading. And feel free to contact us again if you are still experiencing this issue.
I'm getting these errors when trying to use amchartsv4 (4.0.0-beta.55) in angular7.rc0 + typescript 3.1.1.
Does it mean amcharts do not support typescript v3 at the moment and I should downgrade?