How can I have so that no xaxis label got render, like
xaxis: {
renderer: $.jqplot.CategoryAxisRenderer,
ticks: jsonColsObj,
labelRenderer: $.jqplot.CanvasAxisLabelRenderer,
tickRenderer: $.jqplot.CanvasAxisTickRenderer,
tickOptions: {
angle: -30,
fontFamily: 'Arial',
fontSize: '9pt'
}
},
For jsonColsObj, I pass in [''], null and '' for the tick, but it always show 1 for the x-axis label, do you have any idea how to fix this?
I’m using the method generateStackedBarCharts(data, label, [''], targetDiv);, with the third parameter as my x-axis label.
You can remove the label by using
within the
TickOptionssection … your updated jsfiddle here and documentation for jqPlot options here