WordPress.org

Ready to get started?Download WordPress

Forums

RJ Quickcharts
[resolved] Loosing digits after decimal separator (16 posts)

  1. martinft
    Member
    Posted 12 months ago #

    I've entered a lot of floating-point numbers in the admin area. After saving I can still see them in the input table. But in the displayed diagram tooltips and after switching the pages in admin area and returning to the chart's input page there are only integers left! It makes no difference if I use point as decimal point or the german comma.
    How can I use floating-point numbers?

    Thanks,
    Martin

    http://wordpress.org/extend/plugins/rj-quickcharts/

  2. randyjensen
    Member
    Plugin Author

    Posted 12 months ago #

    Hey Martin,

    This was a bug. Thanks for catching it!

    Version 0.5.2 should have fixed it. Let me know if you have any other issues.

    Thanks!

  3. Nihad
    Member
    Posted 12 months ago #

    still after update to 0.5.2, floating points are lost.
    I've tried with with , and . makes no difference...

  4. randyjensen
    Member
    Plugin Author

    Posted 12 months ago #

    If you can post your site I can look closer. I have it running on multiple sites and it's saving any data with decimal points correctly now.

    Numbers with commas will not work properly.

  5. jfkseo
    Member
    Posted 12 months ago #

    Hi.

    Tried your plugin, created a chart, insert code from media... unfortunately nothing display.
    example:
    [show-rjqc id="2"]

    *checked:... disabled all other plugins.
    *checked:... codes on page...looks good.
    *checked:... no jquery conflict.....
    any idea?
    Thanks
    jfk

  6. randyjensen
    Member
    Plugin Author

    Posted 12 months ago #

    This thread is closed. Please start a new thread with the version of WordPress you're running, a link to your site with the chart or the data you're using.

  7. Nihad
    Member
    Posted 12 months ago #

    this is URL where you can find 2 charts, the last one, should have floating point values http://touran.me/fuel-consumption/

  8. randyjensen
    Member
    Plugin Author

    Posted 12 months ago #

    @Nihad

    I've run all the tests I can and can't replicate this bug on my end.

    Can you try this:

    1) Create a new chart
    2) Add a title to it
    3) Save the chart with the default dummy data in it.
    4) Add the chart to a dummy page

    Are the floating numbers wiped out?

    If yes, it could be an issue with the server you're running your WP install on in which case I'll need some more details to dig deeper.

    If not, any details you can give me about how to reproduce the bug will help me out a lot in getting it fixed.

  9. martinft
    Member
    Posted 12 months ago #

    You can look here: http://www.meinstutensee.de/wetter/
    The first one contains my data, the second one is the default example. No floating point values.
    I'm using a German WordPress installation. May this be the cause?

  10. randyjensen
    Member
    Plugin Author

    Posted 12 months ago #

    I just installed the German version of WordPress and everything is working properly on all charts with floating point numbers.

    Maybe try deleting the plugin and re-installing it. This will not delete all your data.

  11. martinft
    Member
    Posted 12 months ago #

    Now it works! Thanks for your help!

  12. randyjensen
    Member
    Plugin Author

    Posted 12 months ago #

    Excellent!

  13. Ninjamankid
    Member
    Posted 4 months ago #

    Hi, sorry to reopen this thread, but I have a problem with decimals. They disappear when I save my chart. If I save 23,54 I get 23 when I reopen the chart. I tried deleting and reinstalling the plugin, but it didn't work. I´m on WP 3.8.1, Swedish WP installation.

    Regards

    Johan

  14. martinft
    Member
    Posted 4 months ago #

    You have to use dot (.) as decimal separator, not comma.

    Martin

  15. Ninjamankid
    Member
    Posted 4 months ago #

    Aha, thank you so much for the help! Works!

    Regards
    Johan

  16. Ninjamankid
    Member
    Posted 4 weeks ago #

    Hi,

    sorry to reopen the thread yet again. But I have a problem with decimals. I use the dot (.) to separate numbers and get correct decimals. It seems to work in all charts except the the Pie chart where for instance the numbers 85.34% are transformed to 86%. The plug in rounds off numbers somehow!

    I've tried deleting and reinstalling the plug in and also creating a new Pie chart but to no avail.

    Ideas are most welcome.

    Regards
    Johan

Reply

You must log in to post.

About this Plugin

About this Topic