double[][] data= TestDataGenerator.getRandomNumbers( 3, 7, 0, 5000 );
String[] legendLabels= { "Bugs", "Security Holes", "Backdoors" };
Paint[] paints= TestDataGenerator.getRandomPaints( 3 );
AreaChartProperties areaChartProperties= new AreaChartProperties();
AxisChartDataSet axisChartDataSet= new AxisChartDataSet( data, legendLabels, paints, ChartType.AREA, areaChartProperties );
dataSeries.addIAxisPlotDataSet( axisChartDataSet );
data= TestDataGenerator.getRandomNumbers( 2, 7, 1000, 5000 );
legendLabels= new String[]{ "Patches", "New Patch Bugs" };
paints= new Paint[]{ Color.black, Color.red };
Stroke[] strokes= { LineChartProperties.DEFAULT_LINE_STROKE, LineChartProperties.DEFAULT_LINE_STROKE };
Shape[] shapes= { PointChartProperties.SHAPE_CIRCLE, PointChartProperties.SHAPE_TRIANGLE };
LineChartProperties lineChartProperties= new LineChartProperties( strokes, shapes );
axisChartDataSet= new AxisChartDataSet( data, legendLabels, paints, ChartType.LINE, lineChartProperties );
dataSeries.addIAxisPlotDataSet( axisChartDataSet );
ChartProperties chartProperties= new ChartProperties();
AxisProperties axisProperties= new AxisProperties();