Re: embedding Pie charts
"Nathaniel G. Auvil" <[email protected]>
| Newsgroups | gmane.comp.krysalis.jcharts.user |
|---|---|
| Message-ID | <[email protected]> |
I am not sure i understand what you want to do. It sounds like you want to drill into the chart? You use an image map for this. --- Eyunni Srilatha <[email protected]> wrote: > hi, > I want to embed one PIE chart into another. > The first chart has > int i=4; > int j=5; > int k=6; > int h=9; > > double[] data= {h,i,j,k}; > String[] labels= { "AA","BB","CC","DD"}; > Paint[] paints= { new Color(255,204,0),new Color(51,153,255),new Color(51,153,255),new > Color(51,153,255)}; > > The second chart has: > int m=i+j+k; > double[] data= {h,m}; > String[] labels= { "Total of AA","Total of BB CC DD"}; > Paint[] paints= { new Color(255,204,0),new Color(51,153,255)}; > > the second chart should show me the subset of the first charts data. > the inner Pie chart should show the normal data and the outer PIE chart should show the totals > of the inner chart. > can anyone help me in doing this > Thaks > > > __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free web site building tool. Try it! http://webhosting.yahoo.com/ps/sb/ ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn