Dashboards & Visualizations

disabling chart scaling

caphrim007
Path Finder

Is it possible to disable the drag widget that lets you scale a chart up and down? Like a param that I can include in the advanced XML?

I'm embedding a chart in another app and want to turn off that bar.

Tags (2)
0 Karma
1 Solution

sideview
SplunkTrust
SplunkTrust

Certainly. Stick this in your FlashChart modules:

<param name="enableResize">False</param>

If you ever want to know what the legal params are for any module, go to your splunk instance and type in this URL:

http://<yourhost>:<yourport>/modules

It'll give you the autogenerated documentation. Or you could read the same thing on the splunk site at http://www.splunk.com/base/Documentation/latest/Developer/ModuleReference

Note: one advantage the local URL has over the splunk.com URL is that it will always include custom modules that might have been included by other apps. This isnt particularly common right now but it's becoming more so.

View solution in original post

sideview
SplunkTrust
SplunkTrust

Certainly. Stick this in your FlashChart modules:

<param name="enableResize">False</param>

If you ever want to know what the legal params are for any module, go to your splunk instance and type in this URL:

http://<yourhost>:<yourport>/modules

It'll give you the autogenerated documentation. Or you could read the same thing on the splunk site at http://www.splunk.com/base/Documentation/latest/Developer/ModuleReference

Note: one advantage the local URL has over the splunk.com URL is that it will always include custom modules that might have been included by other apps. This isnt particularly common right now but it's becoming more so.

caphrim007
Path Finder

Beautiful, that did it. Thanks!

0 Karma

fk319
Builder

I don't have much of an answer, but it can be done!

I have views with several graphs, each code is identical except for the search. The thing that seem to stick out is when I use a group in my layout parameter, I don't have the bar.

<module="HiddenPostProcess" layoutPanel="panel_row2_col1_grp1">

I hope this helps...

0 Karma

sideview
SplunkTrust
SplunkTrust

Well, the layoutPanel attribute just determines which rounded-corner panel it should go into, and the ones with '_grp1' on the end give finer grained placement within a particular panel. But they dont affect the resize bar as far as i know.

0 Karma
Get Updates on the Splunk Community!

Enhance Security Visibility with Splunk Enterprise Security 7.1 through Threat ...

(view in My Videos)Struggling with alert fatigue, lack of context, and prioritization around security ...

Troubleshooting the OpenTelemetry Collector

  In this tech talk, you’ll learn how to troubleshoot the OpenTelemetry collector - from checking the ...

Adoption of Infrastructure Monitoring at Splunk

  Splunk's Growth Engineering team showcases one of their first Splunk product adoption-Splunk Infrastructure ...