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!

October Community Champions: A Shoutout to Our Contributors!

As October comes to a close, we want to take a moment to celebrate the people who make the Splunk Community ...

Community Content Calendar, November Edition

Welcome to the November edition of our Community Spotlight! Each month, we dive into the Splunk Community to ...

Stay Connected: Your Guide to November Tech Talks, Office Hours, and Webinars!

What are Community Office Hours? Community Office Hours is an interactive 60-minute Zoom series where ...