ngx-charts icon indicating copy to clipboard operation
ngx-charts copied to clipboard

Chart ready output event

Open jtushar53 opened this issue 7 years ago • 15 comments

I'm submitting a ... (check one with "x")

[ ] bug report => search github for a similar issue or PR before submitting
[x] feature request
[ ] support request => Please do not submit support request here

Current behavior

we are have dashboard kind of UI and we have multiple charts (minimum 20) on a single page. i need to show a loading indicator whenever a chart gets completely rendered. currently i am showing loader before api call and binding charts data to it and hiding loader Whenever dashboard page renders all charts there is a flickering for all charts Expected behavior

after binding data to charts instead of hiding loader inside http callback i can disable it inside chart ready event. Reproduction of the problem

What is the motivation / use case for changing the behavior?

i am showing loader before chart loads. Also i am assuming chart animation will be triggered after chart ready triggered, so the flow in my case will be show loading before calling api > inside chart ready event hide loading > chart animation will get triggered i think it will improve performance atleast in my case Please correct me if i am wrong

Please tell us about your environment:

  • ngx-charts version: 5.3.1
  • Angular version: 4.1.3
  • Browser: Chrome 59 | IE 11
  • Language: TypeScript 2.2.0

jtushar53 avatar Jun 14 '17 12:06 jtushar53

Unbelievable no one else has needed this feature before...

rojasjandro89 avatar Oct 09 '17 17:10 rojasjandro89

I need!!!

felipeperezsanchez avatar Apr 19 '18 14:04 felipeperezsanchez

Another need here.

mwellner avatar Aug 17 '18 07:08 mwellner

and one more here

BoJIbFbI4 avatar Mar 25 '19 13:03 BoJIbFbI4

& another!

lewiswashere avatar Jun 21 '19 22:06 lewiswashere

would it be added? I need this too.

vjndr32 avatar Feb 20 '20 09:02 vjndr32

I need it too..

ankurshah32 avatar Apr 30 '20 19:04 ankurshah32

I need it too..

my-trades-flow avatar May 23 '20 22:05 my-trades-flow

I need it too!

Bhavisha-Sahitya avatar May 28 '20 11:05 Bhavisha-Sahitya

I need it too!

Saurabhj89 avatar Aug 06 '20 08:08 Saurabhj89

+1

upadhyaya8095 avatar Oct 30 '20 12:10 upadhyaya8095

+1 too

AlbertoCrespoGuzman avatar Dec 28 '20 14:12 AlbertoCrespoGuzman

+1

cicarulez avatar May 07 '21 08:05 cicarulez

+1

Rades98 avatar Nov 21 '21 21:11 Rades98

In my case, I subscribe for data and then set it. But in some cases, the data loads too quickly and it is set before the chart exists/is ready.

arnotixe avatar Mar 06 '22 16:03 arnotixe