{
String[] xAxisLabels= { "1998", "1999", "2000", "2001", "2002", "2003", "2004" };
String xAxisTitle= "Years";
String yAxisTitle= "Problems";
String title= "Micro$oft at Work";
DataSeries dataSeries = new DataSeries( xAxisLabels, xAxisTitle, yAxisTitle, title );
double[][] data= new double[][]{ { 250, 45, -36, 66, 145, 80, 55 }, { 150, 15, 6, 62, -54, 10, 84 } };
String[] legendLabels= { "Bugs", "Security Holes" };
Paint[] paints= TestDataGenerator.getRandomPaints( 2 );
Stroke[] strokes= new Stroke[ 2 ];
strokes[ 0 ]= new BasicStroke( 3.5f, BasicStroke.CAP_ROUND, BasicStroke.JOIN_ROUND, 5f, new float[]{ 5f, 5f, 10f, 5f}, 4f );
strokes[ 1 ]= new BasicStroke( 5.0f );
Shape[] shapes= { PointChartProperties.SHAPE_CIRCLE, null };
LineChartProperties lineChartProperties= new LineChartProperties( strokes, shapes );
AxisChartDataSet axisChartDataSet= new AxisChartDataSet( data, legendLabels, paints, ChartType.LINE, lineChartProperties );
dataSeries.addIAxisPlotDataSet( axisChartDataSet );
ChartProperties chartProperties= new ChartProperties();
AxisProperties axisProperties= new AxisProperties();
LegendProperties legendProperties= new LegendProperties();