Suppress Vertical Scale Values?
Moderators: Developers, Moderators
Suppress Vertical Scale Values?
Is there a way to suppress the vertical scale up the left side of a graph?
I'm logging a device that outputs a 0 for normal conditions and 1 for alarm conditions. I paint the graph green with using constant area of 1, then overlay a red a red area if a 1 is received. So the entire graph is either green for Normal, or Red for an Alarm, so I need no numbers displayed on the left. Now I currently get 0.0, 0.2, 0.4, 0.6, 0.8, and 1.0 up the left side which is a little confusing.
Thanks,
I'm logging a device that outputs a 0 for normal conditions and 1 for alarm conditions. I paint the graph green with using constant area of 1, then overlay a red a red area if a 1 is received. So the entire graph is either green for Normal, or Red for an Alarm, so I need no numbers displayed on the left. Now I currently get 0.0, 0.2, 0.4, 0.6, 0.8, and 1.0 up the left side which is a little confusing.
Thanks,
I'd assume the OP is talking about the --y-grid none option.
Y-Axis
[-y|--y-grid grid step:label factor]
[-y|--y-grid none]
Y-axis grid lines appear at each grid step interval. Labels are placed every label factor lines. You can specify -y none to suppress the grid and labels altogether. The default for this option is to automatically select sensible values.
If you have set --y-grid to 'none' not only the labels get suppressed, also the space reserved for the labels is removed. You can still add space manually if you use the --units-length command to explicitly reserve space.
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
Here is some samples of my graphs. If possible it would be good to have the text displayed but not the number on the vertical scale. All inputs for these graphs are either 0 or 1. The entire block is always filled so no need for any number displayed on the left.
Hope this helps.
Thanks for a great product and support!!!
Hope this helps.
Thanks for a great product and support!!!
- Attachments
-
- Indicating bad flood cable
- Flood.png (27.14 KiB) Viewed 1908 times
-
- HVAC 1 is the current Lead unit
- HVAC.png (21.1 KiB) Viewed 1908 times
-
- HVAC 1 power is Good
- HVAC_Pwr.png (22.33 KiB) Viewed 1908 times
bah, I should've known it was that easy. just glazed over it in the graph template...
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
It's those glasses your wearing
TheWitness
TheWitness
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?
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?
Thanks for the tip! It does suppress the scale but is there support for --units-length value? By default with blank Y label the graph is pushed all the way to the left edge where they X grid is not displayed correctly. A workaround is to put a space in for the Y label which helps the formating.
Grid
Y-Axis
[-y|--y-grid none]
Y-axis grid lines appear at each grid step interval. Labels are placed every label factor lines. You can specify -y none to suppress the grid and labels altogether. The default for this option is to automatically select sensible values.
If you have set --y-grid to 'none' not only the labels get suppressed, also the space reserved for the labels is removed. You can still add space manually if you use the --units-length command to explicitly reserve space.
[-L|--units-length value]
How many digits should rrdtool assume the y-axis labels to be? You may have to use this option to make enough space once you start fideling with the y-axis labeling.
Who is online
Users browsing this forum: No registered users and 0 guests