Paint[] paint = new Paint[labels.length];
for(int j = 0 ; j < paint.length ; j++) {
paint[j] = availablecolors[j];
}
AxisChartDataSet axisChartDataSet = new AxisChartDataSet(points,labels,paint,ChartType.LINE,lineChartProperties);
DataSeries dataSeries = new DataSeries(xAxisLabels,"Date","Time in Hours","Online Statistics for " + jid);
dataSeries.addIAxisPlotDataSet(axisChartDataSet);
ChartProperties chartProperties = new ChartProperties();
AxisProperties axisProperties = new AxisProperties( );
axisProperties.setXAxisLabelsAreVertical(true);
DataAxisProperties dataAxisProperties= (DataAxisProperties) axisProperties.getYAxisProperties();