krysalis-jcharts/src/java/org/krysalis/jcharts/designer/charts DesignerPieChart.java,1.1,1.2

"Nathaniel G. Auvil" <[email protected]> Wed, 09 Jun 2004 01:43:33 +0000
Newsgroups gmane.comp.krysalis.jcharts.cvs
Message-ID <[email protected]>
Update of /cvsroot/jcharts/krysalis-jcharts/src/java/org/krysalis/jcharts/designer/charts
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21835/src/java/org/krysalis/jcharts/designer/charts

Modified Files:
	DesignerPieChart.java 
Log Message:


Index: DesignerPieChart.java
===================================================================
RCS file: /cvsroot/jcharts/krysalis-jcharts/src/java/org/krysalis/jcharts/designer/charts/DesignerPieChart.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** DesignerPieChart.java	9 Aug 2003 17:04:07 -0000	1.1
--- DesignerPieChart.java	9 Jun 2004 01:43:31 -0000	1.2
***************
*** 53,58 ****
  {
  	private PieChart2D pieChart2D;
!    private PieChart2DProperties pieChart2DProperties;
!    private PieChartDataSet pieChartDataSet;
  
  
--- 53,58 ----
  {
  	private PieChart2D pieChart2D;
! 	private PieChart2DProperties pieChart2DProperties;
! 	private PieChartDataSet pieChartDataSet;
  
  
***************
*** 83,99 ****
  	 * @throws ChartDataException
  	 **************************************************************************************/
!    public void updateChart() throws ChartDataException
  	{
        this.pieChartDataSet = new PieChartDataSet( super.getTitle(),
! 																  super.getData()[ 0 ],
! 																  super.getLegendLabels(),
! 																  super.getPaints(),
! 																  this.pieChart2DProperties );
  
  		this.pieChart2D= new PieChart2D( pieChartDataSet,
! 													super.getLegendProperties(),
! 													super.getChartProperties(),
! 													super.getWidth(),
! 													super.getHeight() );
  	}
  
--- 83,99 ----
  	 * @throws ChartDataException
  	 **************************************************************************************/
! 	public void updateChart() throws ChartDataException
  	{
        this.pieChartDataSet = new PieChartDataSet( super.getTitle(),
! 												  super.getData()[ 0 ],
! 												  super.getLegendLabels(),
! 												  super.getPaints(),
! 												  this.pieChart2DProperties );
  
  		this.pieChart2D= new PieChart2D( pieChartDataSet,
! 										 super.getLegendProperties(),
! 										 super.getChartProperties(),
! 										 super.getChartWidth(),
!  										 super.getChartHeight() );
  	}
  



-------------------------------------------------------
This SF.Net email is sponsored by: GNOME Foundation
Hackers Unite!  GUADEC: The world's #1 Open Source Desktop Event.
GNOME Users and Developers European Conference, 28-30th June in Norway
http://2004/guadec.org