• Resolved Tzini

    (@tzini)


    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!

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

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author randyjensen

    (@randyjensen)

    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!

    Thread Starter Tzini

    (@tzini)

    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!

    Plugin Author randyjensen

    (@randyjensen)

    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?

    Thread Starter Tzini

    (@tzini)

    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!

    Plugin Author randyjensen

    (@randyjensen)

    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.

    Thread Starter Tzini

    (@tzini)

    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

    Plugin Author randyjensen

    (@randyjensen)

    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.

    Thread Starter Tzini

    (@tzini)

    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
    Chart

    Plugin Author randyjensen

    (@randyjensen)

    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)

    http://img836.imageshack.us/img836/993/9vs2.png

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

    http://img809.imageshack.us/img809/7841/jm22.png

    Thread Starter Tzini

    (@tzini)

    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!!! 🙂

    Plugin Author randyjensen

    (@randyjensen)

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

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘RJ Quickharts – Changing values of Y axis’ is closed to new replies.