I need to hide 2nd chart based on the stats count value of one chart[the charts are placed up and down]. In Splunk 6.0 i have used html code to achieve this. But in 5.0.2 i dont have option to do.
Let me rephrase... 😉
The option to convert your XML dashboard to HTML and have that be rendered properly in splunkweb was introduced in version 6. You will need to upgrade your Splunk version to take advantage of that feature.
Version 6 was a pretty massive release with respect to UI changes/features. There is no way to do it in 5.x.
What are you trying to achieve?