• Resolved bmprowell

    (@bmprowell)


    I’ve got a Pie Chart working with a spreadsheet as the source. When I switch and try to pull the same basic information from a MySQL database it will only displays the datatable. The data is correct. I just need it in a graph and I’m not sure what I’m doing wrong.

    This is the shortcode used:

    [gdoc
    class=”no-responsive”
    key=”wordpress”
    title=”Summary”
    query=”SELECT type AS Type, sum(total) AS Total FROM sample GROUP By Type”
    chart=”Pie”
    ]

    Please let me know if you need further information.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Meitar

    (@meitar)

    You’re not doing anything wrong. Chart data sources are currently only Google Spreadsheets or CSV files. MySQL datasources for charts is a long-standing feature request that I haven’t implemented yet.

    Thread Starter bmprowell

    (@bmprowell)

    Ahhh…. That explains it. Thank you for the reply. Love the plug-in and hope you get a chance to implement some time.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Problem viewing Pie chart using MySQL as source’ is closed to new replies.