Dashboards & Visualizations

Problem with long labels

jonagr
Engager
<chart>
    <title>Top active entities:</title>
    <searchString>index="index1" log_level="INFO" operation="verify" | top showperc=false useother=true end_entity</searchString>
    <option name="charting.chart">bar</option>
                <option name="charting.legend.labelStyle.wordWrap">true</option>
    <option name="charting.legend.placement">none</option>
    <option name="charting.primaryAxisTitle.text">End entity</option>
    <option name="charting.secondaryAxisTitle.text">No. transactions</option>
    <option name="charting.seriesColors">[0x7CCD7C]</option>
    <option name="charting.scaleX">1</option>
</chart>

This creates a bar chart with names of the entities. Some of the entities that are shown are very long. I want a way to chart names are put into several lines.

Tags (2)

marina_rovira
Contributor

HI, Did you find a solution for this?

Thank you

0 Karma

MarioM
Motivator

it's rather something like :

charting.legend.labelStyle.wordWrap

what are you trying to apply this to? Can you paste you xml code?

0 Karma

jonagr
Engager

The problem is not the legend.

I update my question.

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: Classic British Rock Bands

This puzzle series (first published here) is based on extracting information from statements about well-known ...

New to the Community? Join Us for an Exclusive Post .conf26 Welcome Session (Plus a ...

Keep the .conf26 Energy Going: Welcome to the Splunk Community! Whether we scanned your badge at the Community ...

Accelerate Splunk App Development with AI

  Learn how to automate the repetitive parts of your build cycle.   Register to Attend   Join our Tech Talk ...