'schedule' of undefined
See original GitHub issuetemplate code
<apx-chart #chart
[series]="[{name: 'test', data: [1, 2, 3]}]"
[xaxis]="{ categories: ['Jan', 'Feb', 'Mar'] }"
[chart]="chartx"
[grid]="gridx"
[title]="{ text: 'Title' }"
[stroke]="{curve: 'straight'}"
[dataLabels]="{enabled: false}"
[autoUpdateSeries]="false"></apx-chart>
js code
@ViewChild('chart') chart: ChartComponent;
chartx = {
height: 350,
type: 'line',
zoom: {
enabled: false
},
shadow: {
enabled: true,
color: '#000',
top: 18,
left: 7,
blur: 10,
opacity: 1
}
};
gridx = {
row: {
colors: ['#f3f3f3', 'transparent'],
opacity: 0.5
}
};
ERROR TypeError: Cannot read property ‘schedule’ of undefined at ChartComponent.ngOnChanges (ng-apexcharts.js:46)
Hi, I just tries to use Apex, and I got this problem, anyone knows why? how to fix? Thanks.Regards.
maybe relevant? https://github.com/apexcharts/ng-apexcharts/issues/5 @kover
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (2 by maintainers)
Top Results From Across the Web
angular - Cannot read property 'schedule' of undefined
The desired output is the BsDatePicker and for some reason is giving me the error: Cannot read property 'schedule' of undefined.
Read more >Management Bug: Undefined Project Schedule
This week's “Undefined Project Schedule” is a common problem in project management. By definition, it is the lack of a mechanism to communicate...
Read more >Cannot read property 'schedule' of undefined · Issue #53
In my case I accidentally assigned BackgroundTask.define(...) to a variable and attempted to invoke task.schedule() . Since there can only be ...
Read more >Getting Schedule control undefined error on custom event
I am trying to implement a scheduler calendar that gets the details of an appointment on double click. So I have this method...
Read more >Schedule vs Undefined - What's the difference?
As a noun schedule. is a slip of paper; a short note. ; As a verb schedule. is to create a time-schedule. ;...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@esdegan50000 yes, this may be a reason, I’ll add a fix soon
Any solution on this yet?