In my lineChart(primefaces 3.4), xaxis have many dateTimes lables and it overlap, is there any way to prevent overlaping in xaxis? when in lineChart I use extender attribute(with jqplot function), I can apply autosacle to axis but int values labels from 1..n will replaced instead of dateTime lables !. Here is my sample code:
xhtml Code
<script type="text/javascript" src="js/plugins/jqplot.dateAxisRenderer.min.js">
<script type="text/javascript">
function setScale() {
this.cfg.axes ={
xaxis:{
renderer:$.jqplot.DateAxisRenderer,
autoscale : true,
}
}
</script>
<p:lineChart value="#{chartBean.chartModel}" extender="setSacle" xaxisAngle="-30" />