Dashboards & Visualizations

Disable vertical scrollbars for only pagination in trellis charts?

cblanton
Communicator

My trellis charts are sized small and appear in the panel across multiple pages, but also with a vertical scroll bar. So, for example, at full screen on my current monitor, they appear as 6 charts across 3 full rows and then 2 more charts on a 4th row, but also on 5 pages.

How can I eliminate the vertical scroll bar to have the charts only take up the visible panel and otherwise only paginate?

I've tried using html to disable the overflow, which works on all the other panels, but not the trellis.

0 Karma

niketn
Legend

@cblanton, how about increasing the height of Trellis Panel using "height" SimpleXML Chart Configuration? For example:

<option name="height">300</option>

Where 300 represents height in pixel (px).
Please adjust height as per your need and confirm.

____________________________________________
| makeresults | eval message= "Happy Splunking!!!"
0 Karma

cblanton
Communicator

Thanks for the suggestion, but i can't guarantee the height needed as it depends on the screen size how many charts across and down are shown in the panel. What I really want to control is the number of charts shown to fit the panel size, with overflow going to the next page.

I think disabling the scroll bar would accomplish this, but there may be a different trellis, chart or panel setting that will achieve the desired result.

0 Karma

dglauche
Engager

@cblanton You can try a script I wrote: https://github.com/dglauche/splunk_snippets/tree/master/dashboarding/js#resize_panelsjs

There might be a better CSS based option out there but I'm not aware of one.

0 Karma
Get Updates on the Splunk Community!

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer at Splunk .conf24 ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...

Share Your Ideas & Meet the Lantern team at .Conf! Plus All of This Month’s New ...

Splunk Lantern is Splunk’s customer success center that provides advice from Splunk experts on valuable data ...