Y-axis marks at 90, 180, 270 and 360

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

Moderators: Developers, Moderators

Post Reply
FredZwarts
Posts: 20
Joined: Wed Feb 01, 2023 5:27 am

Y-axis marks at 90, 180, 270 and 360

Post by FredZwarts »

I made a graph for the direction of the wind, using data from my weather station. It uses values in degrees. (0=N, 90=E, 180=S, 270=W, 360=N.) I have fixed upper and lower values for the graph of 0 and 360, respectively. This works very good, except that the Y-axis has tick marks at 0, 100, 200 and 300. For angles it woud be more natural to have tick marks at 0, 90, 180, 270 and 360. Is there a way to specify this in the cacti page for the definition of a graph?
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: Y-axis marks at 90, 180, 270 and 360

Post by TheWitness »

Check rrdtool.org and it's documentation and let us know what you find.
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
FredZwarts
Posts: 20
Joined: Wed Feb 01, 2023 5:27 am

Re: Y-axis marks at 90, 180, 270 and 360

Post by FredZwarts »

Thanks, it turns out that I have to use the option 'Unit Grid Value'. I value of 30:3 works perfectly.
The reason that I did not try it earlier is that the explanation (when hoovering the question mark) made me think that it is a deprecated option.
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: Y-axis marks at 90, 180, 270 and 360

Post by TheWitness »

If you feel the help description needs some wordsmithing feel free to open a bug on GitHub with the revised text and we would be glad to incorporate it into future releases.
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest