Topic-icon Embedding vChart in custom component

More
30 Apr 2018 13:56 #5918

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.


Thanks
Daniel

Please Log in or Create an account to join the conversation.

  • Bimlesh Singh
  • Bimlesh Singh's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
30 Apr 2018 11:48 #5913

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

Please Log in or Create an account to join the conversation.

More
30 Apr 2018 06:36 #5912

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.


Thanks
Daniel

Please Log in or Create an account to join the conversation.

  • Bimlesh Singh
  • Bimlesh Singh's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
27 Apr 2018 15:12 #5906

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

Please Log in or Create an account to join the conversation.

Cron Job Starts