• Resolved rbrown3rd

    (@rbrown3rd)


    I use the following shortcode:

    [gdoc key="https://docs.google.com/spreadsheets/d/11hNhguSQPOUU9uHbqSb_N4gw5SYe9_qMBryvtP5sFjg/edit?usp=sharing" strip="3" query="select A,B limit 3"]
    [gdoc key="https://docs.google.com/spreadsheets/d/11hNhguSQPOUU9uHbqSb_N4gw5SYe9_qMBryvtP5sFjg/edit?usp=sharing" query=" strip="2" query="select X,Y limit 13"]

    To create this web page:

    Last Ten Days

    If I use shortcode to create a chart nothing appears. Am I correct in thinking it is because of incompatibility with the theme I am using?

    https://ww.wp.xz.cn/plugins/inline-google-spreadsheet-viewer/

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

    (@meitar)

    If I use shortcode to create a chart nothing appears. Am I correct in thinking it is because of incompatibility with the theme I am using?

    No, it’s because you are not using a chart attribute.

    Also your second shortcode is malformed, you have two query attributes and the first one is not closed.

    Thread Starter rbrown3rd

    (@rbrown3rd)

    The chart attribute is missing because I removed it when it did not produce a result. I needed to at least display the data. Thanks for spotting the error in the query. I’ve corrected that and added a query with the chart code as follows”

    [gdoc key="https://docs.google.com/spreadsheets/d/11hNhguSQPOUU9uHbqSb_N4gw5SYe9_qMBryvtP5sFjg/edit?usp=sharing" strip="3" query="select A,B limit 3"]
    [gdoc key="https://docs.google.com/spreadsheets/d/11hNhguSQPOUU9uHbqSb_N4gw5SYe9_qMBryvtP5sFjg/edit?usp=sharing" strip="2" query="select X,Y limit 13"]
    [gdoc key="https://docs.google.com/spreadsheets/d/11hNhguSQPOUU9uHbqSb_N4gw5SYe9_qMBryvtP5sFjg/edit?usp=sharing" strip="2" query="select X,Y limit 13" chart="column"]

    It produces no chart at Last Ten Days which motivated my first guess that the theme was conflicting with the generation of a chart.

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

The topic ‘Theme conflict?’ is closed to new replies.