Dashboards & Visualizations

Is it possible to position radio buttons horizontally

gjaya
Engager

PUTTING RADIO BUTTON IN HORIZOTALLY WAY IN SPLUNK POSSIBLE OR NOT?

yvassilyeva
Path Finder

gjaya If you would to achieve something like this:
radioButtons.png

You can do the following:

 

  <row>
    <panel>
        <input type="radio" token="sorttoken2" id="radio">
        <label>Sort By:</label>
        <choice value="button1">Button 1</choice>
        <choice value="button2">Button 2</choice>
        <choice value="button3">Button 3</choice>
        <default>button1</default>
        <initialValue>button1</initialValue>
      </input>

      <html>
        <style>
          #radio div[data-test="radio-list"]{
           display: inline;
          }  

          #radio div[data-test="option"]{
            display: inline;
            margin-top: 0px;
            margin-right: 10px;
            margin-bottom: 0px;
            margin-left: 0px
          } 
          #radio {
            width:30%;
          }
        </style>
      </html>
      </panel>
</row>

 

 

0 Karma

dart
Splunk Employee
Splunk Employee

Splunk dashboards are HTML, and you can have custom css in your application.css file for a Splunk app, so you can style any elements exactly how you like.

0 Karma

nick405060
Motivator

Care to elaborate..?

0 Karma
Get Updates on the Splunk Community!

Modern way of developing distributed application using OTel

Recently, I had the opportunity to work on a complex microservice using Spring boot and Quarkus to develop a ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had 3 releases of new security content via the Enterprise Security ...

Archived Metrics Now Available for APAC and EMEA realms

We’re excited to announce the launch of Archived Metrics in Splunk Infrastructure Monitoring for our customers ...