-
Notifications
You must be signed in to change notification settings - Fork 110
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
in lib/types/chart-type.ts, ChartType.WordTree should be 'WordTree' not 'wordtree' #248
Comments
FYI - I found this while trying to debug another problem. WordTree worked fine for me (in Jan 2021), and then at some later point (not sure when) it stopped working. I don't think I changed anything (but it's certainly possible). Now I get a "TypeError : c is undefined" after I'm not sure if these problems are related, but the |
I updated the StackBlitz to angular-google-charts 2.2.2, and now it also gives the error "c is undefined". |
I was able to get around the toLowerCase issue by reverting to 1.1.6, and using the "WordTree" as ChartType as previously mentioned by kussmaul. Hope this helps someone that is able to still use 1.1.6. |
FYI - in 2.1.0, However, fixing |
Bug Report
Description
lib/types/chart-type.ts
definesenum ChartType
. The last enum value isWordTree = 'wordtree'
but should beWordTree = 'WordTree'
.To reproduce
app.component.ts
, which declares data used in sample charts.wType=ChartType.WordTree;
produces an error:Invalid visualization type: wordtree
wType = "WordTree" as ChartType;
is a wordaround that shows the wordtree.The text was updated successfully, but these errors were encountered: