Why is the below not generating a bar chart, but instead a column chart. and everytime I change "type" to column, line, pie, etc.. it stays a column chart.
How do I make this a bar chart?
var ChartElement = require("splunkjs/mvc/simplexml/element/chart");
var mychart = new ChartElement({
"id": "volumeby-timecharttwo",
"managerid": "user-search",
"type": "bar",
"resizable": true,
"drilldown":"all",
"drilldownRedirect": "$drilldown$",
"el": $("#RenderVolumeBy"),
}, {tokens: true}).render();
Figured it out, you have to set the "charting.chart" property to "bar"
Figured it out, you have to set the "charting.chart" property to "bar"