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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...