Hi All
Already created a custom Vizualisation. Having an issue with the drilldown.
In XML set the drilldown option:
<option name="drilldown">all</option>
inside drilldown:
<drilldown>
<set token="test1">$click.value$</set>
<set token="test2">$click.field$</set>
</drilldown>
Also set the title of the panel to:
<title>Test1: $test1$, test2: $test2$</title>
JS in the custom viz:
@henryopie
Can you please share your sample XML. and JS code? It will help us to replicate the issue.
KV
XML:
<dashboard script="table.js" stylesheet="table.css">
<label>Custom View 3</label>
<row>
<panel>
<title>Test1: $test1$, test2: $test2$</title>
<viz type="splunk-accessibility-app.piechart">
<search>
<query>index="_audit" | stats avg(linecount) by user</query>
<earliest>-24h@h</earliest>
<latest>now</latest>
</search>
<option name="drilldown">all</option>
<option name="splunk-app.piechart.dedup">False</option>
<option name="splunk-app.piechart.xaxislabel">X Axis Label</option>
<option name="splunk-app.piechart.yaxislabel">Y Axis Label</option>
<drilldown>
<set token="test1">$row.value$</set>
<set token="test2">$row.field$</set>
</drilldown>
</viz>
</panel>
</row>
</dashboard>
wont send the whole visualization.js:
In the highcharts:
// The function that is called
function drilldown(value) {
};