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!

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...

Updated Data Management and AWS GDI Inventory in Splunk Observability

We’re making some changes to Data Management and Infrastructure Inventory for AWS. The Data Management page, ...

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...