Simple question - Using SplunkJS how do you disable the legend all together.
// Create a search manager
var mysearch = new SearchManager({
id: "mysearch",
preview: true,
search: "project={{ object.name }} | stats dc(path) by variant"
});
// Create a chart view that is bound to the search manager
var mychart = new ChartView({
id: "mychart",
managerid: "mysearch",
type: "bar",
el: $("#chart1"),
"charting.axisTitleY.text": "Top Variants by File Count",
"charting.legend.labels": "Foo"
}).render()
Add this option..
"charting.legend.placement" = "none",