question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Chart Flickering

See original GitHub issue

I’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

  1. go to https://swimlane.github.io/ngx-charts/
  2. open developer console as per attachment so that view height will be around 300 px
  3. 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

ngxchartissue

Issue Analytics

  • State:open
  • Created 6 years ago
  • Reactions:3
  • Comments:20 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
pierluigilenocicommented, Jun 5, 2020

@marjan-georgiev @Hypercubed Can you please plan somehow to solve this problem? Thank you.

2reactions
jkriegcommented, Apr 2, 2018

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?

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found