Chart Flickering
See original GitHub issueI’m submitting a … (check one with “x”)
[*] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request => Please do not submit support request here
Current behavior
chart flickers as per the attachment. currently tested on vertical bar chart. Also on other machines not able to reproduce.
Expected behavior
it should resize as as per container Reproduction of the problem
- go to https://swimlane.github.io/ngx-charts/
- open developer console as per attachment so that view height will be around 300 px
- toggle fit container or Show X axis or Show Y axis What is the motivation / use case for changing the behavior?
we’ve been trying to implement it in angular-gridster2 widgets. we have removed view attribute and it fits to container. When we make the widget big chart renders as expected and fit to widget but when we make the widget small it start flickering.
note: When widget resize chart doesn’t fit to container, we had to add window.dispatchEvent(new Event(‘resize’)); to the widget’s resize callback. Please tell us about your environment:**
Windows 7 Display - 1366 x 768
- ngx-charts version: 5.1.2
- d3: 4.8.0
- Angular version: 4.0.2
- Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]
Chrome 58.0.3029.81
- Language: [all | TypeScript X.X | ES6/7 | ES5] Typescript 2.2.0
Issue Analytics
- State:
- Created 6 years ago
- Reactions:3
- Comments:20 (2 by maintainers)
Top Results From Across the Web
Flickering in Excel when a chart is selected
Once I make a chart, I select it to make changes, but the selected data (belonging to the chart) begins to flicker and...
Read more >Chart.js flickering - javascript - Stack Overflow
I discovered it happend when recreating the chart on the same canvas. If you recreate your chart multiple times on the same canvas,...
Read more >1m chart is flickering/jumping : r/thinkorswim - Reddit
It's like the chart is automatically refreshing itself and then flips out mid-refresh. Has anyone experienced this and if so is there a...
Read more >Layers are flickering and glitching - Lucidchart Help
I can't even get a screenshot because its flickers in and out when I move my mouse or press anything on my keyboard....
Read more >Excel chart flickering due to add-in - PDF Forum | Foxit Software
Excel chart flickering due to add-in. 07-17-2017, 12:18 PM. Every time I selected some data on a chart in Excel 2016 (the chart...
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
@marjan-georgiev @Hypercubed Can you please plan somehow to solve this problem? Thank you.
First time posting, forgive the lack of introduction: I have encountered this issue as well. I understand that it is quite a challenge to solve for all cases, but I have a thought on this matter: If the calculation for tilting the text in either direction yields no positive result, could you shrink the font, further reduce the number of characters allowed, or place the text within the bar itself?