Skip to content
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

chart.dataLoader.loadData() seems dose not work. #22

Open
allgrowsm opened this issue Mar 10, 2021 · 1 comment
Open

chart.dataLoader.loadData() seems dose not work. #22

allgrowsm opened this issue Mar 10, 2021 · 1 comment

Comments

@allgrowsm
Copy link

Hi there,

I am using AmCharts 3.

I can not use chart.dataLoader.loadData().

I initialize the instance like following.
var charts = [];
charts[charts.length] = AmCharts.makeChart();

charts[0].dataLoader.loadData().

Is this wrong way to use?

@allgrowsm
Copy link
Author

allgrowsm commented Mar 10, 2021

I solved by myself.

AmCharts.charts.forEach(function(c,v){                                                                                                          
    c.dataLoader.loadData();                                                                                                                        });
})

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant