-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
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
Unable to integrate pivottable.js with angular 2 #628
Comments
Here is a simplified version of how i do it but should get you most of the way there.....
|
This allows you to use the wrapper as component anywhere...mine is setup to allow dynamic columns, etc and handle changing of meta and data to re-render. I'll see if I can clean it up and post on my GitHub sometime soon....good luck! |
I copied above data to my repo...i'll work on it as time allows :) |
Thanks alot benharrell :) Till then will try to work with the wrapper which you have given, hope I would be able to do it. |
Hi Benharrell, i was able to get angular2 working with pivottable. unfortunately it gives error with the c3 chart options. An error occurred rendering the PivotTable results. Did you get that working? |
Sorry I did not use the c3 chart options but seems like probably need reference to $.pivotUtilities? just a thought...good luck! |
Thanks Benharrell, I tried the google chart options and got that working so, for now, will park the c3 renderer. |
awesome. glad to hear it!
… On Jul 25, 2017, at 4:39 PM, sunnylnct007 ***@***.***> wrote:
Thanks Benharrell, I tried the google chart options and got that working so, for now, will park the c3 renderer.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
@sunnylnct007 Could you help to provide good chart option sample to reference, tnaks. |
@garyyang1016 you can do below:
In angular-cli json class:
In your component class (for e.g PivotWrapperComponent in this case)
In the corresponding html
Please let me know if it works for you |
@sunnylnct007 it works well, but i wanna know how to implement C3 or google chart in angular4.
I have use http to get data, but i can not user this.data to replace the array data. |
@sunnylnct007 it works perfectly! |
@ArmandoFMM - Glad it works
|
@sunnylnct007 can you provide more details about how to use either google charts or d3 to get the charts |
Hello, I have created my own repo for Angular 2+. |
@jmubago can you please provide me the details how can i configure working of c3/d3 charts in code of your repo that you have shared on |
Hi Guys,
Could you please help me to integrate pivottable plugin in angular2 project.
Am unable to integrate, facing issues like undefined tipsData, undefined renderer, pivotUI, aggregator, etc..
It would be great help.
As I have read some where that @benharrell have done with angular2.
Please help me to integrate in angular2.
The text was updated successfully, but these errors were encountered: