Right now, I have a time series plot (Y value ranges from 0 to 10000 and X is the time value). So, the x-axis displays the time value at certain intervals. Is it possible to set what the x-axis displays? Right now, the x-axis displays a HH:MM:SS format. I'd like to change that to display the day of year such that is becomes DDD/HH:MM:SS. Is this possible - how can I do this?
Here's my code:
xAxis1 = new TimeAxis(pTransform1); xAxis1.setColor(Color.white); gWG.addChartObject(xAxis1);
yAxis1 = new LinearAxis(pTransform1, ChartConstants.Y_AXIS); yAxis1.setColor(Color.white); gWG.addChartObject(yAxis1);
xAxisLab1 = new TimeAxisLabels(xAxis1); xAxisLab1.setColor(Color.white); gWG.addChartObject(xAxisLab1);