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

I am facing this issue recently when I resize the window the chart works properly or else its not working in angular #274

Open
smitsonani77 opened this issue Jul 13, 2023 · 2 comments

Comments

@smitsonani77
Copy link

          I am facing this issue recently when I resize the window the chart works properly or else its not working in angular

Originally posted by @sujith-sairam in apexcharts/vue-apexcharts#185 (comment)

@marcioggs
Copy link

This happened to me when I was updating the series variable content:

<eui-apex-chart
   [chart]="chart"
   [series]="series">
</eui-apex-chart>
series: ApexAxisChartSeries = [{ data: [] }];

loadChartSeries() {
   this.series[0].data = [/* some data */];
}

It works well if I replace series instead:

series: ApexAxisChartSeries = [];

loadChartSeries() {
   this.series= [{ data: [/* some data */] }];
}

Probably related to how the component expects new values via ngOnChanges.

Copy link

github-actions bot commented Aug 2, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

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

No branches or pull requests

2 participants