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’m short for "configuration file.” What am I?

May 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with a Special ...

New Articles from Academic Learning Partners, Help Expand Lantern’s Use Case Library, ...

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

Your Guide to SPL2 at .conf24!

So, you’re headed to .conf24? You’re in for a good time. Las Vegas weather is just *chef’s kiss* beautiful in ...