Legend taking up too much space in HighCharts on Dashboard
Legend taking up too much space in HighCharts on Dashboard
Is there a way to make HighCharts graphs on a dashboard NOT show a legend? On some of the graphs, my legend is taking up more space than the actual graph. This is slightly better in 2014R1.4, since it only shows some of the legends, but I'd ready like a way to hide them completely. Is there any way to do this?
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Legend taking up too much space in HighCharts on Dashboa
It does not seem to take up much space on my systems, could you post a screenshot of one of yours which you think is taking up an inordinate amount of space? I do know there is not really an easy way to disable it piecemeal, and that would make it so you can't filter our certain metrics on graphs with multiple data points. Unless you are not talking about the select-able options.
Re: Legend taking up too much space in HighCharts on Dashboa
I'm attaching an example. The dashboard has a bunch of graphs close to this size. It's meant as a high-level overview, that's left on a monitor all day. If the legend wasn't showing, there would be plenty of room to see the actual graph, and then click through the title for any filtering that needed to be done.
You do not have the required permissions to view the files attached to this post.
Re: Legend taking up too much space in HighCharts on Dashboa
I'm having exactly the same problem. The service and host graphs in host / service overview are almost unvisible due to the legend taking up too much space. The graphs in graph explorer are ok though..
Willem
Willem
Nagios XI 5.8.1
https://outsideit.net
https://outsideit.net
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: Legend taking up too much space in HighCharts on Dashboa
Same problem observed here.
It would be great if we could define templates like in PNP.
It would be great if we could define templates like in PNP.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Legend taking up too much space in HighCharts on Dashboa
I'm not worried about being able to filter out certain metrics. This dashboard is meant to be a high-level overview. Ideally someone would be able to click on the graph title to drill down to the full graph in Host Graphs (which is what happens now), and would do any filtering from there.slansing wrote:It does not seem to take up much space on my systems, could you post a screenshot of one of yours which you think is taking up an inordinate amount of space? I do know there is not really an easy way to disable it piecemeal, and that would make it so you can't filter our certain metrics on graphs with multiple data points. Unless you are not talking about the select-able options.
This is actually holding back our going live with Nagios XI to replace our current solution.
Re: Legend taking up too much space in HighCharts on Dashboa
With 2014r1.5 there will be a change to the size of the perfdata graphs to be a % of the overall width of your screen (down to a minimum size) and will most likely resolve most of the issues with this. I've attached a screenshot of my machine.
As far as dashlets go... it would be a good idea to implement the option to remove it from dashlets. Giving users the ability to remove the legend for a dashlet when you have the popup ask you which dashboard to place it in. Or, I was thinking as a user-saved option on the perfdata pages so that any dashlet you add would automatically not have it unless you turned it off. Either way, we've actually added a feature request for the the removal of the legend from dashboards and will likely be in a release very soon.
Edit: Changed this post to reflect the new feature request.
As far as dashlets go... it would be a good idea to implement the option to remove it from dashlets. Giving users the ability to remove the legend for a dashlet when you have the popup ask you which dashboard to place it in. Or, I was thinking as a user-saved option on the perfdata pages so that any dashlet you add would automatically not have it unless you turned it off. Either way, we've actually added a feature request for the the removal of the legend from dashboards and will likely be in a release very soon.
Edit: Changed this post to reflect the new feature request.
You do not have the required permissions to view the files attached to this post.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Legend taking up too much space in HighCharts on Dashboa
Yes, the option to remove the legend from dashlets would be perfect. Personally, I think they're great to have on the bigger graphs, but take up too much space when you're trying to fit a bunch of small graphs on a dashboard. I'll attach a screenshot of the dashboard in question so you can see what I mean. As you can see, the vertically smaller graphs are fairly useless because the legend takes up half of the frame.jomann wrote:With 2014r1.5 there will be a change to the size of the perfdata graphs to be a % of the overall width of your screen (down to a minimum size) and will most likely resolve most of the issues with this. I've attached a screenshot of my machine.
However, with that being said the legends COULD be removed if this is something people wanted. Would you still want the legends to be removable even with the bigger graphs? Or are you talking about perfdata dashlets too, because that would be a good idea to implement in dashlets... the ability to remove the legend for a dashlet when you place it on the dashboard...
You do not have the required permissions to view the files attached to this post.
Re: Legend taking up too much space in HighCharts on Dashboa
Noted. Thanks for the feedback, jmooreca.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Legend taking up too much space in HighCharts on Dashboa
[quote="jomann"]
... Either way, we've actually added a feature request for the the removal of the legend from dashboards and will likely be in a release very soon.
[/quote]
Any ballpark idea of a timeframe for "Very soon"? I'm trying to determine whether it's worth my time to try to hack the HighCharts javascript myself so we can roll this out.
Thanks
... Either way, we've actually added a feature request for the the removal of the legend from dashboards and will likely be in a release very soon.
[/quote]
Any ballpark idea of a timeframe for "Very soon"? I'm trying to determine whether it's worth my time to try to hack the HighCharts javascript myself so we can roll this out.
Thanks