Archive

FlashChart ignores height value

Communicator

I am trying to set the height on a FlashChart. I am setting it like so:

<module name="FlashChart">
     <param name="height">100%</param>
...

... however, when the page loads, it is always setting the height to 52px. Even if I change the height setting to 90% or 200px (for example), when I inspect the element, it still shows as 52px. Splunk seems to be ingoring my height setting. Is there any reason why this might be happening? I've tried and am noticing this on both IE and Chrome.

Tags (2)
0 Karma
1 Solution

Communicator

I overcame this by resizing the element using javascript after the page loads.

View solution in original post

0 Karma

Communicator

I overcame this by resizing the element using javascript after the page loads.

View solution in original post

0 Karma

Contributor

Would you be so kind as to give us the code you use to do that?

0 Karma
State of Splunk Careers

Access the Splunk Careers Report to see real data that shows how Splunk mastery increases your value and job satisfaction.

Find out what your skills are worth!