Drawing pie chart

import java.applet.*;
import java.text.*;
import java.awt.*;
import java.awt.event.*;
import java.awt.Graphics;
public class x2 extends Applet implements ActionListener {
     private Button draw,draw2,reset;
     private TextField thigh,tmedium,tlow,tno;
     private Label banner,l1, l2, l3, l4;
     double rhigh,rmedium,rlow,rno;
     double high, medium, low, no, total, high2=0, medium2=0, low2=0, no2=0,low3=0,no3=0;
     String something="";
     public void paint(Graphics g){
     setBackground(Color.white);
     if(something=="pie"){
          try{
rhigh=Double.parseDouble(thigh.getText());
rmedium=Double.parseDouble(tmedium.getText());
               rlow=Double.parseDouble(tlow.getText());
               rno=Double.parseDouble(tno.getText());
if(rhigh<0||rmedium<0||rlow<0||no<0){
     throw new NumberFormatException();
          total=rhigh+rmedium+rlow+rno;
     high=(rhigh/total)*100;
     medium=(rmedium/total)*100;
     low=(rlow/total)*100;
     no=(rno/total)*100;
     high2=high*360/100;
          medium2=medium*360/100;
          low2=low*360/100;
          no2=no*360/100;     
          low3=high2+medium2;
          no3=low3+low2;
          DecimalFormat F=new DecimalFormat("###.000");
g.setColor(Color.black);
g.drawString("THE INVESTMENT ARE:",250,100);
g.drawString("Pie Chart",450,100);
g.setColor(Color.red);
g.drawString(F.format(high)+" "+"% High Risk",250,140);
g.setColor(Color.blue);
g.drawString(F.format(medium)+" "+"%High Risk",250,180);
g.setColor(Color.green);
g.drawString(F.format(low)+" "+"% Low Risk",250,220);
g.setColor(Color.pink);
g.drawString(F.format(no)+" "+"% No Risk",250,260);
g.setColor(Color.red);
g.fillArc(500,80,200,200,0,360-(int)(medium2+low2+no2));
g.setColor(Color.blue);
g.fillArc(500,80,200,200,(int)high2,360-(int)(high2+low2+no2));
g.setColor(Color.green);
g.fillArc(500,80,200,200,(int)low3,360-(int)(high2+medium2+no2));
g.setColor(Color.pink);
g.fillArc(500,80,200,200,(int)no3,360-(int)(high2+medium2+low2));
g.setColor(Color.red);
g.fillRect(450,300,60,30);
g.setColor(Color.blue);
g.fillRect(450,330,60,30);
g.setColor(Color.green);
g.fillRect(450,360,60,30);
g.setColor(Color.pink);
g.fillRect(450,390,60,30);
g.setColor(Color.red);
g.drawString("High Risk Investment",520,320);
g.setColor(Color.blue);
g.drawString("Medium Risk Investment",520,350);
g.setColor(Color.green);
g.drawString("Low Risk Investment",520,380);
g.setColor(Color.pink);
g.drawString("No Risk Investment",520,410);
     catch(NumberFormatException e){
g.drawString("Invalid value click the reset button and reenter your value",300,200);
          else if(something=="bar") {
          try{
rhigh=Double.parseDouble(thigh.getText());
rmedium=Double.parseDouble(tmedium.getText());
rlow=Double.parseDouble(tlow.getText());
rno=Double.parseDouble(tno.getText());
if(rhigh<0||rmedium<0||rlow<0||no<0){
     throw new NumberFormatException();
     total=rhigh+rmedium+rlow+rno;
     high=(rhigh/total)*100;
     medium=(rmedium/total)*100;
     low=(rlow/total)*100;
     no=(rno/total)*100;
DecimalFormat F=new DecimalFormat("###.000");
g.setColor(Color.black);
g.drawString("THE INVESTMENT ARE:",250,100);
g.drawString("Bar Chart",530,100);
g.setColor(Color.red);
g.drawString(F.format(high)+" "+"% High Risk",250,140);
g.setColor(Color.blue);
g.drawString(F.format(medium)+" "+"% High Risk",250,180);
g.setColor(Color.green);
g.drawString(F.format(low)+" "+"% Low Risk",250,220);
g.setColor(Color.pink);
g.drawString(F.format(no)+" "+"% No Risk",250,260);
g.setColor(Color.red);
g.fillRect(480,250-(int)high,40,(int)high);
g.setColor(Color.blue);
g.fillRect(530,250-(int)medium,40,(int)medium);
g.setColor(Color.green);
g.fillRect(580,250-(int)low,40,(int)low);
g.setColor(Color.pink);
g.fillRect(630,250-(int)no,40,(int)no);
g.setColor(Color.black);
g.drawLine(450,250,700,250);
g.drawLine(450,130,450,250);
g.drawLine(445,150,450,150);
g.drawString("Hight",485,265);
g.drawString("Medium",535,265);
g.drawString("Low",585,265);
g.drawString("No",635,265);
g.drawString("Percentage%",425,125);
g.drawString("Risks",710,250);
g.drawString("100",420,150);
g.setColor(Color.red);
g.fillRect(450,300,60,30);
g.setColor(Color.blue);
g.fillRect(450,330,60,30);
g.setColor(Color.green);
g.fillRect(450,360,60,30);
g.setColor(Color.pink);
g.fillRect(450,390,60,30);
g.setColor(Color.red);
g.drawString("High Risk Investment",520,320);
g.setColor(Color.blue);
g.drawString("Medium Risk Investment",520,350);
g.setColor(Color.green);
g.drawString("Low Risk Investment",520,380);
g.setColor(Color.pink);
g.drawString("No Risk Investment",520,410);     
     catch(NumberFormatException e){
g.drawString("Invalid value click the reset button and reenter your value",300,200);
     public void init(){
     setLayout (null);
     draw=new Button("Draw pie chart");
     draw2=new Button("Draw bar chart");
     reset=new Button("Reset");
     thigh=new TextField("",10);
     tmedium=new TextField("",10);
     tlow=new TextField("",10);
     tno=new TextField("",10);
     l1=new Label("High Risk :$");
     l2=new Label("Medium Risk:$");
     l3=new Label("Low Risk :$");
     l4=new Label("No Risk :$");
     banner=new Label("Welcome");
     banner.setBounds(new Rectangle(200,50,100,20));
     add(banner);
l1.setBounds(new Rectangle(20,100,100,20));
add(l1);
thigh.setBounds(new Rectangle(120,100,100,20));
add(thigh);
l2.setBounds(new Rectangle(20,140,100,20));
add(l2);
tmedium.setBounds(new Rectangle(120,140,100,20));
add(tmedium);
l3.setBounds(new Rectangle(20,180,100,20));
add(l3);
tlow.setBounds(new Rectangle(120,180,100,20));
add(tlow);
l4.setBounds(new Rectangle(20,220,100,20));
add(l4);
tno.setBounds(new Rectangle(120,220,100,20));
add(tno);
draw.setBounds(new Rectangle(20,260,100,20));
add(draw);
draw2.setBounds(new Rectangle(120,260,100,20));
add(draw2);
reset.setBounds(new Rectangle(20,290,100,20));
add(reset);
draw.addActionListener(this);
draw2.addActionListener(this);
reset.addActionListener(this);
     public void actionPerformed(ActionEvent e){
          if(e.getSource()==draw) {
               something="pie";
               repaint();
          }else if(e.getSource()==draw2) {
               something="bar";
               repaint();
          if(e.getSource()==reset) {
               something="";
               thigh.setText("");
               tmedium.setText("");
               tlow.setText("");
               tno.setText("");
               repaint();

import java.applet.*;
import java.text.*;
import java.awt.*;
import java.awt.event.*;
import java.awt.Graphics;
public class x2 extends Applet implements ActionListener
     private Button draw,draw2,reset;
     private TextField thigh,tmedium,tlow,tno;
     private Label banner,l1, l2, l3, l4;
     double  rhigh,rmedium,rlow,rno;
     double  high, medium, low, no, total, high2=0, medium2=0, low2=0, no2=0,low3=0,no3=0;
     String something="";
     Double  d1;
public void paint(Graphics g)
     setBackground(Color.white);
     if(something=="pie")
          try
//          rhigh=Double.parseDouble(thigh.getText());
//          rmedium=Double.parseDouble(tmedium.getText());
//          rlow=Double.parseDouble(tlow.getText());
//          rno=Double.parseDouble(tno.getText());
               rhigh   = get_double(thigh.getText());
               rmedium = get_double(tmedium.getText());
               rlow    = get_double(tlow.getText());
               rno     = get_double(tno.getText());
               if(rhigh<0||rmedium<0||rlow<0||no<0)
                    throw new NumberFormatException();
               total=rhigh+rmedium+rlow+rno;
               high=(rhigh/total)*100;
               medium=(rmedium/total)*100;
               low=(rlow/total)*100;
               no=(rno/total)*100;
               high2=high*360/100;
               medium2=medium*360/100;
               low2=low*360/100;
               no2=no*360/100;
               low3=high2+medium2;
               no3=low3+low2;
               DecimalFormat F=new DecimalFormat("###.000");
               g.setColor(Color.black);
               g.drawString("THE INVESTMENT ARE:",250,100);
               g.drawString("Pie Chart",450,100);
               g.setColor(Color.red);
               g.drawString(F.format(high)+" "+"% High Risk",250,140);
               g.setColor(Color.blue);
               g.drawString(F.format(medium)+" "+"%High Risk",250,180);
               g.setColor(Color.green);
               g.drawString(F.format(low)+" "+"% Low Risk",250,220);
               g.setColor(Color.pink);
               g.drawString(F.format(no)+" "+"% No Risk",250,260);
               g.setColor(Color.red);
               g.fillArc(500,80,200,200,0,360-(int)(medium2+low2+no2));
               g.setColor(Color.blue);
               g.fillArc(500,80,200,200,(int)high2,360-(int)(high2+low2+no2));
               g.setColor(Color.green);
               g.fillArc(500,80,200,200,(int)low3,360-(int)(high2+medium2+no2));
               g.setColor(Color.pink);
               g.fillArc(500,80,200,200,(int)no3,360-(int)(high2+medium2+low2));
               g.setColor(Color.red);
               g.fillRect(450,300,60,30);
               g.setColor(Color.blue);
               g.fillRect(450,330,60,30);
               g.setColor(Color.green);
               g.fillRect(450,360,60,30);
               g.setColor(Color.pink);
               g.fillRect(450,390,60,30);
               g.setColor(Color.red);
               g.drawString("High Risk Investment",520,320);
               g.setColor(Color.blue);
               g.drawString("Medium Risk Investment",520,350);
               g.setColor(Color.green);
               g.drawString("Low Risk Investment",520,380);
               g.setColor(Color.pink);
               g.drawString("No Risk Investment",520,410);
          catch(NumberFormatException e)
               g.drawString("Invalid value click the reset button and reenter your value",300,200);
     if(something=="bar")
          try
//     rhigh=Double.parseDouble(thigh.getText());
//     rmedium=Double.parseDouble(tmedium.getText());
//  rlow=Double.parseDouble(tlow.getText());
//  rno=Double.parseDouble(tno.getText());
               rhigh   = get_double(thigh.getText());
               rmedium = get_double(tmedium.getText());
               rlow    = get_double(tlow.getText());
               rno     = get_double(tno.getText());
               if(rhigh<0||rmedium<0||rlow<0||no<0)
                    throw new NumberFormatException();
               total=rhigh+rmedium+rlow+rno;
               high=(rhigh/total)*100;
               medium=(rmedium/total)*100;
               low=(rlow/total)*100;
               no=(rno/total)*100;
               DecimalFormat F=new DecimalFormat("###.000");
               g.setColor(Color.black);
               g.drawString("THE INVESTMENT ARE:",250,100);
               g.drawString("Bar Chart",530,100);
               g.setColor(Color.red);
               g.drawString(F.format(high)+" "+"% High Risk",250,140);
               g.setColor(Color.blue);
               g.drawString(F.format(medium)+" "+"% High Risk",250,180);
               g.setColor(Color.green);
               g.drawString(F.format(low)+" "+"% Low Risk",250,220);
               g.setColor(Color.pink);
               g.drawString(F.format(no)+" "+"% No Risk",250,260);
               g.setColor(Color.red);
               g.fillRect(480,250-(int)high,40,(int)high);
               g.setColor(Color.blue);
               g.fillRect(530,250-(int)medium,40,(int)medium);
               g.setColor(Color.green);
               g.fillRect(580,250-(int)low,40,(int)low);
               g.setColor(Color.pink);
               g.fillRect(630,250-(int)no,40,(int)no);
               g.setColor(Color.black);
               g.drawLine(450,250,700,250);
               g.drawLine(450,130,450,250);
               g.drawLine(445,150,450,150);
               g.drawString("Hight",485,265);
               g.drawString("Medium",535,265);
               g.drawString("Low",585,265);
               g.drawString("No",635,265);
               g.drawString("Percentage%",425,125);
               g.drawString("Risks",710,250);
               g.drawString("100",420,150);
               g.setColor(Color.red);
               g.fillRect(450,300,60,30);
               g.setColor(Color.blue);
               g.fillRect(450,330,60,30);
               g.setColor(Color.green);
               g.fillRect(450,360,60,30);
               g.setColor(Color.pink);
               g.fillRect(450,390,60,30);
               g.setColor(Color.red);
               g.drawString("High Risk Investment",520,320);
               g.setColor(Color.blue);
               g.drawString("Medium Risk Investment",520,350);
               g.setColor(Color.green);
               g.drawString("Low Risk Investment",520,380);
               g.setColor(Color.pink);
               g.drawString("No Risk Investment",520,410);
          catch(NumberFormatException e)
               g.drawString("Invalid value click the reset button and reenter your value",300,200);
private double get_double(String s)
     try
          d1 = d1.valueOf(s);
          return(d1.doubleValue());
     catch (NumberFormatException nfe)
          return(-1);
public void init()
     setLayout (null);
     draw    = new Button("Draw pie chart");
     draw2   = new Button("Draw bar chart");
     reset   = new Button("Reset");
     thigh   = new TextField("",10);
     tmedium = new TextField("",10);
     tlow    = new TextField("",10);
     tno     = new TextField("",10);
     l1      = new Label("High Risk :$");
     l2      = new Label("Medium Risk:$");
     l3      = new Label("Low Risk :$");
     l4      = new Label("No Risk :$");
     banner = new Label("Welcome");
     banner.setBounds(200,50,100,20);
     add(banner);
     l1.setBounds(20,100,100,20);
     add(l1);
     thigh.setBounds(120,100,100,20);
     add(thigh);
     l2.setBounds(20,140,100,20);
     add(l2);
     tmedium.setBounds(120,140,100,20);
     add(tmedium);
     l3.setBounds(20,180,100,20);
     add(l3);
     tlow.setBounds(120,180,100,20);
     add(tlow);
     l4.setBounds(20,220,100,20);
     add(l4);
     tno.setBounds(120,220,100,20);
     add(tno);
     draw.setBounds(20,260,100,20);
     add(draw);
     draw2.setBounds(120,260,100,20);
     add(draw2);
     reset.setBounds(20,290,100,20);
     add(reset);
     draw.addActionListener(this);
     draw2.addActionListener(this);
     reset.addActionListener(this);
public void actionPerformed(ActionEvent e)
     if(e.getSource()==draw)
          something="pie";
     if(e.getSource()==draw2)
          something="bar";
     if(e.getSource()==reset)
          something="";
          thigh.setText("");
          tmedium.setText("");
          tlow.setText("");
          tno.setText("");
     repaint();
Noah

Similar Messages

  • Drawing pie chart in applet

    Hi,
    The following is an applet I've written as an assignment in school. The applet runs well on appletviewer (here I mean drawing the pie chart). But when I run it on my browser, the pie chart is not drawn. Hope you can help me. Thanks in advance.
    import java.applet.*;import java.text.*;import java.awt.*;import java.awt.event.*;import java.awt.Graphics;public class x2 extends Applet implements ActionListener {               private Button draw,reset;        private TextField thigh,tmedium,tlow,tno;     private Label banner,l1, l2, l3, l4;     double rhigh,rmedium,rlow,rno;     double high, medium, low, no, total, high2=0, medium2=0, low2=0, no2=0,low3, no3;     String something="";          public void paint(Graphics g){     setBackground(Color.white);               if(something=="in"){     try {               rhigh=Double.parseDouble(thigh.getText());     rmedium=Double.parseDouble(tmedium.getText());     rlow=Double.parseDouble(tlow.getText());     rno=Double.parseDouble(tno.getText());     } catch (NumberFormatException nfe) {     }     total=rhigh+rmedium+rlow+rno; high=(rhigh/total)*100; medium=(rmedium/total)*100; low=(rlow/total)*100; no=(rno/total)*100; high2=high*360/100;     medium2=medium*360/100;     low2=low*360/100;     no2=no*360/100;          low3=high2+medium2;     no3=low3+low2;               g.setColor(Color.red);     g.fillArc(100,100,200,200,0,(int)high2);     g.setColor(Color.blue);     g.fillArc(100,100,200,200,(int)high2,(int)medium2);     g.setColor(Color.green);     g.fillArc(100,100,200,200,(int)low3,(int)low2);     g.setColor(Color.pink);     g.fillArc(100,100,200,200,(int)no3,(int)no2);     }     }          public void init(){          draw=new Button("Draw pie chart");     reset=new Button("Reset");     thigh=new TextField("",10);     tmedium=new TextField("",10);     tlow=new TextField("",10);     tno=new TextField("",10);     l1=new Label("High Risk  :$");     l2=new Label("Medium Risk:$");     l3=new Label("Low Risk   :$");     l4=new Label("No Risk    :$");     banner=new Label("Welcome");           add(banner);           add(l1);     add(thigh);          add(l2);     add(tmedium);     add(l3);     add(tlow);     add(l4);     add(tno);                         add(draw);     add(reset);                   draw.setActionCommand("Draw");     draw.addActionListener(this);        reset.setActionCommand("Reset");     reset.addActionListener(this);     }          public void actionPerformed(ActionEvent e){          if(e.getActionCommand() == "Draw") {               something="in";               repaint();                    } else if(e.getActionCommand()== "Reset") {               something="";               thigh.setText("");               tmedium.setText("");               tlow.setText("");               tno.setText("");               repaint();          }     }}

    <code>
    import java.applet.*;
    import java.text.*;
    import java.awt.*;
    import java.awt.event.*;
    import java.awt.Graphics;
    public class x2 extends Applet implements ActionListener {
         private Button draw, reset;
         private TextField thigh, tmedium, tlow, tno;
         private Label banner, l1, l2, l3, l4;
         double rhigh,rmedium,rlow,rno;
         double high, medium, low, no, total, high2=0, medium2=0, low2=0, no2=0,low3, no3;
         String something="";
         public void paint(Graphics g) {
              setBackground(Color.white);
              if(something=="in"){
                   try {
                        rhigh=Double.parseDouble(thigh.getText());
                        rmedium=Double.parseDouble(tmedium.getText());
                        rlow=Double.parseDouble(tlow.getText());
                        rno=Double.parseDouble(tno.getText());
                   catch (NumberFormatException nfe) { }
                   total=rhigh+rmedium+rlow+rno; high=(rhigh/total)*100;
                   medium=(rmedium/total)*100;
                   low=(rlow/total)*100;
                   no=(rno/total)*100;
                   high2=high*360/100;
                   medium2=medium*360/100;
                   low2=low*360/100;
                   no2=no*360/100;
                   low3=high2+medium2;
                   no3=low3+low2;
                   g.setColor(Color.red);
                   g.fillArc(100,100,200,200,0,(int)high2);
                   g.setColor(Color.blue);
                   g.fillArc(100,100,200,200,(int)high2,(int)medium2);
                   g.setColor(Color.green);
                   g.fillArc(100,100,200,200,(int)low3,(int)low2);
                   g.setColor(Color.pink);
                   g.fillArc(100,100,200,200,(int)no3,(int)no2);
         public void init(){
              draw=new Button("Draw pie chart");
              reset=new Button("Reset");
              thigh=new TextField("",10);
              tmedium=new TextField("",10);
              tlow=new TextField("",10);
              tno=new TextField("",10);
              l1=new Label("High Risk :$");
              l2=new Label("Medium Risk:$");
              l3=new Label("Low Risk :$");
              l4=new Label("No Risk :$");
              banner=new Label("Welcome");
              add(banner);
              add(l1);
              add(thigh);
              add(l2);
              add(tmedium);
              add(l3);
              add(tlow);
              add(l4);
              add(tno);
              add(draw);
              add(reset);
              draw.setActionCommand("Draw");
              draw.addActionListener(this);
              reset.setActionCommand("Reset");
              reset.addActionListener(this);
         public void actionPerformed(ActionEvent e) {
              if(e.getActionCommand() == "Draw") {
                   something="in";
                   repaint();
              } else if(e.getActionCommand()== "Reset") {
                   something="";
                   thigh.setText("");
                   tmedium.setText("");
                   tlow.setText("");
                   tno.setText("");
                   repaint();
    </code>

  • Is Apple allow core plot framework to draw Pie chart in iPhone application?

    Is Apple allow core plot framework to draw Pie chart in iPhone application?
    http://code.google.com/p/core-plot/wiki/AppsUsingCorePlot

    Wrong forum. Ask in the developer's forum.

  • Drawing pie charts

    ive constructed a pie chart using fillArc's but i want my arcs to have a border.
    how could i achieve this and make it look good.
    also, is their any way i could make diagnol lines not so jaggedy.
    cheers

    ive constructed a pie chart using fillArc's but i want
    my arcs to have a border.
    how could i achieve this and make it look good.Use Graphics2D methods:
    void draw(Shape shape) //Stroke border around shape
    void fill(Shape shape) //Fill interior of shape>
    also, is their any way i could make diagnol lines not
    so jaggedy.Antialiasing blurs jaggies. Here's how to set the rendering hint of a Graphics2D object to do this:
    g2.setRenderingHint(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON);Unless you're just dabbling in the 2D API, it's a good idea to buy a book on it. Jonathan Knudsen's "Java 2D Graphics" (O'Reilly) is an easy introduction.
    --Paul

  • Urgent! Drawing Pie Chart

    Hi , i am trying to produce a pie chart to display the data I have. Is anyone have an example (simple code) on how a pie chart can be drawn?
    Thank you very much.

    Search this forum for "JFreeChart". I'm surprised that Dave Gilbert hasn't responded to this already. There was a time where he was posting links to his project thick and fast...

  • Pie chart using Class cl_igs_chart ??

    Hi All,
    I am looking for Sample code, how to draw Pie chart using standard class: cl_igs_chart.
    I found a Standard SAP prog: GRAPHICS_IGS_CHART_TEST for drawing Bar chart, looking for pie chart now?
    Please help me!!
    Thanks in advance.

    Hi,
    if you want to create charts in the background using the IGS is the right choice!
    Let's have a look at cl_igs_chart:
    creating a pie chart can be done easily by changing the demo report graphics_igs_chart_test; just change the line
    igs_chart->type = cl_igs_chart=>co_type_bars.
    by replacing co_type_bars with co_type_pie (check the attributes of cl_igs_chart to see a list of chart types).
    However, as cl_igs_chart does not provide further customizing settings I recommend that you download the SAP Chart Designer (as mentioned above) and use the class cl_igs_chart_engine instead. Demo report is graphics_igs_ce_test.
    Regards, Kai

  • Need help on Pie chart

    Please check the xml given here. My requirement is as
    group1 on M_KOG3_conc (split by page break)
    - group2 on MARKT_LINE_CONC
    - pie chart showing % of QTY_TIRE_SO_FTP with respect to S2_SEGMENT2(condition:S2_SEGMENT2 not null)
    - end of group2
    end of group1
    I tried with creating two groups on M_KOG3_CONC then by MARKT_LINE_CONC outside the chart, conditional region for S2_Segment2!='' and in pie chart used value=QTY_TIRE_SO_FTP and label=S2_SEGMENT2; checked 'Group Data' option, 'chart is inside group' option, but it is coming blank in preview.
    <?xml version="1.0" encoding="UTF-8" ?>
    <DataSet>
    <ROW>
    <M_KOG3_CONC>574: CHARTERWAY</M_KOG3_CONC>
    <MARKT_LINE_CONC>R02: CES - New Tire</MARKT_LINE_CONC>
    <S2_SEGMENT2>CP20: Corporate PKW</S2_SEGMENT2>
    <RIM_IN_INCH>15</RIM_IN_INCH>
    <QTY_TIRE_SO_FTP>2415</QTY_TIRE_SO_FTP>
    <SHARE_FITTED_TIRE>3.96226415094339622641509433962264150943E-01</SHARE_FITTED_TIRE>
    <POLICY_FITTMENT_FTP>1</POLICY_FITTMENT_FTP>
    </ROW>
    <ROW>
    <M_KOG3_CONC>574: CHARTERWAY</M_KOG3_CONC>
    <MARKT_LINE_CONC>R02: CES - New Tire</MARKT_LINE_CONC>
    <S2_SEGMENT2>CP20: Corporate PKW</S2_SEGMENT2>
    <RIM_IN_INCH>16</RIM_IN_INCH>
    <QTY_TIRE_SO_FTP>1442</QTY_TIRE_SO_FTP>
    <SHARE_FITTED_TIRE>2.36587366694011484823625922887612797375E-01</SHARE_FITTED_TIRE>
    <POLICY_FITTMENT_FTP>1</POLICY_FITTMENT_FTP>
    </ROW>
    <ROW>
    <M_KOG3_CONC>574: CHARTERWAY</M_KOG3_CONC>
    <MARKT_LINE_CONC>R02: CES - New Tire</MARKT_LINE_CONC>
    <S2_SEGMENT2>CP20: Corporate PKW</S2_SEGMENT2>
    <RIM_IN_INCH>17</RIM_IN_INCH>
    <QTY_TIRE_SO_FTP>10</QTY_TIRE_SO_FTP>
    <SHARE_FITTED_TIRE>1.64068908941755537325676784249384741592E-03</SHARE_FITTED_TIRE>
    <POLICY_FITTMENT_FTP>1</POLICY_FITTMENT_FTP>
    </ROW>
    <ROW>
    <M_KOG3_CONC>574: CHARTERWAY</M_KOG3_CONC>
    <MARKT_LINE_CONC>R02: CES - New Tire</MARKT_LINE_CONC>
    <S2_SEGMENT2>CP20: Corporate PKW</S2_SEGMENT2>
    <RIM_IN_INCH />
    <QTY_TIRE_SO_FTP>3867</QTY_TIRE_SO_FTP>
    <SHARE_FITTED_TIRE>6.34454470877768662838392124692370795734E-01</SHARE_FITTED_TIRE>
    <POLICY_FITTMENT_FTP>1</POLICY_FITTMENT_FTP>
    </ROW>
    <ROW>
    <M_KOG3_CONC>574: CHARTERWAY</M_KOG3_CONC>
    <MARKT_LINE_CONC>R02: CES - New Tire</MARKT_LINE_CONC>
    <S2_SEGMENT2>CP22: Competitor PKW</S2_SEGMENT2>
    <RIM_IN_INCH>15</RIM_IN_INCH>
    <QTY_TIRE_SO_FTP>576</QTY_TIRE_SO_FTP>
    <SHARE_FITTED_TIRE>9.45036915504511894995898277276456111567E-02</SHARE_FITTED_TIRE>
    <POLICY_FITTMENT_FTP>2.60416666666666666666666666666666666667E-02</POLICY_FITTMENT_FTP>
    </ROW>
    <ROW>
    <M_KOG3_CONC>574: CHARTERWAY</M_KOG3_CONC>
    <MARKT_LINE_CONC>R02: CES - New Tire</MARKT_LINE_CONC>
    <S2_SEGMENT2>CP22: Competitor PKW</S2_SEGMENT2>
    <RIM_IN_INCH>16</RIM_IN_INCH>
    <QTY_TIRE_SO_FTP>235</QTY_TIRE_SO_FTP>
    <SHARE_FITTED_TIRE>3.8556193601312551271534044298605414274E-02</SHARE_FITTED_TIRE>
    <POLICY_FITTMENT_FTP>1.82978723404255319148936170212765957447E-01</POLICY_FITTMENT_FTP>
    </ROW>
    <ROW>
    <M_KOG3_CONC>574: CHARTERWAY</M_KOG3_CONC>
    <MARKT_LINE_CONC>R02: CES - New Tire</MARKT_LINE_CONC>
    <S2_SEGMENT2>CP22: Competitor PKW</S2_SEGMENT2>
    <RIM_IN_INCH />
    <QTY_TIRE_SO_FTP>811</QTY_TIRE_SO_FTP>
    <SHARE_FITTED_TIRE>1.33059885151763740771123872026251025431E-01</SHARE_FITTED_TIRE>
    <POLICY_FITTMENT_FTP>7.15166461159062885326757090012330456227E-02</POLICY_FITTMENT_FTP>
    </ROW>
    <ROW>
    <M_KOG3_CONC>574: CHARTERWAY</M_KOG3_CONC>
    <MARKT_LINE_CONC>R02: CES - New Tire</MARKT_LINE_CONC>
    <S2_SEGMENT2>CT10: Corporate LKW</S2_SEGMENT2>
    <RIM_IN_INCH>17.5</RIM_IN_INCH>
    <QTY_TIRE_SO_FTP>327</QTY_TIRE_SO_FTP>
    <SHARE_FITTED_TIRE>5.36505332239540607054963084495488105004E-02</SHARE_FITTED_TIRE>
    <POLICY_FITTMENT_FTP>1</POLICY_FITTMENT_FTP>
    </ROW>
    <ROW>
    <M_KOG3_CONC>574: CHARTERWAY</M_KOG3_CONC>
    <MARKT_LINE_CONC>R02: CES - New Tire</MARKT_LINE_CONC>
    <S2_SEGMENT2>CT10: Corporate LKW</S2_SEGMENT2>
    <RIM_IN_INCH>19.5</RIM_IN_INCH>
    <QTY_TIRE_SO_FTP>350</QTY_TIRE_SO_FTP>
    <SHARE_FITTED_TIRE>5.7424118129614438063986874487284659557E-02</SHARE_FITTED_TIRE>
    <POLICY_FITTMENT_FTP>1</POLICY_FITTMENT_FTP>
    </ROW>
    <ROW>
    <M_KOG3_CONC>574: CHARTERWAY</M_KOG3_CONC>
    <MARKT_LINE_CONC>R02: CES - New Tire</MARKT_LINE_CONC>
    <S2_SEGMENT2>CT10: Corporate LKW</S2_SEGMENT2>
    <RIM_IN_INCH>20</RIM_IN_INCH>
    <QTY_TIRE_SO_FTP>6</QTY_TIRE_SO_FTP>
    <SHARE_FITTED_TIRE>9.84413453650533223954060705496308449549E-04</SHARE_FITTED_TIRE>
    <POLICY_FITTMENT_FTP>1</POLICY_FITTMENT_FTP>
    </ROW>
    <ROW>
    <M_KOG3_CONC>574: CHARTERWAY</M_KOG3_CONC>
    <MARKT_LINE_CONC>R02: CES - New Tire</MARKT_LINE_CONC>
    <S2_SEGMENT2>CT10: Corporate LKW</S2_SEGMENT2>
    <RIM_IN_INCH>22.5</RIM_IN_INCH>
    <QTY_TIRE_SO_FTP>480</QTY_TIRE_SO_FTP>
    <SHARE_FITTED_TIRE>7.87530762920426579163248564397046759639E-02</SHARE_FITTED_TIRE>
    <POLICY_FITTMENT_FTP>1</POLICY_FITTMENT_FTP>
    </ROW>
    <ROW>
    <M_KOG3_CONC>574: CHARTERWAY</M_KOG3_CONC>
    <MARKT_LINE_CONC>R02: CES - New Tire</MARKT_LINE_CONC>
    <S2_SEGMENT2>CT10: Corporate LKW</S2_SEGMENT2>
    <RIM_IN_INCH />
    <QTY_TIRE_SO_FTP>1163</QTY_TIRE_SO_FTP>
    <SHARE_FITTED_TIRE>1.90812141099261689909762100082034454471E-01</SHARE_FITTED_TIRE>
    <POLICY_FITTMENT_FTP>1</POLICY_FITTMENT_FTP>
    </ROW>
    <ROW>
    <M_KOG3_CONC>574: CHARTERWAY</M_KOG3_CONC>
    <MARKT_LINE_CONC>R02: CES - New Tire</MARKT_LINE_CONC>
    <S2_SEGMENT2>CT12: Competitor LKW</S2_SEGMENT2>
    <RIM_IN_INCH>16</RIM_IN_INCH>
    <QTY_TIRE_SO_FTP>39</QTY_TIRE_SO_FTP>
    <SHARE_FITTED_TIRE>6.39868744872846595570139458572600492207E-03</SHARE_FITTED_TIRE>
    <POLICY_FITTMENT_FTP>0</POLICY_FITTMENT_FTP>
    </ROW>
    <ROW>
    <M_KOG3_CONC>574: CHARTERWAY</M_KOG3_CONC>
    <MARKT_LINE_CONC>R02: CES - New Tire</MARKT_LINE_CONC>
    <S2_SEGMENT2>CT12: Competitor LKW</S2_SEGMENT2>
    <RIM_IN_INCH>17</RIM_IN_INCH>
    <QTY_TIRE_SO_FTP>2</QTY_TIRE_SO_FTP>
    <SHARE_FITTED_TIRE>3.28137817883511074651353568498769483183E-04</SHARE_FITTED_TIRE>
    <POLICY_FITTMENT_FTP>0</POLICY_FITTMENT_FTP>
    </ROW>
    <ROW>
    <M_KOG3_CONC>574: CHARTERWAY</M_KOG3_CONC>
    <MARKT_LINE_CONC>R02: CES - New Tire</MARKT_LINE_CONC>
    <S2_SEGMENT2>CT12: Competitor LKW</S2_SEGMENT2>
    <RIM_IN_INCH>17.5</RIM_IN_INCH>
    <QTY_TIRE_SO_FTP>54</QTY_TIRE_SO_FTP>
    <SHARE_FITTED_TIRE>8.85972108285479901558654634946677604594E-03</SHARE_FITTED_TIRE>
    <POLICY_FITTMENT_FTP>3.7037037037037037037037037037037037037E-02</POLICY_FITTMENT_FTP>
    </ROW>
    <ROW>
    <M_KOG3_CONC>574: CHARTERWAY</M_KOG3_CONC>
    <MARKT_LINE_CONC>R02: CES - New Tire</MARKT_LINE_CONC>
    <S2_SEGMENT2>CT12: Competitor LKW</S2_SEGMENT2>
    <RIM_IN_INCH>19.5</RIM_IN_INCH>
    <QTY_TIRE_SO_FTP>20</QTY_TIRE_SO_FTP>
    <SHARE_FITTED_TIRE>3.28137817883511074651353568498769483183E-03</SHARE_FITTED_TIRE>
    <POLICY_FITTMENT_FTP>0</POLICY_FITTMENT_FTP>
    </ROW>
    <ROW>
    <M_KOG3_CONC>574: CHARTERWAY</M_KOG3_CONC>
    <MARKT_LINE_CONC>R02: CES - New Tire</MARKT_LINE_CONC>
    <S2_SEGMENT2>CT12: Competitor LKW</S2_SEGMENT2>
    <RIM_IN_INCH>22.5</RIM_IN_INCH>
    <QTY_TIRE_SO_FTP>58</QTY_TIRE_SO_FTP>
    <SHARE_FITTED_TIRE>9.51599671862182116488925348646431501231E-03</SHARE_FITTED_TIRE>
    <POLICY_FITTMENT_FTP>0</POLICY_FITTMENT_FTP>
    </ROW>
    <ROW>
    <M_KOG3_CONC>574: CHARTERWAY</M_KOG3_CONC>
    <MARKT_LINE_CONC>R02: CES - New Tire</MARKT_LINE_CONC>
    <S2_SEGMENT2>CT12: Competitor LKW</S2_SEGMENT2>
    <RIM_IN_INCH />
    <QTY_TIRE_SO_FTP>173</QTY_TIRE_SO_FTP>
    <SHARE_FITTED_TIRE>2.83839212469237079573420836751435602953E-02</SHARE_FITTED_TIRE>
    <POLICY_FITTMENT_FTP>1.15606936416184971098265895953757225434E-02</POLICY_FITTMENT_FTP>
    </ROW>
    <ROW>
    <M_KOG3_CONC>574: CHARTERWAY</M_KOG3_CONC>
    <MARKT_LINE_CONC>R02: CES - New Tire</MARKT_LINE_CONC>
    <S2_SEGMENT2 />
    <RIM_IN_INCH />
    <QTY_TIRE_SO_FTP>6014</QTY_TIRE_SO_FTP>
    <SHARE_FITTED_TIRE>9.86710418375717801476620180475799835931E-01</SHARE_FITTED_TIRE>
    <POLICY_FITTMENT_FTP>8.46358496840705021616228799467908214167E-01</POLICY_FITTMENT_FTP>
    </ROW>
    <ROW>
    <M_KOG3_CONC>574: CHARTERWAY</M_KOG3_CONC>
    <MARKT_LINE_CONC>R03: CES - Retreads</MARKT_LINE_CONC>
    <S2_SEGMENT2>CT11: Corporate RE LKW</S2_SEGMENT2>
    <RIM_IN_INCH>22.5</RIM_IN_INCH>
    <QTY_TIRE_SO_FTP>13</QTY_TIRE_SO_FTP>
    <SHARE_FITTED_TIRE>2.13289581624282198523379819524200164069E-03</SHARE_FITTED_TIRE>
    <POLICY_FITTMENT_FTP>1</POLICY_FITTMENT_FTP>
    </ROW>
    <ROW>
    <M_KOG3_CONC>574: CHARTERWAY</M_KOG3_CONC>
    <MARKT_LINE_CONC>R03: CES - Retreads</MARKT_LINE_CONC>
    <S2_SEGMENT2>CT11: Corporate RE LKW</S2_SEGMENT2>
    <RIM_IN_INCH />
    <QTY_TIRE_SO_FTP>13</QTY_TIRE_SO_FTP>
    <SHARE_FITTED_TIRE>2.13289581624282198523379819524200164069E-03</SHARE_FITTED_TIRE>
    <POLICY_FITTMENT_FTP>1</POLICY_FITTMENT_FTP>
    </ROW>
    <ROW>
    <M_KOG3_CONC>574: CHARTERWAY</M_KOG3_CONC>
    <MARKT_LINE_CONC>R03: CES - Retreads</MARKT_LINE_CONC>
    <S2_SEGMENT2>CT13: Competitor RE LKW</S2_SEGMENT2>
    <RIM_IN_INCH>17.5</RIM_IN_INCH>
    <QTY_TIRE_SO_FTP>29</QTY_TIRE_SO_FTP>
    <SHARE_FITTED_TIRE>4.75799835931091058244462674323215750615E-03</SHARE_FITTED_TIRE>
    <POLICY_FITTMENT_FTP>0</POLICY_FITTMENT_FTP>
    </ROW>
    <ROW>
    <M_KOG3_CONC>574: CHARTERWAY</M_KOG3_CONC>
    <MARKT_LINE_CONC>R03: CES - Retreads</MARKT_LINE_CONC>
    <S2_SEGMENT2>CT13: Competitor RE LKW</S2_SEGMENT2>
    <RIM_IN_INCH>19.5</RIM_IN_INCH>
    <QTY_TIRE_SO_FTP>18</QTY_TIRE_SO_FTP>
    <SHARE_FITTED_TIRE>2.95324036095159967186218211648892534865E-03</SHARE_FITTED_TIRE>
    <POLICY_FITTMENT_FTP>0</POLICY_FITTMENT_FTP>
    </ROW>
    <ROW>
    <M_KOG3_CONC>574: CHARTERWAY</M_KOG3_CONC>
    <MARKT_LINE_CONC>R03: CES - Retreads</MARKT_LINE_CONC>
    <S2_SEGMENT2>CT13: Competitor RE LKW</S2_SEGMENT2>
    <RIM_IN_INCH>22.5</RIM_IN_INCH>
    <QTY_TIRE_SO_FTP>21</QTY_TIRE_SO_FTP>
    <SHARE_FITTED_TIRE>3.44544708777686628383921246923707957342E-03</SHARE_FITTED_TIRE>
    <POLICY_FITTMENT_FTP>0</POLICY_FITTMENT_FTP>
    </ROW>
    <ROW>
    <M_KOG3_CONC>574: CHARTERWAY</M_KOG3_CONC>
    <MARKT_LINE_CONC>R03: CES - Retreads</MARKT_LINE_CONC>
    <S2_SEGMENT2>CT13: Competitor RE LKW</S2_SEGMENT2>
    <RIM_IN_INCH />
    <QTY_TIRE_SO_FTP>68</QTY_TIRE_SO_FTP>
    <SHARE_FITTED_TIRE>1.11566858080393765381460213289581624282E-02</SHARE_FITTED_TIRE>
    <POLICY_FITTMENT_FTP>0</POLICY_FITTMENT_FTP>
    </ROW>
    <ROW>
    <M_KOG3_CONC>574: CHARTERWAY</M_KOG3_CONC>
    <MARKT_LINE_CONC>R03: CES - Retreads</MARKT_LINE_CONC>
    <S2_SEGMENT2 />
    <RIM_IN_INCH />
    <QTY_TIRE_SO_FTP>81</QTY_TIRE_SO_FTP>
    <SHARE_FITTED_TIRE>1.32895816242821985233798195242001640689E-02</SHARE_FITTED_TIRE>
    <POLICY_FITTMENT_FTP>1.60493827160493827160493827160493827161E-01</POLICY_FITTMENT_FTP>
    </ROW>
    <ROW>
    <M_KOG3_CONC>574: CHARTERWAY</M_KOG3_CONC>
    <MARKT_LINE_CONC />
    <S2_SEGMENT2 />
    <RIM_IN_INCH />
    <QTY_TIRE_SO_FTP>6095</QTY_TIRE_SO_FTP>
    <SHARE_FITTED_TIRE>1</SHARE_FITTED_TIRE>
    <POLICY_FITTMENT_FTP>8.37243642329778506972928630024610336341E-01</POLICY_FITTMENT_FTP>
    </ROW>
    </DataSet>
    Please tell me the steps if it is possible through wizard or give me the xsl if wizard is not sufficient.
    Kind Regards.

    Found this by searching for PieChart in this forum: drawing pie charts.

  • How to draw a simple pie chart?

    I want to draw a simple pie chart.
    I was wondering whether there already exists a method to allow me to do that in SDK 1.4.2. I saw on the net a method getPieChart( ).
    Do you know if its incorporated in SDK1.4.2 and how to draw the pie chart using this method. Can anybody guide me?
    Thanks.

    Have a look in your demos folder in your SDK, for example:
    C:\j2sdk1.4.2_04\demo\applets\GraphicsTest

  • Drawing a Pie Chart

    HI,
    does Java has any class for most common forms of graphs.. like
    pie chart, bar chart etc...
    thanx in advance

    does Java has any class for most common forms of
    graphs.. like
    pie chart, bar chart etc...JFreeChart is a popular Open Source library for generating these types of charts. You can find out more about JFreeChart at:
    http://www.object-refinery.com/jfreechart/index.html
    Regards,
    Dave Gilbert
    JFreeChart Project Leader

  • Need help to make a Pie Chart

    I am trying to draw a pie chart for the Uptime Report.
    I have the Following table definition.
    create table downtime_detail ( env_code number, down_start date, down_end date );
    insert into downtime_detail values (1,to_date('26-JAN-2008 02:00:00','DD-MON-YYYY HH24:MI:SS'),to_date('26-JAN-2008 03:00:00','DD-MON-YYYY HH24:MI:SS') );
    insert into downtime_detail values (2,to_date('26-JAN-2008 02:00:00','DD-MON-YYYY HH24:MI:SS'),to_date('26-JAN-2008 03:00:00','DD-MON-YYYY HH24:MI:SS') );
    insert into downtime_detail values (2,to_date('01-FEB-2008 02:00:00','DD-MON-YYYY HH24:MI:SS'),to_date('03-FEB-2008 03:00:00','DD-MON-YYYY HH24:MI:SS') );
    insert into downtime_detail values (2,to_date('15-FEB-2008 02:00:00','DD-MON-YYYY HH24:MI:SS'),to_date('15-FEB-2008 03:00:00','DD-MON-YYYY HH24:MI:SS') );
    insert into downtime_detail values (2,to_date('26-FEB-2008 02:00:00','DD-MON-YYYY HH24:MI:SS'),to_date('28-FEB-2008 03:00:00','DD-MON-YYYY HH24:MI:SS') );
    Now the Below Query returns me the values val1 and val2 on the basis of which I need to draw a Pie Chart.
    ==========================================================
    select round((DOWN/TOTAL)*100,2) val1 , round(100-((DOWN/TOTAL)*100),2) val2
    from
         (select sum((DOWN_END - DOWN_START)*24) DOWN from DOWNTIME_DETAIL where ENV_CODE=2 ) a ,
         (select ((sysdate - to_date('01-JAN-2008','DD-MON-YYYY')) * 24) TOTAL from dual ) b
    VAL1 VAL2
    3.64 96.36
    ==========================================================
    Can someone help me try do this ?
    Actually I tried but I couldnt put my custom query to get this Pie chart. Or if there is any other better approach please let me know.

    nikhilskamik,
    I believe all that you are missing in your sql is a NULL. Below is the help text for creating a Flash pie chart.
    Specify the SQL query that will populate your chart, for example:
    select null, ename, sal
    from emp
    Alternatively you can write a PL/SQL function return a SQL query, for example:
    begin
    return 'select null, ename, sal from emp';
    end;
    Your query should then read:
    select null,round((DOWN/TOTAL)*100,2) val1 , round(100-((DOWN/TOTAL)*100),2) val2
    from
    (select sum((DOWN_END - DOWN_START)*24) DOWN from DOWNTIME_DETAIL where ENV_CODE=2 ) a ,
    (select ((sysdate - to_date('01-JAN-2008','DD-MON-YYYY')) * 24) TOTAL from dual ) b
    Jeff

  • I just want to make a pie chart

    I've been assigned to make a pie chart in class (with each section a different color), and I've loaded the javax.swing.JApplet and java.awt.*
    I've only gotten as far as drawing the circle. I know how to create lines, but I can't figure out what I'm supposed to do to fill in the sections of the pie chart with different colors.
    Could anyone help me with this simple project? Like what method I should look at?

    Have you looked at the link?
    public abstract void fillArc(int x,
                                 int y,
                                 int width,
                                 int height,
                                 int startAngle,
                                 int arcAngle)So, let us guess at how to draw a circle, and 300 x 400, Mmm the x would be 300, and the y 400. It wants to have a radius of 100px, so thats the width & hieght sorted. Do you want it to be a complete circle? If so that is from 0-360 degrees . So that is the start & end angle.
    Actually, do you know draw to the screen?
    http://java.sun.com/docs/books/tutorial/2d/index.html

  • How to show negative value in Pie Chart from Webi?

    I have below example data, I want to convert this to a pie chart in Web Intelligence, my problem is after I convert it to a pie chart, the revenue '-30' is shown as '30', looks like the pie chart is not suppor the negative value to show, I want to know if there is any workaround or solution to make the pie chart to show the negative value? Is this behavior is by design? do we have any official document to explain this?
    The product I used is BOE XI 3.1 SP3.
    Department    Revenue
    A                      100
    B                       -30
    C                        80
    Edited by: Alex Wang on Jul 13, 2010 5:51 PM

    Why are you showing this information as a pie chart? It doesn't make sense to try and display a negative slice in a pie chart. I can't really think of a logical way to try and draw a negative slice in a pie chart. With a pie chart you will need all your information to either all be positive or all negative, otherwise it doesn't work.
    What you need is to have a bar chart, with positive and negative values on the y axis.

  • Pie chart problem with label!

    Hello,
    I found this example of pie chart, I tried to use several pie charts but the label square move in some chart. It shows the square moved down when it uses the vi.
    I attached the example with 4 pie charts and sometimes it show the 4 sqaures and sometimes down one. Any way to fit it?.
    I would like to see some example with 3d pie chart. Do you know any example?.
    Thanks in advance!.
    Fred
    Solved!
    Go to Solution.
    Attachments:
    Pie Charts.vi ‏25 KB
    PieCreateChart.vi ‏13 KB

    Sorry guys!. i got it.
    Changing the first time call to comparison of For Loop = 0, so always start with the value fixed to draw the square.
    Thanks.

  • Pie Chart in JSP

    Hi
    I want to create a Pie Chart in JSP. The data will come from Oracle Database. I am not very good with managing big open source projects like Cewolf to draw charts. Is it possible to do this in the simplest way possible as I am not experienced in this technology.
    Please send me the link to the simplest way to do it or guide me.
    Thanks in advance.

    Thanks alot. The example shown works fine on my local
    machine where I have got TomCat but it does not work
    on my university server as they say they do not have
    graphics card on their server and therefore any
    java.awt or swing class can not be used on server sideSo I guess you have to use another server's capability, like the one in play-free-games.com, for example :
    http://www.play-free-games.com/webmasters/dynamic-piechart/dynamic-piechart.cfm

  • Overlay a graphic on a Pie Chart, & Rotate text in a Pie Chart

    Is it possible to overlay a graphic on a pie chart?
    I've tried manipulating the Wrap Inspector, but regardless, when I paste a graphic on topic it drops below the pie chart and deletes one segment of the pie.
    In a related pie chart question, is it possible to rotate the text to face into the central axis, think spokes in wheel (vs. the default horizontal). I can rotate the pie chart in about 3 dif. inspectors, but no luck here...and my texts is just a little too long to fit nicely in the default (and too hard to read if I reduce the font size).
    Thanks

    I assume you want to have a graphic that sits over the chart, and that you see the values underneath? Something like a shine, worn texture or logo?
    If you are wondering what happened to your particular 'missing slice' open the Graph inspector and select that section. Chances are you have changed the tiled image which was assigned to that particular piece of the pie chart.
    To overlay a graphic, draw a circle shape. In the graphics inspector assign an image fill to that shape. Choose tiled or scale to fit as required (a png. file with transparencies will show the underlying values, as will setting the opacity of the circle)
    Turn the wrap off for the circle (It sounds like your pie chart may be set to 'moves with text' instead of 'locked to page') And then place it overtop of the pie chart. Resize to fit. Since this is now 'locked to page' and above the pie chart, any movement of the pie chart means you will have to reorient your overlay. To avoid this, set the pie chart to Locked to Page as well.
    At this point you can set the wrap for the pie chart so the text moves around it if you like. Your overlay and the pie chart will remain in sync if they are both fixed to page.
    Regarding your text question, no. You can't set that. What you can do is use a numerical, letter or symbolic value and include a legend manually to indicate the true names of the portions using a text box.
    (I've seen someone with a pie chart whose segments were labeled with seven words, the last two of which were the only ones that changed. I suggested using the unchanging portion as the graph title and the changing portion as the individual slices. Not sure if that would apply to your project.)

Maybe you are looking for

  • Keyword management - how do you move keywords up one level?

    How do you move keywords up one level in the hierarchy? Sometimes when working quickly, keywords and subgroups of keywords get inadvertently highlighted and moved as a child under another keyword or group. I can't figure out how to move them back out

  • AxAcroPDFLib.AxAcroPDF fails with MS Visual Studio Pro 2013

    Hello. I'm using MS Visual Studio Professional 2013 (Version 12.0.30501.00 Update 2) and MS .NET Framework Version 4.5.50938. I also have installed in my system (Windows 7 Home Premium - Service Pack 1) the Adobe Reader XI Version 11.0.07. Before 3 m

  • How do you set up "debug kernel"

    How do you set up debug kernel with solaris 10. ?

  • Newbee question (first of many though)

    As soon as I can break through the initial intimidation I hope to begin learning Lightroom and cataloging my 15k+ images.  Before I dive in though I'd like to begin with a handful of images and see how the program and my workflow (to be determined) w

  • Can i exclude apdb files from Backblaze backup?

    Beside TimeMachine i also use Backblaze as a cloud backup solution, it works perfectly so far. I have noticed that Backblaze correctly backups all Aperture data, even small changes in the APDB Databased are recognized and Backblaze immediately backup