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!

Tips & Tricks When Using Ingest Actions

Tune in to learn about:Large scale architecture when using Ingest ActionsRegEx performance considerations ...

Announcing Our Splunk MVPs

We are excited to announce the first cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Dashboard Studio Challenge - Learn New Tricks, Showcase Your Skills, and Win Prizes!

Reimagine what you can do with your dashboards. Dashboard Studio is Splunk’s newest dashboard builder to ...