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!

3 Ways to Make OpenTelemetry Even Better

My role as an Observability Specialist at Splunk provides me with the opportunity to work with customers of ...

What's New in Splunk Cloud Platform 9.2.2406?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.2.2406 with many ...

Enterprise Security Content Update (ESCU) | New Releases

In August, the Splunk Threat Research Team had 3 releases of new security content via the Enterprise Security ...