Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • dssinger Friend
    #207817

    I’m using JA Google Charts and wanted to point it to a file on my server instead of manually copying in the data.

    I discovered that, if the file ends with a newline (for example, if I edit the file and save it), the data that gets passed to the JavaScript ends with [“”] (a one-element array) and the chart doesn’t get drawn. If the file doesn’t end with a newline, all is well.

    I can create the same problem if I enter the data by hand into the “data input” field in the module and end with an extra blank line.

    Can you make the module ignore blank lines? This change should do it:


    @@ -43,9 +43,7 @@
    }
    }
    }
    - if (count($tmp)>1) {
    - $data[] = $tmp;
    - }
    + $data[] = $tmp;
    }

    if(count($data))

    Thanks!

    Thanh Nguyen Viet Friend
    #575753

    Hello,

    Thanks you for your reporting, I have reported it to dev team for further checking, and we will apply this update for next release of JA Google Chart module.
    You can check status of this issue on our issue tracker system here

    http://pm.joomlart.com/browse/JAECGCHART-7

    Thanh Nguyen Viet Friend
    #642082

    Hello,

    Thanks you for your reporting, I have reported it to dev team for further checking, and we will apply this update for next release of JA Google Chart module.
    You can check status of this issue on our issue tracker system here

    http://pm.joomlart.com/browse/JAECGCHART-7

    Thanh Nguyen Viet Friend
    #740742

    Hello,

    Thanks you for your reporting, I have reported it to dev team for further checking, and we will apply this update for next release of JA Google Chart module.
    You can check status of this issue on our issue tracker system here

    http://pm.joomlart.com/browse/JAECGCHART-7

Viewing 4 posts - 1 through 4 (of 4 total)

This topic contains 4 replies, has 2 voices, and was last updated by  Thanh Nguyen Viet 8 years, 9 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum