Legend alignment

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

Moderators: Developers, Moderators

Post Reply
moggie
Posts: 11
Joined: Sat Jul 31, 2010 9:38 am

Legend alignment

Post by moggie »

Hi,

I believe a colleague added a device template that has somehow affected regular traffic graphs. I have tried to configure the template how it used to be but there alignment of graph legends is still off. I can't seem to figure out why and was hoping someone might be able to help please.

Thanks in advance!
Attachments
legend.png
legend.png (14.63 KiB) Viewed 1238 times
User avatar
micke2k
Cacti User
Posts: 261
Joined: Wed Feb 03, 2016 3:38 pm

Re: Legend alignment

Post by micke2k »

Compared to attached graph template, how does your look?
Attachments
graph.png
graph.png (53.57 KiB) Viewed 1233 times
moggie
Posts: 11
Joined: Sat Jul 31, 2010 9:38 am

Re: Legend alignment

Post by moggie »

Thank you very much for your help. The standard template I've tried to repair looks like the attached image.
Attachments
cacti-template.PNG
cacti-template.PNG (23.65 KiB) Viewed 1232 times
User avatar
micke2k
Cacti User
Posts: 261
Joined: Wed Feb 03, 2016 3:38 pm

Re: Legend alignment

Post by micke2k »

Actually checked CactiEZ and it has the same exact problem.

Maybe it was fixed in a later version fo cacti/rrdtool?

Its fixed in the latest release atleast.

What version are you running?
Attachments
graphworking.png
graphworking.png (69.76 KiB) Viewed 1228 times
moggie
Posts: 11
Joined: Sat Jul 31, 2010 9:38 am

Re: Legend alignment

Post by moggie »

I'm using cacti-0.8.8f_2
User avatar
micke2k
Cacti User
Posts: 261
Joined: Wed Feb 03, 2016 3:38 pm

Re: Legend alignment

Post by micke2k »

What version of rrd tool?

Try adding the <hr> that is in the new version
moggie
Posts: 11
Joined: Sat Jul 31, 2010 9:38 am

Re: Legend alignment

Post by moggie »

rrdtool version is: rrdtool-1.5.5_1
moggie
Posts: 11
Joined: Sat Jul 31, 2010 9:38 am

Re: Legend alignment

Post by moggie »

Oh, wows! There was already a <HR> after the inbound maximum, but after I added a <HR> to the outbound maximum, it seems to have fixed it. I have no idea why, but thanks!
User avatar
micke2k
Cacti User
Posts: 261
Joined: Wed Feb 03, 2016 3:38 pm

Re: Legend alignment

Post by micke2k »

moggie wrote:Oh, wows! There was already a <HR> after the inbound maximum, but after I added a <HR> to the outbound maximum, it seems to have fixed it. I have no idea why, but thanks!
No problems, glad it worked :)
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests