Lets say I have two different panels in a Dashboard.
One with search like this:
sourcetype=UPS | timechart avg(battery_volt) AS "Volt"
and the other like this:
sourcetype=UPS| timechart avg(battery_temperature) AS "Temperature"
Since they have different legend with different lengt in right side of the panel (Volt/Temperature), they take up different space of the overall window.
This makes the x-axis og the two graphs not align.
Is there a way to set a fixed size of the legend? I do like them to be on the right side.
I could have used on panel if numbers was close to each other, but they are not:
sourcetype=UPS| timechart avg(battery_volt) AS "Volt" avg(battery_temperature) AS "Temperature"
I would combine the two searches, like you said, but then try one of two things:
Details on chart overlay here: http://docs.splunk.com/Documentation/Splunk/6.1.8/Viz/Chartcontrols#Chart_overlay
With regards to 1, you can set the chart's height in SimpleXML. That should make it so that the graph is the correct size on the initial page load: