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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...