• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: JFreeChart/Wonder liftoff
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: JFreeChart/Wonder liftoff


  • Subject: Re: JFreeChart/Wonder liftoff
  • From: Michael Sharp <email@hidden>
  • Date: Wed, 16 Dec 2009 14:20:45 +1000

Hi Baiss,

All you should have to do is just add a ERPPieChart component to your WOComponent, eg

MyChart : ERPPieChart {
	name = "Monthly Totals";
	items = myArray;
	nameKey = "name";
	valueKey = "amount";
	chartType = "PieChart";
}


You can gain a fair bit of flexibility with the "configuration" binding, and also you can use the "chart" binding on it's own if you already have a JFreeChart and just want a nice way to include it in your component.

Cheers,

Sharpy


--

Michael Sharp



On 16/12/2009, at 10:52 AM, Baiss Eric Magnusson wrote:

> I was wondering if anyone can help with the use of ERPPieChart from ERPlot as I replace the various plots in the WO project I'm converting, it's also an introduction to Wonder for me.
>
> I have a NSMutableArray of references to instances of an inner class <TotalOfMonth> which has the values: (amount, name, color);
>
> Starting, I see I do:
>
> ERPPieChart erPieChart = new ERPPieChart( this.context() );
>
> // how can I best pass the values in the NSMutableArray to the dataset inside <erPieChart?>
> // I have ERPlot Framework in /Library/Frameworks on MacOSX but I can't seem to step into ERPPieChart
>
> JFreeChart jfc = erPieChart();
>
> Previously I had done arcFillCenter, drawRect, etc. for the constructing of the chart with a long-deprecated java plot package, this seems antiquated.
>
> At what point do I stop looking at the routines in ERPieChart and look at the routines in JFreeChart, I have its 950 page reference document plus some source code.
>
>
> ----
> Baiss Eric Magnusson
> http://www.CascadeWebDesign.com
>
>
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list      (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: JFreeChart/Wonder liftoff success
      • From: Baiss Eric Magnusson <email@hidden>
References: 
 >JFreeChart/Wonder liftoff (From: Baiss Eric Magnusson <email@hidden>)

  • Prev by Date: Re: JFreeChart/Wonder liftoff
  • Next by Date: Re: why is the date wrong???
  • Previous by thread: Re: JFreeChart/Wonder liftoff
  • Next by thread: Re: JFreeChart/Wonder liftoff success
  • Index(es):
    • Date
    • Thread