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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...