embedding Pie charts
"Eyunni Srilatha" <[email protected]>
| Newsgroups | gmane.comp.krysalis.jcharts.user |
|---|---|
| Message-ID | <[email protected]> |
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