Dashboards & Visualizations

Percent on histogram

taha13
Explorer

Hello,

I did this histogram

alt text

I want to show the percent symbol.I tried the concatenation and it's doesn't work.

Tags (2)
0 Karma

niketn
Legend

@taha13 refer to one of my older answers. Although this is for Column Chart the same can also be applied for Bar Chart to add a % after the values displayed in the chart.

https://answers.splunk.com/answers/598632/add-percent-sign-on-a-stacked-column-chart-data-la.html

Or my wiki talk Topic 7: Show Percent in Stacked Column Chart instead of Values and highlight Data Labels as White color thro...

____________________________________________
| makeresults | eval message= "Happy Splunking!!!"
0 Karma

taha13
Explorer

@niketn my problem is that i don't have the acces to JS.So i can't use "highchart_data_label_percent"

0 Karma

niketn
Legend

@taha13, the only option otherwise for you would be to convert the Dashboard to HTML dashboard so that JavaScript Code can be applied within the dashboard. However, once Dashboard is converted from Simple XML to HTML:
1) A lot of Simple XML features will stop working.
2) HTML dashboard can not be reverted back to XML
3) Ease of Dashboard editing though UI will be lost
4) Editing HTML dashboard requires knowledge of Splunk JS and HTML, CSS, JS.

Since the feature is not available out of the box with Highcharts implementation, other option would be to use Custom Visualization API from scratch and build visualization using Highcharts. (Which would be even more time taking process)

Maybe you can derive a token based option to enable/display % display for specific table/s so that JavaScript once uploaded can be be applied whenever needed in all your dashboards within your Splunk App.

____________________________________________
| makeresults | eval message= "Happy Splunking!!!"
0 Karma

taha13
Explorer

There isn't another solution?

0 Karma

niketn
Legend

I am sorry I am not aware of a built in option. Let me convert my answer to comment so that others can provide their input.

____________________________________________
| makeresults | eval message= "Happy Splunking!!!"
0 Karma

taha13
Explorer

Okey ,thank you

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Index This | What travels the world but is also stuck in place?

April 2026 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

Discover New Use Cases: Unlock Greater Value from Your Existing Splunk Data

Realizing the full potential of your Splunk investment requires more than just understanding current usage; it ...

Continue Your Journey: Join Session 2 of the Data Management and Federation Bootcamp ...

As data volumes continue to grow and environments become more distributed, managing and optimizing data ...