The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

RJ Quickcharts
[resolved] RJ Quickharts - Changing values of Y axis (12 posts)

  1. Tzini
    Posted 3 years ago #

    Hello and thank you for the plugin!

    It works great and it's really easy to handle.

    I created a chart for the annual visitors and the min value of the Y axis is -5000.

    I would like to ask you if there is a way to change the default values of the Y axis somewhere in your plugin files?

    Thank you!


  2. randyjensen
    Plugin Author

    Posted 3 years ago #

    Hi Tzini,

    I think I am understanding your question correctly.

    Right now, there isn't any way to change the defaults for that. The best thing would be to create a chart that is exactly what you want your "defaults" to be, then just duplicate that whenever you need a new chart.

    Let me know if that helps!

  3. Tzini
    Posted 3 years ago #

    Thank you for your reply!

    First of all how and where can i create the chart with the desired values?
    To be more precise with my issue,i'm creating a chart for the annual visitors of my company.The min value(Y axis) if the visitors is 9000 and the max value is 26000.While inserting the specific values the Y axis starts from 0 to 30000 with "step"=5000 when i insert the maximum value 26000 the Y axis changes its values from -5000 to 30000.

    So,is there a way to keep its original values 0-30000 or do i have to create a chart with these specific values and then insert it wherever i need it(and if so,i really don't understand how :/)?

    Thank you in advance!

  4. randyjensen
    Plugin Author

    Posted 3 years ago #

    You just enter all your data in to the spreadsheet in the edit screen. Use the default values as a guide. Once you're done, just save.

    What browser are you in? What version of WP are you running?

  5. Tzini
    Posted 3 years ago #

    I think i did all that..But my Y axis(despite the fact that my enterd values are above 0) does not start from 0!

    I'm using Mozilla Firefox and WordPress 3.4.2..
    I'll post a screenshot for my line chart,to show you my problem with the Y axis..Although all of my values are positive numbers,the Y axis starts from -5000!

    Line Chart Screenshot!

    I hope it helps!

  6. randyjensen
    Plugin Author

    Posted 3 years ago #

    I would need to see the data you entered from the spreadsheet.

    You should also change the height of the chart since your values are so long.

  7. Tzini
    Posted 3 years ago #

    I'm posting a screenshot from the first and the second step when creating a chart,in the second step is all the data I entered.

    How am I changing the height of my chart???

    Thanks again!

    Step 1 and 2

  8. randyjensen
    Plugin Author

    Posted 3 years ago #

    It looks like you haven't updated to the latest version of the plugin. Instead of updating normally, try actually deleting the plugin and re-installing it. This will _not_ delete any of your charts.

    I'm also not sure why you have all that null data. Hopefully the steps above will fix it.

    Once you do that, let me know if you are still having issues.

  9. Tzini
    Posted 3 years ago #

    Hi Randy,

    i updated to version 0.5.5 and i can now see the height you said that i should change.But my problem still remains..In the Y axis the minimum value is -5000,when my actual minimum value of the entered data is 2343.

    Thank you for your answers!If you have any other idea about my issue,please let me know!

    I'm posting another screenshot so you can see the updated version!

    Entered data

  10. randyjensen
    Plugin Author

    Posted 3 years ago #

    After going through your data, I see where this is happening.

    There is such a range of data, on the high end you have 16,777 and on the very low end you have 2,343. The graphing library always needs to have a lower bar for spacing which is why it's adding the -5000.

    2343 is actually right on the threshold of the algorithm for this. You can see in the first image the -5000 exists (because it increments by 5000 and 2343 is less than 2500)


    But in this image, I've changed the value to 2500 and the -5000 axis is gone


  11. Tzini
    Posted 3 years ago #

    I noticed that too,when I entered the values one by one.The moment i inserted value "26.239" it immediately added -5000 to the y axis!

    Is there a way to change this,so i can have the right data inserted into my chart and the -5000 gone???

    Thank you so much!!! :)

  12. randyjensen
    Plugin Author

    Posted 3 years ago #

    No. The charting library is working properly, this is just an extreme edge case. Sorry.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • RJ Quickcharts
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic