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!

Enriching Signals with the OTel Lookup Processor

Introduction Raw telemetry is often incomplete. A log line might record an IP address, but what you really ...

Meet the .conf26 AI Agent Buildathon Winners

At the .conf26 AI Agent Buildathon, Splunk users turned their operational expertise into working AI agents ...

Painting a Clearer Picture: Unifying Your Investigations with Cisco AI Canvas

Painting a Clearer Picture: Unifying Your Investigations with Cisco AI Canvas  We’ve all been there. You’re ...