• 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
ERPPieChart pie piece color
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ERPPieChart pie piece color


  • Subject: ERPPieChart pie piece color
  • From: Baiss Eric Magnusson <email@hidden>
  • Date: Fri, 17 Sep 2010 13:44:44 -0700

I thought if I supplied to the <item> binding of ERPPieChart the <totals> NSMutableArray below:

	public class TotalOfMonth  {	// inner class
		public BigDecimal	_total;
		public String		_name;
		public Color		_color;
		public String		_legend;

		TotalOfMonth( BigDecimal total, String name, Color color )  {
			_total = total;
			_name = name;
			_color = color;
			mTotalsGraph += total.doubleValue();
		}
	}

	NSMutableArray<TotalOfMonth> totals = new NSMutableArray<TotalOfMonth>(5);
     Color fixedExpColor =  new Color( 0xff, 0x66, 0x00 );
	totals.addObject( new TotalOfMonth( thisMonth.fixedMonthlyExpense(), "Fixed Expense ", fixedExpColor ));
	...
That the "Fixed Expense " piece of the pie chart would be set to the color <fixedExpColor>, but the color seems to come from ???


----
Baiss Eric Magnusson
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

  • Follow-Ups:
    • Re: ERPPieChart pie piece color
      • From: Michael Sharp <email@hidden>
  • Prev by Date: Re: Help with ERXBatchFetchUtilities.batchFetch
  • Next by Date: Re: two modal dialogs on a page problem
  • Previous by thread: Re: Help with ERXBatchFetchUtilities.batchFetch
  • Next by thread: Re: ERPPieChart pie piece color
  • Index(es):
    • Date
    • Thread