Dashboards & Visualizations

how to create second y-axis

mvaradarajam
Path Finder

i have an requirement to display two Y-axis in a chart and first y-axis displays the success counts and 2nd y-axis displays the percentage.i use the following code .







*search query******

-7d@d
@d

Here it is working fine, but is in the dashboard it dispays two charts (chart1 id,table)charts,i dnt want table chart in dashboard panel,how to remove that one.here we are passing table id value into javascript

java script

var tableManagerid = mvc.Components.get('table1').settings.get('managerid');
var chart = new D3ChartView({
"id": "chart1",
"managerid": tableManagerid,
"type": "linePlusBarChart",
"el": $('#chart1')
}).render();

how to give "table1" value(search query) directly in javascript as a ID value.

please help me from this issue.

0 Karma

niketn
Legend

Can you add a sample screenshot of how you want Y axis output? Can this be done directly via Chart Overlay without using JS extension?

____________________________________________
| makeresults | eval message= "Happy Splunking!!!"
0 Karma

hariram159
Explorer

what if you use single y-axis with a bar graph showing success count and hover a mouse over a bar to see the percentage of it. can you try that.

0 Karma
Get Updates on the Splunk Community!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...