Reporting

splunk-6 pdf generation

0range
Communicator

Hi everyone.
I've got a problem with chart legends while generating pdf: long labels are being replaced with "...".
Is there any way to put it in different rows or view some leading (about 15) characters or anything else?

Tags (3)
0 Karma
1 Solution

Simon_Fishel
Splunk Employee
Splunk Employee

If you add this to your panel XML you can disable the legend label truncation:

<option name="charting.legend.labelStyle.overflowMode">ellipsisNone</option>

View solution in original post

Simon_Fishel
Splunk Employee
Splunk Employee

If you add this to your panel XML you can disable the legend label truncation:

<option name="charting.legend.labelStyle.overflowMode">ellipsisNone</option>

Simon_Fishel
Splunk Employee
Splunk Employee

It's in the docs, but a little buried (charting options are a hard thing to document well):

http://docs.splunk.com/Documentation/Splunk/latest/Viz/ChartConfigurationReference#General_chart_pro...

0 Karma

0range
Communicator

victory 🙂 great, thanks. where did you get this?

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!

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...