Dashboards & Visualizations

Heatmap X axis is not aligned

spkriyaz
Path Finder

Hi All,

I created a heatmap which includes hourly data for a day with addcoltotals at the end. The heatmap X axis is not aligned according the value it populates. Initially I thought it is due to the addcoltotals value but even after removing it the X axis is not aligned properly. If you see the marker of X axis which I have encircled in red it moves to further and further as it progress to next hour. So finally if you see the 23:00 is shown near the totals blocks. 

Please let me know whether I can align the X axis according the heatmap blocks also it is possible to show the totals which shouldn't affect the aligned of the x axis.

Heatmap.JPG

Labels (2)
Tags (1)
0 Karma
1 Solution

spkriyaz1
Engager

Fixed it by changing the xaxis in the JS as below

xaxis: {
			axisTicks: {
			show: true
			},  
			tickAmount: 24,
			range: 24,
	        labels: {
			  show: true,	
	          style: {
	            colors: yaxisColor,
	            fontSize: "12px",
	            fontFamily:
	              "Splunk Platform Sans,Proxima Nova,Roboto,Droid,Helvetica Neue,Helvetica,Arial,sans-serif",
	            cssClass: "apexcharts-xaxis-label"
	          }
			}
	      }

View solution in original post

0 Karma

spkriyaz1
Engager

Fixed it by changing the xaxis in the JS as below

xaxis: {
			axisTicks: {
			show: true
			},  
			tickAmount: 24,
			range: 24,
	        labels: {
			  show: true,	
	          style: {
	            colors: yaxisColor,
	            fontSize: "12px",
	            fontFamily:
	              "Splunk Platform Sans,Proxima Nova,Roboto,Droid,Helvetica Neue,Helvetica,Arial,sans-serif",
	            cssClass: "apexcharts-xaxis-label"
	          }
			}
	      }
0 Karma
Get Updates on the Splunk Community!

Splunk AI Assistant for SPL | Key Use Cases to Unlock the Power of SPL

Splunk AI Assistant for SPL | Key Use Cases to Unlock the Power of SPL  The Splunk AI Assistant for SPL ...

Buttercup Games: Further Dashboarding Techniques (Part 5)

This series of blogs assumes you have already completed the Splunk Enterprise Search Tutorial as it uses the ...

Customers Increasingly Choose Splunk for Observability

For the second year in a row, Splunk was recognized as a Leader in the 2024 Gartner® Magic Quadrant™ for ...