Results 1 to 2 of 2

Thread: How to: Display Listview Query results with Google Charts

  1. #1
    roberti is offline Junior Member
    Join Date
    Nov 2010
    Location
    Bavaria
    Posts
    6

    Default How to: Display Listview Query results with Google Charts

    Hi,

    this little, but handy example code explains how to create a chart based on the result of a listview query leveraging Google's Chart API.

    The given example counts the number of accounts in postalcode areas, passes the results to Google and invokes their new "Chart Editor", which allows the user to select chart type and customize appearance.

    The code implents a custom controller in the Accounts module and extends the listview actions menu. The files should be copied into custom/modules/Accounts (controller.php, accounts_by_plz.php) and custom/modules/Accounts/views (view.list.php)

    Thanks to John Mertic for his helpful code snipplets.


    Cheers, Robert
    Attached Files Attached Files

  2. #2
    GregoryCollett is offline Sugar Community Member
    Join Date
    Oct 2011
    Location
    UK, London
    Posts
    15

    Default Re: How to: Display Listview Query results with Google Charts

    Thanks for this example!.

    Greg

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 6
    Last Post: 2011-12-13, 01:00 PM
  2. Google Charts in DetailView
    By erop in forum Developer Help
    Replies: 7
    Last Post: 2011-05-23, 09:15 AM
  3. Store query results
    By japtone in forum Developer Help
    Replies: 2
    Last Post: 2011-03-09, 02:20 PM
  4. seamless_login post query results
    By brianhildebrandt in forum Developer Help
    Replies: 1
    Last Post: 2010-01-04, 05:49 AM
  5. Can't display all with search results
    By transite in forum Help
    Replies: 0
    Last Post: 2006-06-15, 01:29 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •