Embedding vChart in custom component
- Bimlesh Singh
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 2
- Thank you received: 0
7 years 4 months ago #5906
by Bimlesh Singh
Embedding vChart in custom component was created by Bimlesh Singh
Hello Team
First of all its a great product. Just bought it and was able to create and publish charts in a ziffy
.
Two quick queries if you can help:
1. Embedding works for joomla articles, but could not understand how to embed it into my custom component.
{vchartmodule 63} does not work in my custom component view.
2. Can I pass dynamic sql queries to a created chart? If yes how to do it.
Thanks for your help in advance.
Bimlesh
First of all its a great product. Just bought it and was able to create and publish charts in a ziffy

Two quick queries if you can help:
1. Embedding works for joomla articles, but could not understand how to embed it into my custom component.
{vchartmodule 63} does not work in my custom component view.
2. Can I pass dynamic sql queries to a created chart? If yes how to do it.
Thanks for your help in advance.
Bimlesh
Please Log in to join the conversation.
7 years 4 months ago #5912
by Daniel
Thanks
Daniel
Replied by Daniel on topic Embedding vChart in custom component
Hello,
Please find the comments below:
1. {vchartmodule 63} works wherever the OnContentPrepare event is triggered irrespective of the component where it is being triggered. It works in Articles because this event is being triggered.
2. Yes, vChart has got the option to let you write dynamic SQL queries. You can pass GET/POST variables using the following keyword {id}, {catid}, {userid} etc where id, catid, userid are the variables in which GET/POST variables are available.
Please find the comments below:
1. {vchartmodule 63} works wherever the OnContentPrepare event is triggered irrespective of the component where it is being triggered. It works in Articles because this event is being triggered.
2. Yes, vChart has got the option to let you write dynamic SQL queries. You can pass GET/POST variables using the following keyword {id}, {catid}, {userid} etc where id, catid, userid are the variables in which GET/POST variables are available.
Thanks
Daniel
Please Log in to join the conversation.
- Bimlesh Singh
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 2
- Thank you received: 0
7 years 4 months ago #5913
by Bimlesh Singh
Replied by Bimlesh Singh on topic Embedding vChart in custom component
Thanks Daniel for your reply.
Could you please send a code snippet for the same. Am not a full fledged joomla developer and your reply was of not much help. I searched the whole forum and could not find a code snippet or documentation to implement the same. Think a proper documentation of the 2 use cases I mentioned would be helpful for community in general plus would also add value to already great product of yours.
Thanks
Bimlesh
Could you please send a code snippet for the same. Am not a full fledged joomla developer and your reply was of not much help. I searched the whole forum and could not find a code snippet or documentation to implement the same. Think a proper documentation of the 2 use cases I mentioned would be helpful for community in general plus would also add value to already great product of yours.
Thanks
Bimlesh
Please Log in to join the conversation.
7 years 4 months ago #5918
by Daniel
Thanks
Daniel
Replied by Daniel on topic Embedding vChart in custom component
Hello,
If you want us to write the code to trigger the plugin event, we can do that for you. Please contact our Sales team via Contact us-> Request a Quote form along with the database table structure on which you want to trigger the event. We'll look into it.
If you want us to write the code to trigger the plugin event, we can do that for you. Please contact our Sales team via Contact us-> Request a Quote form along with the database table structure on which you want to trigger the event. We'll look into it.
Thanks
Daniel
Please Log in to join the conversation.