I'm trying to render a chart with an "View as Axis" overlay using the javascript splunk-sdk. Setting the following options does not achieve the expected result:
window.splunkjs.UI.ready(window.chartToken, function () {
chart.setData(results, {
...
"axisY2.enabled": true,
"axisY2.scale": "inherit",
"chart.overlayFields": "some-field-name"
});
chart.draw();
});
I also tried setting chart.overlayFields as an array `"chart.overlayFields": ["some-field-name"]`
What am I missing to make this happen? I have all the options set as shown by looking at a chart definition XML in splunk itself.
↧