Support » Plugin: Gravity Forms Charts Reports » Graphs not appearing

  • Hi there,

    I’ve installed your plugin, added the following shortcode to a page [gfchartsreports gf_form_id="1" include="6,7,8" color_set="blue" type="pie" width="400px"] but there is no visible data being shown. If I highlight the page, I can see three squares where the graphs should be displayed, though. There are also no errors in the console. The form I’m pulling data from has 60+ entries already. The page is here.

    Could you please assist me in resolving this?

    Thanks.

Viewing 15 replies - 1 through 15 (of 23 total)
  • Plugin Author termel

    (@munger41)

    Sure i ‘m going to help you, can you please provide the version of the plugin you are using, and the log file located under the plugin folder in logs/gfcr-xx-xx-xx.log, retrieved just after a refresh on the page.
    Thanks!

    Thread Starter DeeperLook

    (@deeperlook)

    Version 2.6.0

    https://www.dropbox.com/s/8fxef7vroasyqgj/gfcr-2017-04-05.log?dl=0
    or below:

    
    2017-04-05 00:02:09,214 default DEBUG /home/workstor/public_html/wp-content/plugins/gf-charts-reports/gf_charts_reports.php:886 shortcode gf -> chartjs
    2017-04-05 00:02:09,220 default DEBUG /home/workstor/public_html/wp-content/plugins/gf-charts-reports/gf_charts_reports.php:952 Array
    (
        [include] => 6
        [type] => bar
        [width] => 50%
    )
    
    2017-04-05 00:02:09,220 default DEBUG /home/workstor/public_html/wp-content/plugins/gf-charts-reports/gf_charts_reports.php:992 bar
    2017-04-05 00:02:09,221 default INFO  /home/workstor/public_html/wp-content/plugins/gf-charts-reports/gf_charts_reports.php:1050 #### SINGLE source process
    2017-04-05 00:02:09,248 default DEBUG /home/workstor/public_html/wp-content/plugins/gf-charts-reports/gf_charts_reports.php:780 All entries (also deleted!) : 64
    2017-04-05 00:02:09,248 default DEBUG /home/workstor/public_html/wp-content/plugins/gf-charts-reports/gf_charts_reports.php:795 Search crit : 
    2017-04-05 00:02:09,248 default DEBUG /home/workstor/public_html/wp-content/plugins/gf-charts-reports/gf_charts_reports.php:796 Array
    (
        [status] => active
    )
    
    2017-04-05 00:02:09,324 default DEBUG /home/workstor/public_html/wp-content/plugins/gf-charts-reports/gf_charts_reports.php:803 Create complete report for form 1
    2017-04-05 00:02:09,324 default DEBUG /home/workstor/public_html/wp-content/plugins/gf-charts-reports/gf_charts_reports.php:804 entries : 61
    2017-04-05 00:02:09,324 default DEBUG /home/workstor/public_html/wp-content/plugins/gf-charts-reports/gf_charts_reports.php:808 GF data to dig 1
    2017-04-05 00:02:09,324 default DEBUG /home/workstor/public_html/wp-content/plugins/gf-charts-reports/gf_charts_reports.php:814 form fields : 8
    2017-04-05 00:02:09,325 default DEBUG /home/workstor/public_html/wp-content/plugins/gf-charts-reports/gf_charts_reports.php:829 bar ### Processing field 4 of type select
    2017-04-05 00:02:09,325 default DEBUG /home/workstor/public_html/wp-content/plugins/gf-charts-reports/gf_charts_reports.php:880 Creating report field  : Workstore location of type select -> bar inverted:
    2017-04-05 00:02:09,325 default DEBUG /home/workstor/public_html/wp-content/plugins/gf-charts-reports/gf_charts_reports.php:1053 1 graph(s) should be displayed
    2017-04-05 00:02:09,325 default INFO  /home/workstor/public_html/wp-content/plugins/gf-charts-reports/gf_charts_reports.php:708 Building 1 fields upon 61 entries
    2017-04-05 00:02:09,325 default DEBUG /home/workstor/public_html/wp-content/plugins/gf-charts-reports/gf_charts_reports.php:611 --> Counting answers in entries for field select (single row) : 6
    2017-04-05 00:02:09,334 default DEBUG /home/workstor/public_html/wp-content/plugins/gf-charts-reports/gf_charts_reports.php:712 1 graph should be displayed
    2017-04-05 00:02:09,334 default DEBUG /home/workstor/public_html/wp-content/plugins/gf-charts-reports/gf_charts_reports.php:699 --> Computing score for field 6
    2017-04-05 00:02:09,334 default DEBUG /home/workstor/public_html/wp-content/plugins/gf-charts-reports/gf_charts_reports.php:719 Complete report of form 
    2017-04-05 00:02:09,334 default DEBUG /home/workstor/public_html/wp-content/plugins/gf-charts-reports/gf_charts_reports.php:728 1 graph should be displayed
    2017-04-05 00:02:09,335 default DEBUG /home/workstor/public_html/wp-content/plugins/gf-charts-reports/gf_charts_reports.php:416 SETTING COLOR PALETTE...
    2017-04-05 00:02:09,335 default DEBUG /home/workstor/public_html/wp-content/plugins/gf-charts-reports/gf_charts_reports.php:506 ### Default colors : 12
    2017-04-05 00:02:09,335 default DEBUG /home/workstor/public_html/wp-content/plugins/gf-charts-reports/gf_charts_reports.php:1123 ### Charts to display : 2
    2017-04-05 00:02:09,335 default DEBUG /home/workstor/public_html/wp-content/plugins/gf-charts-reports/gf_charts_reports.php:1151 +++ Creating chart id58e4340151f456bar with data size : 7
    2017-04-05 00:02:09,335 default DEBUG /home/workstor/public_html/wp-content/plugins/gf-charts-reports/gf_charts_reports.php:1180 TOOLTIP: tooltipLabel + ': '+ tooltipData + ' (' + tooltipPercentage + '%)'
    2017-04-05 00:02:09,336 default DEBUG /home/workstor/public_html/wp-content/plugins/gf-charts-reports/gf_charts_reports.php:1240 Chart js options : 
    2017-04-05 00:02:09,336 default DEBUG /home/workstor/public_html/wp-content/plugins/gf-charts-reports/gf_charts_reports.php:1273 Array
    (
        [datasets_invert] => 
        [label] => Workstore location
        [graphType] => bar
        [type] => select
        [scores] => Array
            (
                [Wynnum] => 13
                [Gaven] => 2
                [Eagle Farm] => 38
                [The Manshed] => 2
                [The Workbase] => 5
                [The Warehouse] => 1
            )
    
        [labels] => Array
            (
                [0] => Wynnum
                [1] => Gaven
                [2] => Eagle Farm
                [3] => The Manshed
                [4] => The Workbase
                [5] => The Warehouse
            )
    
        [data] => Array
            (
                [0] => 13
                [1] => 2
                [2] => 38
                [3] => 2
                [4] => 5
                [5] => 1
            )
    
    )
    
    2017-04-05 00:02:09,336 default DEBUG /home/workstor/public_html/wp-content/plugins/gf-charts-reports/gf_charts_reports.php:1275 switching type bar
    2017-04-05 00:02:09,336 default ERROR /home/workstor/public_html/wp-content/plugins/gf-charts-reports/gf_charts_reports.php:1133 not an id  title skipping chart with data
    2017-04-05 00:02:09,336 default ERROR /home/workstor/public_html/wp-content/plugins/gf-charts-reports/gf_charts_reports.php:1134 Complete report of form 
    2017-04-05 00:02:09,336 default DEBUG /home/workstor/public_html/wp-content/plugins/gf-charts-reports/gf_charts_reports.php:1432 2 charts created
    2017-04-05 00:02:09,337 default DEBUG /home/workstor/public_html/wp-content/plugins/gf-charts-reports/gf_charts_reports.php:886 shortcode gf -> chartjs
    2017-04-05 00:02:09,337 default DEBUG /home/workstor/public_html/wp-content/plugins/gf-charts-reports/gf_charts_reports.php:952 Array
    (
        [gf_form_id] => 1
        [include] => 6,7,8
        [color_set] => blue
        [type] => pie
        [width] => 400px
    )
    
    2017-04-05 00:02:09,337 default DEBUG /home/workstor/public_html/wp-content/plugins/gf-charts-reports/gf_charts_reports.php:992 pie
    2017-04-05 00:02:09,338 default INFO  /home/workstor/public_html/wp-content/plugins/gf-charts-reports/gf_charts_reports.php:1050 #### SINGLE source process
    2017-04-05 00:02:09,338 default DEBUG /home/workstor/public_html/wp-content/plugins/gf-charts-reports/gf_charts_reports.php:780 All entries (also deleted!) : 64
    2017-04-05 00:02:09,338 default DEBUG /home/workstor/public_html/wp-content/plugins/gf-charts-reports/gf_charts_reports.php:795 Search crit : 
    2017-04-05 00:02:09,338 default DEBUG /home/workstor/public_html/wp-content/plugins/gf-charts-reports/gf_charts_reports.php:796 Array
    (
        [status] => active
    )
    
    2017-04-05 00:02:09,362 default DEBUG /home/workstor/public_html/wp-content/plugins/gf-charts-reports/gf_charts_reports.php:803 Create complete report for form 1
    2017-04-05 00:02:09,362 default DEBUG /home/workstor/public_html/wp-content/plugins/gf-charts-reports/gf_charts_reports.php:804 entries : 61
    2017-04-05 00:02:09,362 default DEBUG /home/workstor/public_html/wp-content/plugins/gf-charts-reports/gf_charts_reports.php:808 GF data to dig 1
    2017-04-05 00:02:09,364 default DEBUG /home/workstor/public_html/wp-content/plugins/gf-charts-reports/gf_charts_reports.php:814 form fields : 8
    2017-04-05 00:02:09,364 default DEBUG /home/workstor/public_html/wp-content/plugins/gf-charts-reports/gf_charts_reports.php:829 pie ### Processing field 4 of type select
    2017-04-05 00:02:09,364 default DEBUG /home/workstor/public_html/wp-content/plugins/gf-charts-reports/gf_charts_reports.php:880 Creating report field  : Workstore location of type select -> pie inverted:
    2017-04-05 00:02:09,364 default DEBUG /home/workstor/public_html/wp-content/plugins/gf-charts-reports/gf_charts_reports.php:829 pie ### Processing field 5 of type select
    2017-04-05 00:02:09,364 default DEBUG /home/workstor/public_html/wp-content/plugins/gf-charts-reports/gf_charts_reports.php:880 Creating report field  : Workstore type of type select -> pie inverted:
    2017-04-05 00:02:09,365 default DEBUG /home/workstor/public_html/wp-content/plugins/gf-charts-reports/gf_charts_reports.php:829 pie ### Processing field 6 of type select
    2017-04-05 00:02:09,365 default DEBUG /home/workstor/public_html/wp-content/plugins/gf-charts-reports/gf_charts_reports.php:880 Creating report field  : How did you find out about us? of type select -> pie inverted:
    2017-04-05 00:02:09,365 default DEBUG /home/workstor/public_html/wp-content/plugins/gf-charts-reports/gf_charts_reports.php:1053 3 graph(s) should be displayed
    2017-04-05 00:02:09,365 default INFO  /home/workstor/public_html/wp-content/plugins/gf-charts-reports/gf_charts_reports.php:708 Building 3 fields upon 61 entries
    2017-04-05 00:02:09,365 default DEBUG /home/workstor/public_html/wp-content/plugins/gf-charts-reports/gf_charts_reports.php:611 --> Counting answers in entries for field select (single row) : 6
    2017-04-05 00:02:09,374 default DEBUG /home/workstor/public_html/wp-content/plugins/gf-charts-reports/gf_charts_reports.php:611 --> Counting answers in entries for field select (single row) : 7
    2017-04-05 00:02:09,383 default DEBUG /home/workstor/public_html/wp-content/plugins/gf-charts-reports/gf_charts_reports.php:611 --> Counting answers in entries for field select (single row) : 8
    2017-04-05 00:02:09,391 default DEBUG /home/workstor/public_html/wp-content/plugins/gf-charts-reports/gf_charts_reports.php:712 3 graph should be displayed
    2017-04-05 00:02:09,392 default DEBUG /home/workstor/public_html/wp-content/plugins/gf-charts-reports/gf_charts_reports.php:699 --> Computing score for field 6
    2017-04-05 00:02:09,392 default DEBUG /home/workstor/public_html/wp-content/plugins/gf-charts-reports/gf_charts_reports.php:699 --> Computing score for field 7
    2017-04-05 00:02:09,392 default DEBUG /home/workstor/public_html/wp-content/plugins/gf-charts-reports/gf_charts_reports.php:699 --> Computing score for field 8
    2017-04-05 00:02:09,392 default DEBUG /home/workstor/public_html/wp-content/plugins/gf-charts-reports/gf_charts_reports.php:719 Complete report of form 
    2017-04-05 00:02:09,392 default DEBUG /home/workstor/public_html/wp-content/plugins/gf-charts-reports/gf_charts_reports.php:728 3 graph should be displayed
    2017-04-05 00:02:09,393 default DEBUG /home/workstor/public_html/wp-content/plugins/gf-charts-reports/gf_charts_reports.php:416 SETTING COLOR PALETTE...
    2017-04-05 00:02:09,393 default DEBUG /home/workstor/public_html/wp-content/plugins/gf-charts-reports/gf_charts_reports.php:418 ### Color Set is : blue
    2017-04-05 00:02:09,393 default DEBUG /home/workstor/public_html/wp-content/plugins/gf-charts-reports/gf_charts_reports.php:1123 ### Charts to display : 4
    2017-04-05 00:02:09,393 default DEBUG /home/workstor/public_html/wp-content/plugins/gf-charts-reports/gf_charts_reports.php:1151 +++ Creating chart id58e43401601b76pie with data size : 7
    2017-04-05 00:02:09,393 default DEBUG /home/workstor/public_html/wp-content/plugins/gf-charts-reports/gf_charts_reports.php:1180 TOOLTIP: tooltipLabel + ': '+ tooltipData + ' (' + tooltipPercentage + '%)'
    2017-04-05 00:02:09,393 default DEBUG /home/workstor/public_html/wp-content/plugins/gf-charts-reports/gf_charts_reports.php:1240 Chart js options : 
    2017-04-05 00:02:09,394 default DEBUG /home/workstor/public_html/wp-content/plugins/gf-charts-reports/gf_charts_reports.php:1273 Array
    (
        [datasets_invert] => 
        [label] => Workstore location
        [graphType] => pie
        [type] => select
        [scores] => Array
            (
                [Wynnum] => 13
                [Gaven] => 2
                [Eagle Farm] => 38
                [The Manshed] => 2
                [The Workbase] => 5
                [The Warehouse] => 1
            )
    
        [labels] => Array
            (
                [0] => Wynnum
                [1] => Gaven
                [2] => Eagle Farm
                [3] => The Manshed
                [4] => The Workbase
                [5] => The Warehouse
            )
    
        [data] => Array
            (
                [0] => 13
                [1] => 2
                [2] => 38
                [3] => 2
                [4] => 5
                [5] => 1
            )
    
    )
    
    2017-04-05 00:02:09,394 default DEBUG /home/workstor/public_html/wp-content/plugins/gf-charts-reports/gf_charts_reports.php:1275 switching type pie
    2017-04-05 00:02:09,394 default DEBUG /home/workstor/public_html/wp-content/plugins/gf-charts-reports/gf_charts_reports.php:1151 +++ Creating chart id58e43401605d67pie with data size : 7
    2017-04-05 00:02:09,394 default DEBUG /home/workstor/public_html/wp-content/plugins/gf-charts-reports/gf_charts_reports.php:1180 TOOLTIP: tooltipLabel + ': '+ tooltipData + ' (' + tooltipPercentage + '%)'
    2017-04-05 00:02:09,395 default DEBUG /home/workstor/public_html/wp-content/plugins/gf-charts-reports/gf_charts_reports.php:1240 Chart js options : 
    2017-04-05 00:02:09,395 default DEBUG /home/workstor/public_html/wp-content/plugins/gf-charts-reports/gf_charts_reports.php:1273 Array
    (
        [datasets_invert] => 
        [label] => Workstore type
        [graphType] => pie
        [type] => select
        [scores] => Array
            (
                [The Workbase] => 15
                [The Warehouse] => 13
                [The Manshed] => 24
                [The Engine Room] => 1
            )
    
        [labels] => Array
            (
                [0] => The Workbase
                [1] => The Warehouse
                [2] => The Manshed
                [3] => The Engine Room
            )
    
        [data] => Array
            (
                [0] => 15
                [1] => 13
                [2] => 24
                [3] => 1
            )
    
    )
    
    2017-04-05 00:02:09,395 default DEBUG /home/workstor/public_html/wp-content/plugins/gf-charts-reports/gf_charts_reports.php:1275 switching type pie
    2017-04-05 00:02:09,395 default DEBUG /home/workstor/public_html/wp-content/plugins/gf-charts-reports/gf_charts_reports.php:1151 +++ Creating chart id58e43401609ab8pie with data size : 7
    2017-04-05 00:02:09,395 default DEBUG /home/workstor/public_html/wp-content/plugins/gf-charts-reports/gf_charts_reports.php:1180 TOOLTIP: tooltipLabel + ': '+ tooltipData + ' (' + tooltipPercentage + '%)'
    2017-04-05 00:02:09,396 default DEBUG /home/workstor/public_html/wp-content/plugins/gf-charts-reports/gf_charts_reports.php:1240 Chart js options : 
    2017-04-05 00:02:09,396 default DEBUG /home/workstor/public_html/wp-content/plugins/gf-charts-reports/gf_charts_reports.php:1273 Array
    (
        [datasets_invert] => 
        [label] => How did you find out about us?
        [graphType] => pie
        [type] => select
        [scores] => Array
            (
                [Signage] => 2
                [Other] => 1
                [Mailout] => 3
                [Agent] => 2
                [Bus advertising] => 2
                [Facebook] => 2
            )
    
        [labels] => Array
            (
                [0] => Signage
                [1] => Other
                [2] => Mailout
                [3] => Agent
                [4] => Bus advertising
                [5] => Facebook
            )
    
        [data] => Array
            (
                [0] => 2
                [1] => 1
                [2] => 3
                [3] => 2
                [4] => 2
                [5] => 2
            )
    
    )
    
    2017-04-05 00:02:09,396 default DEBUG /home/workstor/public_html/wp-content/plugins/gf-charts-reports/gf_charts_reports.php:1275 switching type pie
    2017-04-05 00:02:09,396 default ERROR /home/workstor/public_html/wp-content/plugins/gf-charts-reports/gf_charts_reports.php:1133 not an id  title skipping chart with data
    2017-04-05 00:02:09,396 default ERROR /home/workstor/public_html/wp-content/plugins/gf-charts-reports/gf_charts_reports.php:1134 Complete report of form 
    2017-04-05 00:02:09,396 default DEBUG /home/workstor/public_html/wp-content/plugins/gf-charts-reports/gf_charts_reports.php:1432 4 charts created
    
    

    Thanks!

    • This reply was modified 4 years, 8 months ago by DeeperLook.
    Plugin Author termel

    (@munger41)

    Can you copy paste your shortcode please ?
    it seems you are using datasets_invert parameter, which is not in production right now, and anyway should be used only with survey type fields.

    Thread Starter DeeperLook

    (@deeperlook)

    I pasted it above but here are the two shortcodes I had when i sent through that log:

    
    [gfchartsreports include="6" type="bar" width="50%"]
    
    [gfchartsreports gf_form_id="1" include="6,7,8" color_set="blue" type="pie" width="400px"]
    

    I’m not using the dataset_invert parameter?

    Plugin Author termel

    (@munger41)

    Thanks!
    I can’t see any significative error in the logs nor on your web page… hum…
    Do you have other plugins activated ?
    Can you please try with default WP theme and all other plugin deactivated ?

    Thread Starter DeeperLook

    (@deeperlook)

    Hmm yeah, it looks like it’s conflicting with the theme.

    Any idea how to get around that?

    Plugin Author termel

    (@munger41)

    Thanks for testing. No, i have no idea, but you can ask the theme developer if any problem with html5 canvases, maybe the theme developer can see what is the problem looking at your graph page. You can tell him also that the plugin includes javascripts excanvas.js (from google) and chartjs as well as log4php.

    If you find the reason please post it here for further users!
    Sorry for not being able to fix this, i will tell you if i find a solution nevertheless.

    Plugin Author termel

    (@munger41)

    which browser are you testing on?

    Plugin Author termel

    (@munger41)

    testing with firebug canvas tool make appear that some other js code is playing with the canvas created by gf charts reports plugin. Please send the following image to the theme developerscreenshot

    Plugin Author termel

    (@munger41)

    screenshot

    Thread Starter DeeperLook

    (@deeperlook)

    I’m testing on Chrome, but I will add that screenshot in with my ticket to the developer. Thanks for your support, I’ll follow this up when I hear back from them.

    Cheers.

    Plugin Author termel

    (@munger41)

    Sorry for not being able to help you more with this….

    Plugin Author termel

    (@munger41)

    Any news from your theme developer?
    Thanks

    Thread Starter DeeperLook

    (@deeperlook)

    Hi there,

    They are they can’t test for all issues, so no, no resolution.

    Plugin Author termel

    (@munger41)

    Some of my clients had 2 instances of chartjs loaded (from another plugin), and that was causing the problem, can you check that please ?

Viewing 15 replies - 1 through 15 (of 23 total)
  • The topic ‘Graphs not appearing’ is closed to new replies.