WordPress.org

Forums

WordPress Charts
[resolved] External Data Sources (4 posts)

  1. TONIK
    Member
    Posted 2 years ago #

    Hi

    Any plans or advice on using external data sources (for example Google Spreadsheets or txt files) to power the charts?

    Regards
    Jann

    http://wordpress.org/extend/plugins/wp-charts/

  2. Paul van Zyl
    Member
    Plugin Author

    Posted 2 years ago #

    Hi Jann

    Sure, you wouldn't be able to do this from the admin section BUT it wouldn't be too hard to do in your template files.

    The first step would just be getting your external data, such as from a google spreadsheet, or parsing a file, and depending on where its coming from clearly you could either work with the API to do so, or use php or javascript (all depending) to get and output your data in the template file the way you want.

    Secondly you'd want to format the output as strings, (with the formatting you would use for the shortcode, ) and then ouput them in the shortcode, using the WP do_shortcode() ; method.

    Good luck :)

  3. Paul van Zyl
    Member
    Plugin Author

    Posted 2 years ago #

    Hey Jann

    does that satisfy your question ? can I help you in any other way at all ?

    Let me know, otherwise I'll close this topic as complete, thanks :)

    Have a great week.

    Paul

  4. Paul van Zyl
    Member
    Plugin Author

    Posted 2 years ago #

    Closing this thread, contact me directly if you require further assistance :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WordPress Charts
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic