Scaling Problems and using/forcing Decimals on Y-Axis

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

titus
Cacti User
Posts: 72
Joined: Thu Oct 02, 2008 10:54 am

Post by titus »

gandalf wrote:It's definitively in. See attached
R.
No there is not in latest version of cacti :(
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

titus wrote:
gandalf wrote:It's definitively in. See attached
R.
No there is not in latest version of cacti :(
Yes, it is in the SVN/Main branch just like gandalf stated. Probably released in either cacti 0.8.7f or 0.8.8.
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

http://docs.cacti.net/manual:087:7_examples#examples may give some hints, works with 087 as well. More to come with 088 (and a fix I just committed for 087f)
R.
bubble1975
Posts: 6
Joined: Fri Oct 05, 2007 10:23 pm

--alt--y-grid

Post by bubble1975 »

Hi All,

I'm bringing this post back to the surface again in light of the recent cacti release 0.8.7g. I just upgraded from 0.8.7e to 0.8.7g and it seems like the --alt--y-grid option is still not available in the graph template options... From what I read in this thread, this feature was commited to SVN a very long time ago. It is out there and I'm not looking in the right place? Or did it just not make it into 0.8.7g?

Thanks for any insight!
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

BSOD2600 wrote:
titus wrote:
gandalf wrote:It's definitively in. See attached
R.
No there is not in latest version of cacti :(
Yes, it is in the SVN/Main branch just like gandalf stated. Probably released in either cacti 0.8.7f or 0.8.8.
Main branch resolves to "future version named 0.8.8", currently
R.
bubble1975
Posts: 6
Joined: Fri Oct 05, 2007 10:23 pm

Post by bubble1975 »

Cool, glad to know it is still in the pipeline. Horrible question: Do you know of any way I can patch it into 087g, in the meantime? Not as in an offical patch (I know you guys don't patch that sort of thing), more as an unofficial hack on my end? I read somewhere that I can force all the graphs globally to use --alt-y-grid, but then the majority of my graphs don't look as they should, because they don't need it. ;)

Maybe there is a way I can enable it on a per-graph or per-graph-template basis?
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

You may simply have a lokk at the SVN/main/lib/rrd.php to see the magic. But be prepared. I changed the logic completely due to the vast amount of new options.

So it may happen, that patching the "old" logic is easier. It's the same file. Search e.g. for any other "graph-global" parameter like this to find the place to change. To do this on a graph template basis requires to change the graph_templates_graph table to hold that new option. This in turn requires the save function of graph_templates.php to be changed and the forms in include/global_forms.php as well.

Use the same column name as we do in 088 to make your change upwards compatible.
R.
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests