|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
Rob_B Smarty n00b
Joined: 28 Nov 2020 Posts: 1
|
Posted: Sat Nov 28, 2020 10:52 pm Post subject: Google Charts API or another??? |
|
|
Hello,
Can anyone recommend a charts Api that works with smarty templates?
Have used google charts: success with manually declared arrays and absolutely none with parsing json data in data table for a chart. Have tried literal and dlim tags and generally spent far more time than I wish to.
Does anyone know of an api where a DB query can be used to return an array or take a conversion to json and display a chart in a .tpl, preferably keeping any .js out of the .tpl.
Thanks |
|
Back to top |
|
AnrDaemon Administrator
Joined: 03 Dec 2012 Posts: 1785
|
Posted: Mon Nov 30, 2020 12:32 am Post subject: Re: Google Charts API or another??? |
|
|
Rob_B wrote: | Hello,
Can anyone recommend a charts Api that works with smarty templates?
Have used google charts: success with manually declared arrays and absolutely none with parsing json data in data table for a chart. Have tried literal and dlim tags and generally spent far more time than I wish to.
Does anyone know of an api where a DB query can be used to return an array or take a conversion to json and display a chart in a .tpl, preferably keeping any .js out of the .tpl.
Thanks |
Frankly I don't understand your issue.
Can you provide a test case you have a problem with? |
|
Back to top |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|