We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug The chart serie will not draw correctly if the chart is used into a component that use ng-content (transclusion).
To Reproduce Steps to reproduce the behavior:
When the browser is resized (chart refresh) the serie is getting painted.
Expected behavior Chart should always paint the series if data is available.
Screenshots Step 2:
Step 3:
Step 4 (Error, series not visible):
Browser
The text was updated successfully, but these errors were encountered:
The chart seems to work correctly without the custom axis directive:
https://stackblitz.com/edit/kendo-chart-refresh-error-hzrdpc?file=app/app.component.ts
At first look, the problem occurs because the code measures the size before the element is visible after the content is shown again:
public __buildAxisConfiguration(timeRangeChanged: boolean = false): void { const width = this.getCanvasWidth(); if (!!this.timeRange && width && (this.cachedWidth !== width || timeRangeChanged)) {
Sorry, something went wrong.
No branches or pull requests
Describe the bug
The chart serie will not draw correctly if the chart is used into a component that use ng-content (transclusion).
To Reproduce
Steps to reproduce the behavior:
When the browser is resized (chart refresh) the serie is getting painted.
Expected behavior
Chart should always paint the series if data is available.
Screenshots

Step 2:
Step 3:

Step 4 (Error, series not visible):

Browser
The text was updated successfully, but these errors were encountered: