Author: woolfel
Date: Tue Nov 15 20:21:15 2005
New Revision: 344875

URL: http://svn.apache.org/viewcvs?rev=344875&view=rev
Log:
cleaned up the AxisGraph a bit to make the paint method a bit easier to read

peter

Modified:
    
jakarta/jmeter/branches/rel-2-1/src/components/org/apache/jmeter/visualizers/AxisGraph.java

Modified: 
jakarta/jmeter/branches/rel-2-1/src/components/org/apache/jmeter/visualizers/AxisGraph.java
URL: 
http://svn.apache.org/viewcvs/jakarta/jmeter/branches/rel-2-1/src/components/org/apache/jmeter/visualizers/AxisGraph.java?rev=344875&r1=344874&r2=344875&view=diff
==============================================================================
--- 
jakarta/jmeter/branches/rel-2-1/src/components/org/apache/jmeter/visualizers/AxisGraph.java
 (original)
+++ 
jakarta/jmeter/branches/rel-2-1/src/components/org/apache/jmeter/visualizers/AxisGraph.java
 Tue Nov 15 20:21:15 2005
@@ -32,6 +32,7 @@
 import org.jCharts.properties.AxisProperties;
 import org.jCharts.properties.BarChartProperties;
 import org.jCharts.properties.ChartProperties;
+import org.jCharts.properties.DataAxisProperties;
 import org.jCharts.properties.LegendProperties;
 import org.jCharts.types.ChartType;
 
@@ -124,16 +125,16 @@
             
             String[] legendLabels= { yAxisLabel };
             Paint[] paints= new Paint[]{ Color.blue.darker() };
-            BarChartProperties barChartProperties= new BarChartProperties();
+            BarChartProperties barChartProperties = new BarChartProperties();
             AxisChartDataSet axisChartDataSet =
                 new AxisChartDataSet(
                         data, legendLabels, paints, ChartType.BAR, 
barChartProperties );
             dataSeries.addIAxisPlotDataSet( axisChartDataSet );
 
-            ChartProperties chartProperties= new ChartProperties();
-            AxisProperties axisProperties= new AxisProperties();
+            ChartProperties chartProperties = new ChartProperties();
+            AxisProperties axisProperties = new AxisProperties();
             axisProperties.setXAxisLabelsAreVertical(true);
-            LegendProperties legendProperties= new LegendProperties();
+            LegendProperties legendProperties = new LegendProperties();
             AxisChart axisChart = new AxisChart( 
                     dataSeries, chartProperties, axisProperties, 
                     legendProperties, width, height );



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to