meta-magic / amexio.github.io

Amexio is a rich set of Angular 7 (170+) components powered by HTML5 & CSS3 for Responsive Design and with 80+ Material Design Themes, UI Components, Charts, Gauges, Data Point Widgets, Dashboards. Amexio is completely Open Sourced and Free. It's based on Apache 2 License. You can use it in your production grade work today at no cost or no obligation.
http://www.amexio.tech
Apache License 2.0
167 stars 72 forks source link

Amexio-chart-d3 is not usefull in real dashboard, when data property used as series datasource #122

Closed baminmru closed 5 years ago

baminmru commented 5 years ago

I'm submitting a...


[ ] Regression (a behavior that used to work and stopped working in a new release)
[ ] Bug report  
[X] Feature request
[ ] Documentation issue or request
[ ] Support request

Current behavior

I use JWT autentification in my application. So I can't use http-url property. I fill data series array from server with different parameters. I use data property to set series information to chart. I want change series data for different items, but line chart only change legend information and not show chart series data at all.

Expected behavior

Chart redraw legend and series information when I change series data and set new array to data property.

Minimal reproduction of the problem with instructions

For bug reports please provide the STEPS TO REPRODUCE and if possible a MINIMAL DEMO of the problem via https://plnkr.co or similar (you can use Our Amexio Plunker as a starting point: http://plnkr.co/edit/M9AeGH?p=info)

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

Environment


Angular version: 6.2.4


Browser:
- [ ] Chrome (desktop) version XX
- [ ] Chrome (Android) version XX
- [ ] Chrome (iOS) version XX
- [X ] Firefox version 58
- [ ] Safari (desktop) version XX
- [ ] Safari (iOS) version XX
- [ ] IE version XX
- [ ] Edge version XX

For Tooling issues:
- Node version: 10.11.0 
- Platform: Windows   

Others:

baminmru commented 5 years ago

You can see chart usage in my project https://github.com/baminmru/A_monitor See DISPATCHER_CHART component and DISPATCHER.service.ts

rashmithakkar commented 5 years ago

Please take the amexio-chart-d3 (v0.1.6) update

Thanks

baminmru commented 5 years ago

This version work fine.