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.)

Similar Messages

  • Overlay Drop Down Links/Rotating Text Over Graphic/Background

    I am fairly new to DW and am currently using Dreamweaver CS4. I would like to overlay drop down links and rotating text over a graphic image/background and am curious as to how this would best be accomplished. Is each piece; background/graphic, drop down links and rotating text a different layer? Can this type of thing be created using just DW or do I need Flash or something else? Please let me know if I should provide an example on the web to illustrate what it is I am trying to do - I wasn't sure if it is permissible to post links to sites that you don't own or are affiliated with in some way.
    I don't expect to be spoon feed but getting pointed in the right direction on what to research would be a big help!

    Is each piece a different layer?
    Not necessary to put everything inside an APDiv or layer.
    The best advice I can offer is to build unstyled HTML content logically from top to bottom of page.  I know, plain HTML is ugly but that's OK.
    Then use CSS to add background images/colors, text/menu styles and alignment.  Use default CSS positioning (which is no positioning at all) and use margins, padding and floats to arrange elements where you want them.
    See sample CSS Layout: (view code to see how it's done)
    http://alt-web.com/TEMPLATES/I-page-with-floats.html
    Can this type of thing be created using just DW or do I need Flash or something else?
    If you can work with HTML, CSS, and JavaScript code, you can do everything you want in Dreamweaver.  Flash is certainly optional but many devices (iPhones...) don't support Flash.
    Start by learning the basics first, then DW will be much easier for you to use.
    HTML & CSS Tutorials - http://w3schools.com/
    Creating  your first website in DW CS4 -
    http://www.adobe.com/devnet/dreamweaver/articles/first_cs4_website_pt1.html
    Good luck,
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    www.alt-web.com/
    www.twitter.com/altweb
    www.alt-web.blogspot.com

  • On Pie chart rotation - the labels disappear

    I am using followig to rotate a pie chart:
    <mx:Rotate id="rotate" angleFrom="{angle-90}"
    angleTo="{angle}"
    target="{myChart}"/>
    private function rotateImage():void {
    rotate.end();
    angle += 90;
    rotate.play();
    <mx:PieChart id="myChart" dragEnabled="true"
    dragComplete="rotateImage()">
    So, when a user tries to drag the pie chart, the chart
    rotates. The
    chart rotates fine but the labels disappear? why would this
    happen and
    any solution to this.
    Also, I would like to use some other event for rotation
    instead of
    dragComplet. I would like to do it when user clicks left
    mouse
    button+moves the mouse (both on the outside of the chart)
    Any suggetions?
    Thanks in advance.

    Are your fonts embedded? Rotating non-embedded fonts makes
    text disappear during rotation.

  • 3-D Pie Chart Rotation.

    Can anybody please let me know how to rotate a 3-D Pie Chart created using Espress Charts API ? I looked through the API and found a method called 'setRotationAngle'. But this method only the rotates though the individual pie slices, and does not rotate the Pie Chart as such ! Wud be really great if i can get some help on this.
    Thanks,
    -Santhi.

    Does that use Java3d, then? It doesn't say so?
    I would try asking Quadbase who sell the original api.

  • Pie Chart -- legend texts are cut (with "...")

    Hello Experts,
    when I*m using pie charts with displaying the legend, longer texts are cut (e.g.: "220/35V  60W yellow...")
    What can I do to show the complete text?
    Thanx a lot
    KR,
    Raimund

    Good Day Nics,
    the cuts are due to the size of the pie chart. you can resize your pie chart for the legends to show properly.
    Kindly tell me if im missing something.
    Regards,
    John Vincent

  • How to Rotate Text 90 Degree?

    I tried to rotate text so that it reads from bottom to
    top of the screen (vertically). How to do it?
    I tried w/ Graphics2D and AffineTransform class but fail.
    Here is my code:
    AffineTransform af = new AffineTransform(0.0, 1.0, 1.0,
    0.0, 0.0, 0.0);
    Graphics2D newg = (Graphics2D) g;
    g.setTransform(af);
    g.drawString("Rotated Text", 70.0f, 70.0f);
    Anybody do text rotation please post reply.
    Thanks!

    Turns out the bug still persists, and I post new Q on
    this forum. Please check it out.
    But here is the my entire code, if you would like to see
    and try:
    import javax.swing.DefaultCellEditor;
    import javax.swing.JScrollPane;
    import javax.swing.SwingConstants;
    import javax.swing.JPanel;
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import java.util.*;
    import java.text.NumberFormat;
    import java.text.DecimalFormat;
    import java.awt.Graphics2D;
    import java.awt.geom.AffineTransform;
    public class CompJFC
    static JFrame frame1;
    static final int cWidth = 500;
    static final int cHeight = 500;
    Object[] ctable = {"Usage Graph for Users",
    "Usage Graph for Servers",
    "Usage Graph for Appliances",
    "Top 20 Users (Last 30 Days)",
    "Top 20 Users (Last 60 Days)",
    "Top 20 Users (Last 90 Days)"};
    JComboBox ccombo = new JComboBox(ctable);
    JPanel panel1, panel2, panel3;
    JCanvas canvas;
    public class JCanvas extends JComponent
    Insets insideBorder;
    JCanvas()
    super();
    JCanvas(int cWidth, int cHeight)
    insideBorder = new Insets(cHeight-150, 50, 50, cWidth-60);
    public void paintComponent(Graphics g)
    super.paintComponent(g);
    Graphics2D g2 = (Graphics2D) g;
    AffineTransform af1 = g2.getTransform();
    int xp = insideBorder.left-35;
    int yp = insideBorder.top-100;
    AffineTransform af2 =
    AffineTransform.getRotateInstance(Math.toRadians(270), xp, yp);
    g2.setTransform(af2);
    g2.drawString("Number of Online Users", xp, yp);
    g2.setTransform(af1);
    public void AddComp()
    panel1 = new JPanel();
    panel1.add(ccombo);
    ccombo.addItemListener(new ItemListener()
    public void itemStateChanged(ItemEvent evt)
    String selected;
    panel2.remove(canvas);
    canvas = new JCanvas(cWidth, cHeight);
    panel2.add(canvas, BorderLayout.CENTER);
    panel2.repaint();
    frame1.setVisible(true);
    canvas = new JCanvas(cWidth, cHeight);
    panel2 = new JPanel(new BorderLayout());
    panel2.add(canvas, BorderLayout.CENTER);
    panel3 = new JPanel(new BorderLayout());
    panel3.add(panel1, BorderLayout.NORTH);
    panel3.add(panel2, BorderLayout.CENTER);
    JTabbedPane tpane = new JTabbedPane();
    tpane.addTab("Chart", panel3);
    frame1.getContentPane().add(tpane);
    public static void main(String args[])
    CompJFC jc = new CompJFC();
    frame1 = new JFrame("Swing GUI Exercise");
    frame1.setSize(cWidth, cHeight);
    frame1.setDefaultCloseOperation(frame1.EXIT_ON_CLOSE);
    frame1.getContentPane().setLayout(new BorderLayout());
    jc.AddComp();
    frame1.setVisible(true);

  • How can I fit the chart in the center of the chart item ??

    I created a chart item in the Form, in which the attached chart is created manually using Graphics. When I run the form, the OG.OPEN function is called and the chart is displayed. However, it can only show a part of it. I want to know how can it can be fit into the size of the chart item, so that the whole chart can be shown on the screen automatically. Thanks !!

    Dear bowiecpy
    Pls let me know how to do it Plz
    Regards Lakmal

  • How can i produce this type of line chart (yield curve) by using flex2 charting?

    help! I am a flex newcomer, how can i produce this type of
    line chart (yield curve) by using flex2 charting? Anybody can teach
    me how can i customize the width of each scales as below of line
    chart? anybody know this?
    Click
    Here To See

    I need to show the X and Y Co-ordinate in a message when I click on the graphic's point.
    thanks for the tips, I´ll try to understand the sample program.
    Noguti

  • How to rotate text

    I was told to restate my number's problem as I want to rotate text within a single cell. This is for grade book so the column label can be hidden along with other data.

    ohsster,
    I was also excited by iWorks, and I was planning to adopt it and try to wean myself from Office even before Numbers was announced. I figured I'd just use the Tables within Pages to do my spreadsheet functions, since all the same calculations are available there. After a month of working in iWork, it's obvious that it would be premature to un-install Office for Mac, but I'm still determined to make the switch and I believe that Apple will address the serious issues, like the speed problem, in short order. So, I'm still excited about being closer to shaking the Microsoft dependency.
    Regarding your application, I don't know how large and complicated your design is, but I encourage you to try my suggestion just to get a feel for working with references that span sheets and tables. This, to me, is much easier in Numbers than in Excel. I tried cross-sheet referencing in Excel years ago and found it too complicated, but in Numbers it is as simple as pie. You can build your second table in the same sheet as your first table if you want to keep things close together for that phase, and then just drag the new table to a new sheet when you're done with it. To make a cell in the destination table mirror the entry in the source table, simply type an = sign in the destination cell and then click on the source cell. To replicate the reference in the first destination cell across the first row, highlight that cell and drag the fill handle across the row. Then, with the filled row highlighted, drag the fill handle down the sheet to populate as many rows as you need. This whole process takes only a few seconds. Now you have a copy of the source table that can be independently formatted, labeled and printed after you move it to it's own sheet. This is the Numbers equivalent of setting a Print Area in Excel, except on steroids.
    I hope you don't give up!
    Jerry

  • Rotated text problem from Word picture into Framemaker 12

    problem copying a Microsoft Word picture with rotated text into Framemaker - the rotated text gets stacked (each letter is individually rotated)

    It's probably due to how Word defines the rotations for the text and FM's import filters handle it differently. It might be easier to re-create the words in FM if it's not too complex. Alternatively, save the page with the graphics from Word as PDF and then import the graphic from the PDF to FM (you can crop and/or trim as needed in Acrobat).

  • Rotate text using java 1.1

    Hi...i need to rotate text using only java 1.1...no Affine Transformations.
    Does anyone ever had to do this?
    Please give some ideas.
    Thanks.

    Hrm. You could always create an extension of Label's paint that provides the super method with a Graphics object and then, in your implementation, paint the rotation yourself...

  • Drawing rotated text revisited.....

    Hello again,
    I've recently started fiddling with an app that had a method to draw Strings at given Points on a custom JComponent, now I'm trying to extend it to draw the same strings, but throw in an angle should the user choose to do so. But... now here's the part thats foxing me, I want the Point specified to be the center of the String....., i've had a couple of goes, but as soon as the rotation comes in, it goes pair shaped (not literally ;-) , metaphorically).
    Here's some of the code I'm working on, feel free to point bad coding and glaringly obvious problems! I'm aware it doesn't quite do "exactly what it says on the tin", but its definitely a step in the right direction. It should work, but it doesn't. Thoughts anyone?
    /** Method to draw a text label to a specified graphics context.
         @param g2 The graphics context to draw to.
         @param text The label text to draw.
         @param font The font in which to draw the label.
         @param color The color of the label.
         @param angle The angle at which to draw , 0 = horizontal, 90 = vertical.
         @param position The Point at which to draw the label.*/
    public static void drawLabel(Graphics2D g2, String text, Font font, Color color, int angle, Point position)
    //get x,y coordinates from Point
    int x = new Double(position.getX()).intValue();
    int y = new Double(position.getY()).intValue();
    //rotate the point by the required angle
    x = (new Double((x*Math.cos(Math.toRadians(angle)))-(y*Math.sin(Math.toRadians(angle)))).intValue());
    y = (new Double((-x*Math.sin(Math.toRadians(angle)))+(y*Math.cos(Math.toRadians(angle)))).intValue());
    // get the current transform
    AffineTransform startMatrix = g2.getTransform();
    // make a new one...
    AffineTransform rotationMatrix = new AffineTransform();
    // set the text layout
    TextLayout tl = new TextLayout(text,font,g2.getFontRenderContext());
    // rotate the shiny new transform
    rotationMatrix.rotate(Math.toRadians(angle));
    // appy it to g2
    g2.transform(rotationMatrix);
    //set the color of the label
    g2.setPaint(color);
    //draw the label
    tl.draw(g2,x,y);
    //restore the transform for g2
    g2.setTransform(startMatrix);
    }Also I haven't sorted the drawing relative to the center of the string bit yet, so any advice on how to do this would be great.
    Cheers,
    Tom

    This is straightforward, once you understand transforms. I'm surprised no one's answered this yet. Here's an example:
    import java.awt.*;
    import java.awt.event.*;
    import java.awt.font.*;
    import java.awt.geom.*;
    public class TestRotate extends Frame {
        public static void main(String[] args) {
            new TestRotate().setVisible(true);
        private TestRotate() {
            super("Rotated Text");
            addWindowListener(new WindowAdapter() {
                    public void windowClosing(WindowEvent e) {
                        System.exit(0);
            setFont(new Font("default", Font.PLAIN, 24));
            setSize(300, 300);
        public void paint(Graphics g) {
            Graphics2D g2d = (Graphics2D)g;
            TextLayout layout = new TextLayout(
                "This is a string to rotate",
                g2d.getFont(),
                g2d.getFontRenderContext());
            Insets ins = getInsets();
            Dimension dim = getSize();
            Point center = new Point(
                ins.left + (dim.width - ins.left - ins.right) / 2,
                ins.top + (dim.height - ins.top - ins.bottom) / 2);
            g2d.translate(center.x, center.y);
            g2d.rotate(Math.PI / 4);
            layout.draw(g2d, -layout.getAdvance() / 2, 0);

  • Chart and text items are not synchron

    hi all,
    i am a newbie in apex 4.0.
    i have two regions. the first shows a chart, based on pl/sql-code. second shows text items for possible filter an the current statement of the chart.
    when user clicks on a bar in the chart then
    1. i set the the first text item as filter,
    2. a pl/sql-code runs, build a sql statement, assign the sql statement string to the second text item and
    3. returns the statement for the chart.
    it works fine. the chart refresh. and the data i can see are correct.
    but the text items in the other region doesn't refresh.
    when i press "refresh"-button at browser level everything is fine. chart and text items fits together.
    what can I do to refresh all regions when the chart changes the sql-statment / User clicks?
    Is there any way to read out the current statement of a chart?
    thx in advance
    jogi
    Edited by: Jogi on 09.05.2011 12:31

    Bernd: the reason I asked about views is that you don't have any error messages. This might indicate that (a) you have no items in the view, or (b) there's something wrong with view-role-user assignment.
    To check for (a), please go to the published procurement catalog, and go to Views tab. Check that your View is Active. Click on your View ID link to display view details. You should see a list of characteristics assigned to your view in Assign Characteristics sub-tab (the list should not be blank!). Go to Assign Items sub-tab. Navigate in your schema to find items that are supposed to be assigned to your view. You should see "Yes" in the "Assigned" column for those products. If you don't, then you simply don't have any items in your view.
    Another thing I'd like you to check: when the user calls your procurement catalog for search, do you see the name of the catalog displayed just below the drop-down "Select Categories Hierarchically"?
    Cheers,
    Serguei

  • How can I wrap text in a pie in pages?

    How can I wrap text in a pie in pages?

    If you need to insert text into a shape like a pie wedge, the easiest way might be to simply use the shape - freeform tool (at the bottom of the shape menu) and create a shape and type your text in it then place the shape over your pie wedge. The text within the shape should wrap - additional controls for text can be used with the Text Inspector.
    You can edit the actual shape with Format Object > Make Shape Editable option but unfortunately, you have an option to make straight or smooth curves, but not both, so you'll need to shape the object using smooth curves and use the the bezier controls that appear as you select a control point.

  • Missing rotated text in PDF created via FPDF

    Hi guys,
    I have a weird problem which is preventing some rotated text to be viewed in adobe reader, while every other reader like foxit, google pdf viewer and scrib are doing just fine!
    if you create a flyer using following link
    http://www.erupert.ca/classifieds/create_flyer/ad/32_1306248214
    the generated PDF displays just fine in google document viewer but if I download and open the same in Adobe reader the pull tab text (text rorated 90 degrees) vanish, again the PDF is just fine in foxit reader as well!
    What am I doing wrong, any ideas would be much appriciated.
    Also here is the code to rotate text I'm using by extending the FPDF class
    function Rotate($angle,$x=-1,$y=-1)
    if($x==-1) $x=$this->x;
            if($y==-1) $y=$this->y; //echo "{$this->x} - {$this->y}";die();
            if($angle!=0) $this->_out('Q');
            $angle=$angle;
            if($angle!=0)
    $angle*=M_PI/180;
    $c=cos($angle);
    $s=sin($angle);
    $cx=$x*$this->k;
    $cy=($this->h-$y)*$this->k;
    $this->_out(sprintf('q %.5f %.5f %.5f %.5f %.2f %.2f cm 1 0 0 1 %.2f %.2f cm',$c,$s,-$s,$c,$cx,$cy,-$cx,-$cy));
    OS: Windows Any ( >= XP)
    Adobe version X (latest updates)
    Thanks,
    Anupam

    Hello anupam,
    I know this is a particularly old thread, however i thought i'd post the solution here for others who may have been searching around for a solution to this very same problem and come across this thread.
    As George has correctly stated it is an issue with the unbalanced q and Q operators. I recognise the provided piece of code, it is of course a snippet from a generation class such as FPDF or TCPDF or HTML2PDF, the error occurs when the rotation is not returned to 0 before finalising the document.
    i.e. You would have used something like $pdf -> Rotate(270,60,50) or $this -> Rotate(270,60,50) where 270=the degree of rotation , 60=the x coordinate , 50=the y coordinate.
    Once you've completed writing all your text, lines, images, cells you need to make sure to reset the rotate i.e. $pdf -> Rotate(0) prior to Outputting the pdf to screen or saving it as a file.

Maybe you are looking for