Dashboards & Visualizations

How to break the line inside title tag

9198459056
Loves-to-Learn Everything

<title> A B </title> how to add line breaks between A And B

Labels (2)
0 Karma

kamlesh_vaghela
SplunkTrust
SplunkTrust

@9198459056 

Can you please try this?

<dashboard>
  <label>Title break down</label>
  <row>
    <panel id="panel_id">
      <title>A B C D</title>
      <html>
        <style>
          #panel_id .panel-title { 
            overflow-wrap: break-word;
            width: 3px;
          }
        </style>
      </html>
    </panel>
  </row>
</dashboard>

 

Screenshot 2021-08-05 at 1.32.15 PM.png

KV 

0 Karma

9198459056
Loves-to-Learn Everything

i do not want like break word by word ...it is like if my title is Sum (A+B) then i want ouptput as 

Sum

(A+B)

 

like that I want output and my panel is having single tag and then title 

0 Karma

kamlesh_vaghela
SplunkTrust
SplunkTrust

@9198459056 

Can you please share more details like your requirement and from how you are fetching A and B into title? Sample XML will be appreciated.

 

 

0 Karma

9198459056
Loves-to-Learn Everything

<panel><sinlgle><title> Sum(A+B)</title></single><search><query>query to fetch data</query></search></panel>

0 Karma

kamlesh_vaghela
SplunkTrust
SplunkTrust

@9198459056 

Then I think increasing OR decreasing width would help you.

<dashboard>
  <label>Title break down</label>
  <row>
    <panel id="panel_id">
      <title>Sum (A+B)</title>
      <html>
        <style>
          #panel_id .panel-title { 
            overflow-wrap: break-word;
            width: 40px;
          }
        </style>
      </html>
    </panel>
  </row>
</dashboard>

 

 

0 Karma

9198459056
Loves-to-Learn Everything

here we did some stying to make the text alignment in right

0 Karma

9198459056
Loves-to-Learn Everything

Not working for me

 

0 Karma
Get Updates on the Splunk Community!

Database Performance Sidebar Panel Now on APM Database Query Performance & Service ...

We’ve streamlined the troubleshooting experience for database-related service issues by adding a database ...

IM Landing Page Filter - Now Available

We’ve added the capability for you to filter across the summary details on the main Infrastructure Monitoring ...

Dynamic Links from Alerts to IM Navigators - New in Observability Cloud

Splunk continues to improve the troubleshooting experience in Observability Cloud with this latest enhancement ...