All Apps and Add-ons

UI elements placement inside sideview multiplexer

sridamg
Explorer

I have two charts within a multiplexer module. When rendered, charts are placed one after another vertically for each element. I want to place the charts side by side (not vertically one after another) for each iteration. Please help !!

0 Karma

sideview
SplunkTrust
SplunkTrust

the easiest way is to use custom CSS to give the charts a constant width and to float the charts alongside eachother.

If your view name is my_view (ie the XML file for the view is my_view.xml), then your custom CSS might look like:

.splView-my_view div.JSChart {
float:left;
clear:none;
width:400px;
}

If you're multiplexing just the chart module and hidden modules, this will make all the charts the same width, and cause them to float alongside eachother - so that there are as many in a single row as will fit.

On the other hand if you are multiplexing other visible modules as well, like if you're multiplexing an HTML module as a dynamic header along with your JSChart module then things will get a little more complicated CSS-wise.

0 Karma

sridamg
Explorer

There should be one row for each iteration of the multiplexer. Each row will contain three items - 1) HTML module, 2) One pie chart. 3) Another pie chart.
Also we are not using any custom JS/CSS at this point. Could you please suggest any other option if you have.

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!

Deep insights, no barriers: Splunk Observability Cloud Free Edition

As software delivery cycles continue to accelerate, observability shouldn’t be a luxury — it should be a ...

Monitoring AI Agents with Splunk Observability Cloud

Let’s say I’m running a travel planning AI app in production. A user asks for three concise hotel options in ...

[Puzzles] Solve, Learn, Repeat: Tiling

This puzzle (first published here) is based on finding groups of tessellated tiles (inspired by floor tiles I ...