Chart into Loop?

I have a problem that I cannot solve for two weeks ago.
If I make a graph with alternative text, shows me the information well, but if I put the graph inside the loop does not show me information, is as if the graph could not interpret the information for every row.
My SQL
select     Competencia.Competencia as Competencia,
     "Medidas por centro"."Valor competencia" as "Valor competencia",
     "Medidas por centro"."Valor previsto por contexto" as "Valor previsto por contexto",
from     ACE.Centro Centro,
ACE."Medidas por centro" "Medidas por centro",
ACE.Competencia Competencia
My XML
!http://img233.imageshack.us/img233/9867/xml.png!
My Alternative Text
chart:
<Graph seriesEffect="SE_AUTO_GRADIENT">
<LegendArea visible="true" />
<LocalGridData colCount="{count(xdoxslt:group(.//ROW, 'Competencia'))}" rowCount="2">
<RowLabels>
<Label>Valor_competencia</Label>
<Label>Valor_previsto_por_contexto</Label>
</RowLabels>
<ColLabels>
<xsl:for-each-group select=".//ROW" group-by="Competencia" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<Label><xsl:value-of select="current-group()/Competencia" /></Label>
</xsl:for-each-group>
</ColLabels>
<DataValues>
<RowData>
<xsl:for-each-group select=".//ROW" group-by="Competencia" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<Cell><xsl:value-of select="sum(current-group()/Valor_competencia)" /></Cell>
</xsl:for-each-group></RowData>
<RowData>
<xsl:for-each-group select=".//ROW" group-by="Competencia" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<Cell><xsl:value-of select="sum(current-group()/Valor_previsto_por_contexto)" /></Cell>
</xsl:for-each-group>
</RowData>
</DataValues>
</LocalGridData>
</Graph>
I am going to show you several images to explain better.
This is my RTF structure.
!http://img40.imageshack.us/img40/9497/rtf.png!
This is my out PDF
!http://img40.imageshack.us/img40/2097/pdf.png!
This is my out PDF - General Vision
!http://img38.imageshack.us/img38/7991/pdf2.png!
Please, help me.
If you want I can to send XML + RTF to your email.
Thanks

Hi !
I send you Template + XML.
Thanks for request.

Similar Messages

  • Help needed in making a Recursive loop( loops into loops)

    Hi i have a situation, i need to make loop into loop into loop....undecided loop.
    i have a object list which are parent.........eg.
    i query to get my 1st list is A, B and C....i loop it to display in table
    while looping i query A to get its child AA, AB, and AC, i loop it in table..
    while looping i query AA to get its child AAA, AAB and AAC...
    i have to check for the child till it has child level donw level...but i dont know how can i make a dynamic loop...i cant write a loop it for 15 to 20 .
    Is there any way to make a recursive loop so tht it checks for child into child.
    thanks

    my code is such......
    Corres[] objCorresBean = correspondence.getCorrespondence(objectId);
    for (int i = 0; i < objCorresBean.length; i++) {
    CorrespondenceBean corresBean = objCorresBean;
    String parent_object_id = corresBean.getObjectId();
    childCorresBean = correspondence.getChildCorrespondence
    (parent_object_id);
    for (int j = 0; j < childCorresBean.length; j++) {
    CorrespondenceBean childBean = childCorresBean[j];
    String child_object_id = childBean.getChildObjectId();
    may be child_object_id have some childrens.......i want to make it recursive

  • I pull fiftyfour bytes of data from MicroProcessor's EEPROM using serial port. It works fine. I then send a request for 512 bytes and my "read" goes into loop condition, no bytes are delivered and system is lost

    I pull fiftyfour bytes of data from MicroProcessor's EEPROM using serial port. It works fine. I then send a request for 512 bytes and my "read" goes into loop condition, no bytes are delivered and system is lost

    Hello,
    You mention that you send a string to the microprocessor that tells it how many bytes to send. Instead of requesting 512 bytes, try reading 10 times and only requesting about 50 bytes at a time.
    If that doesn�t help, try directly communicating with your microprocessor through HyperTerminal. If you are not on a Windows system, please let me know. Also, if you are using an NI serial board instead of your computer�s serial port, let me know.
    In Windows XP, go to Start, Programs, Accessories, Communications, and select HyperTerminal.
    Enter a name for the connection and click OK.
    In the next pop-up dialog, choose the COM port you are using to communicate with your device and click OK.
    In the final pop
    -up dialog, set the communication settings for communicating with your device.
    Type the same commands you sent through LabVIEW and observe if you can receive the first 54 bytes you mention. Also observe if data is returned from your 512 byte request or if HyperTerminal just waits.
    If you do not receive the 512 byte request through HyperTerminal, your microprocessor is unable to communicate with your computer at a low level. LabVIEW uses the same Windows DLLs as HyperTerminal for serial communication. Double check the instrument user manual for any additional information that may be necessary to communicate.
    Please let me know the results from the above test in HyperTerminal. We can then proceed from there.
    Grant M.
    National Instruments

  • Moving a chart into an exact position

    Hello,
    I am working on acrobat and I want to place a chart into an exact position in the document, but when I grab the chart it is placed either too high or too low from the place I want to put it.... how can I fix that? how can I place the picture/chart in the place I want it without going to high are too low in the document??

    First of all, Acrobat is not a layout application and using it for that
    purpose is both tricky and dangerous, as it can totally screw up your
    document. If possible, stick to an application that more suited for this
    task, like InDesign.
    To answer your question: Make sure that the following option is NOT
    selected: View - Show/Hide - Rulers & Grids - Snap to Grid.

  • Pasting chart into pages from numbers

    How come I can't copy/paste charts into pages from numbers anymore?  I used to be able to on the last edition now with the new update when I go to paste the chart nothing happens.

    If you are using Pages v5 (any version), then you need to be using Numbers 3+ for copy/paste. If you are using Pages ’09 v4.3, you need to be using Numbers v2.3. Mixing versions breaks things.

  • Excel chart into InDesign - resolution problem

    Hello, I am working on a Mac OS 10.8.3 and using InDesign CS6
    I have to place a chart that was created in Excel into InDesign and I realize there is a resolution problem if we start to print.
    Would you suggest I create the chart using an Adobe product? I am just trying to save time, but I'm afraid that may be the only answer.
    I have a screen shot below of kind of what it looks like. I have about 25 of these.
    Thank you.

    I tried pasting the chart from Word into Excel and then I dragged that chart into Illustrator and then copied into InDesign. Probably used an extra step there, but..
    I went to this site for help too; http://helpx.adobe.com/indesign/kb/import-excel-data-charts-graphs.html
    The text comes in a little funny, but I redid the text boxes and I was able to get in and edit some of the elements.
    Thank you!

  • Have been trying to download cc and lightroom thru it, but no luck. just keep getting put into loops with no further activity.

    have been trying to download cc and lightroom thru it, but no luck. just keep getting put into loops with no further activity.

    If you describe your issue with more concrete details rather than words like “loops” then maybe someone can recognize what is happening and give some advice. 
    A screenshot would also help.

  • How to paste excel chart into word

    how to paste excel chart into word?

    Assuming you are using Office for Mac, you might want to ask your question in the Office for Mac forums where the Office for Mac gurus hang out. http://answers.microsoft.com/en-us/mac?auth=1

  • What's the best way to incorporate a d3 chart into UI5 application?

    Hi folks,
    I'm on a project which requires to incorporate a d3.js based chart into a UI5 application.( sap.viz library doesn't fullfill )
    I'm thinking maybe to extend a sap.ui.core.Control.
    But here comes some problems:
    1. how to implement the renderer function?
    renderManager has the write() method, but this method is to write html strings. But I'll use d3's method to draw the svg elements.
    How can I do that?
    2. how to achieve responsive ?
    I'm not sure how to auto adjust my chart size to the actual device size.
    3. how to refresh my chart when data changes
    my chart will receive some data from outside. how to refresh my chart when data changes?
    Regards,
    Aaron.

    Hi Dennis,
    what I had in mind is:
    1. extend control ( I don't know if it's too much overhead )
    2. directly operate at the dom level ( there is this sap.ui.core.html class, I don't know if I can use this and how).
    But for both above solution. I don't know how to implement and its feasibility.
    So I'm asking if someone has done something like this before. Maybe some experiences can be shared.
    Regards,
    Aaron.

  • Moving Numbers Charts into Word

    I am having trouble exporting charts I make in Numbers to Word (which I need to use for my dissertation). Right now, every time I do this Word (2004) imports the chart as a picture with a black background (making it virtually impossible to read).
    My question is whether there is an easy solution to this problem.
    I have seen one post in this forum that suggests Apple has a work around. It says that Apple has "solved" this transparency problem. But I see no mention of how or how to apply it. All of my software is updated.
    I have also seen the post that describes the long work around (export to a third application like photoshop and then import into word), but I don't consider that a real solution.
    Any ideas?

    My workaround solution to get Numbers charts into Word 2004 and 2008 is to place the subject chart(s) onto one or more sheets - I tend to put each chart on a separate sheet - then export the charts as PDF files, set for "Best Quality" and to the "Current Sheet". I then generally drag each individual PDF into Word and adjust as necessary for scale and position.
    I'll admit that IMO Word 2004's graphics engine really wasn't (Isn't?) consistent or that great at handling non-native graphics, and I've encountered the black picture syndrome dozens of times, and just try reimporting until I get what I want. I've also used Apple's Preview application (via Automator) to generate TIFF and JPG files of the PDFs I generate, and almost all of the time one of the resulting files gets me what I need.
    One last method of shoehorning an image into either Word application that's worked wonders for me since Word 2001 is to choose the graphics element you want to get into Word and copy-paste it into Word, letting the Clipboard handle the translation; I've used this technique just this morning to get two graphs (a copied one-page PDF from Preview and a small chart from Numbers) into Word as graphics, albeit into Word 2008 - the finished product was exactly as I'd expected.
    One last option is to copy your elements, one at a time, to the Clipboard, and to use the Word "Paste Special" command, choosing the "as Picture" option; the pasted elements likely will look a little fuzzy, but they're in your document.
    Good luck - I hope my offering helps, and if a more direct method were available, I'd love to know what the better solution is!

  • Update charts into FlowPane

    I want to store Linecharts into FlowPane which I want to update using Service. I created this example:
    public class MainApp extends Application
        @Override
        public void start(Stage stage) throws Exception
            Scene scene = new Scene(panels());
            stage.setTitle("JavaFX and Maven");
            stage.setScene(scene);
            stage.show();
        public static void main(String[] args)
            launch(args);
        private FlowPane flow = new FlowPane();
        private BorderPane bp;
         * @return
        private ScrollPane panels()
            flow.setPadding(new Insets(50, 5, 5, 5));
            flow.setStyle("-fx-background-color: white;");
            flow.setVgap(15);
            flow.setHgap(15);
            flow.setAlignment(Pos.CENTER);
            ScrollPane scroll = new ScrollPane();
            scroll.setStyle("-fx-background-color: transparent; -fx-background-insets:0; -fx-border-width:0; -fx-border-insets:0;");
            Rectangle2D primaryScreenBounds = Screen.getPrimary().getVisualBounds();
            scroll.setPrefSize(primaryScreenBounds.getWidth(), primaryScreenBounds.getHeight());
            scroll.setHbarPolicy(ScrollPane.ScrollBarPolicy.AS_NEEDED);    // Horizontal scroll bar
            scroll.setVbarPolicy(ScrollPane.ScrollBarPolicy.AS_NEEDED);    // Vertical scroll bar
            scroll.setContent(flow);
            scroll.viewportBoundsProperty().addListener(new ChangeListener<Bounds>()
                @Override
                public void changed(ObservableValue<? extends Bounds> ov, Bounds oldBounds, Bounds bounds)
                    flow.setPrefWidth(bounds.getWidth());
                    flow.setPrefHeight(bounds.getHeight());
            initTest();
            addMonitoringService();
            return scroll;
        private BorderPane generatePanel()
            // BorderPane
            HBox thb = new HBox();
            thb.setPadding(new Insets(8, 10, 8, 10));
            thb.setStyle("-fx-background-color: linear-gradient(to bottom, #E9E9E9, #f2f2f2);");
            Text title = new Text("Test");
            title.setFont(Font.font("Verdana", 13));
            title.setFill(Color.BLACK);
            thb.getChildren().add(title);
            HBox bhb = new HBox();
            bhb.setPadding(new Insets(10, 10, 10, 10));
            bhb.setStyle("-fx-background-color: #B0B0B0;");
            DropShadow ds = new DropShadow();
            ds.setOffsetY(1.0);
            ds.setOffsetX(1.0);
            ds.setColor(Color.GRAY);
            BorderPane bp = new BorderPane();
            bp.setEffect(ds);
            bp.setCache(true);
            bp.setPrefSize(320, 180);
            bp.setMaxSize(320, 180);
            bp.setStyle("-fx-background-color: linear-gradient(to bottom, #FAFAFA, #EAEAEA);"
                + " -fx-border-width: 2px; -fx-border-style: solid; -fx-border-color: white;");
            bp.setTop(thb);
            LivePerformanceChart zz = new LivePerformanceChart();
            bp.setCenter(zz.init("Test"));
            VBox vbox = new VBox(bp);
            vbox.setPadding(new Insets(10, 10, 10, 10));
            return bp;
        public void addMonitoringService()
            flow.getChildren().add(generatePanel());
            for (int i = 0; i < 4; i++)
                flow.getChildren().add(generatePanel());
        public void initTest()
            service.setDelay(new Duration(300));
            service.setPeriod(new Duration(1000));
            service.setOnSucceeded(new EventHandler<WorkerStateEvent>()
                @Override
                public void handle(final WorkerStateEvent workerStateEvent)
            service.setOnFailed(new EventHandler<WorkerStateEvent>()
                @Override
                public void handle(WorkerStateEvent t)
            service.start();
        private final DataService service = new DataService();
        class DataService extends ScheduledService<Void>
            @Override
            protected Task<Void> createTask()
                return new Task<Void>()
                    @Override
                    protected Void call() throws Exception
                        for (int i = 0; i < flow.getChildren().size(); i++)
                            if (flow.getChildren().get(i) instanceof LivePerformanceChart)
                                LivePerformanceChart obj = (LivePerformanceChart) flow.getChildren().get(i);
                                obj.insertData(111);
                        return null;
    LineChart
    public class LivePerformanceChart extends Node
        private BorderPane bp;
        public LivePerformanceChart()
        private static final int MAX_DATA_POINTS = 50;
        private Series series;
        private int xSeriesData = 0;
        private final ConcurrentLinkedQueue<Number> dataQ = new ConcurrentLinkedQueue<>();
        private NumberAxis xAxis;
        private String type = "line";
        public String getType()
            return type;
        public void setType(String type)
            this.type = type;
         * @param name
         * @return
        public AreaChart<Number, Number> init(String name)
            xAxis = new NumberAxis(0, MAX_DATA_POINTS, MAX_DATA_POINTS / 10);
            xAxis.setForceZeroInRange(false);
            xAxis.setAutoRanging(false);
            xAxis.setTickLabelsVisible(false);
            xAxis.setTickMarkVisible(false);
            xAxis.setMinorTickVisible(false);
            NumberAxis yAxis = new NumberAxis();
            yAxis.setAutoRanging(true);
            // Chart
            final AreaChart<Number, Number> sc = new AreaChart<>(xAxis, yAxis);
            sc.setAnimated(false);
            sc.setId("liveAreaChart");
            sc.setTitle(name);
            // Chart Series
            series = new AreaChart.Series<>();
            series.setName(name);
            sc.getData().add(series);
            // Prepare Timeline
            prepareTimeline();
            return sc;
         * Update chart values
         * @param value
        public void insertData(int value)
            dataQ.add(value);
        // Timeline gets called in the JavaFX Main thread
        private void prepareTimeline()
            // Every frame to take any data from queue and add to chart
            new AnimationTimer()
                @Override
                public void handle(long now)
                    addDataToSeries();
            }.start();
        private void addDataToSeries()
            for (int i = 0; i < 20; i++)
            { // Add 20 numbers to the plot+
                if (dataQ.isEmpty())
                    break;
                series.getData().add(new AreaChart.Data(xSeriesData++, dataQ.remove()));
            // remove points to keep us at no more than MAX_DATA_POINTS
            if (series.getData().size() > MAX_DATA_POINTS)
                series.getData().remove(0, series.getData().size() - MAX_DATA_POINTS);
            // update
            xAxis.setLowerBound(xSeriesData - MAX_DATA_POINTS);
            xAxis.setUpperBound(xSeriesData - 1);
        @Override
        protected NGNode impl_createPeer()
            throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
        @Override
        public BaseBounds impl_computeGeomBounds(BaseBounds bounds, BaseTransform tx)
            throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
        @Override
        protected boolean impl_computeContains(double localX, double localY)
            throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
        @Override
        public Object impl_processMXNode(MXNodeAlgorithm alg, MXNodeAlgorithmContext ctx)
            throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
    So basically I want to insert all charts into the FlowPane and then every second to us the Service to update the charts by calling the method insertData
    but nothing happens. I tried to extend the custom class with Node in order to insert it into FlowPane nut the chart is empty.
    Can you help me to fix this example?

    Any help is highly appreciated. I need to solve this problem.

  • How to superimpose data from two different charts into a single chart?

    I have a single chart that lists numbers by month for a two year period like this:
    Jan 100
    Feb 200
    Jan 103
    Feb 199
    The numbers are all in the same column rather than different columns.
    I'd like to creat a chart that plots the data for each year on the same X axis, so that I can see the two january numbers, the two february numbers, etc. on top of each other. But nothing I've tried seems to work. Numbers seems to always put the second january after the first december on the x axis rather than recognizing it as a new series to be superimposed on top of the original january.
    Is there some way to fix this short of putting the data into a new column?

    What your describing is a table of wht I would call raw data. I would also have a summary table that would use functions like sumif and sumifs, then make my chart off that. This table would have each month in a column and the  years across as headers. ( if you're familiar with excel, it would be the equivalent of making a pivot table and chart, but manually).
    Jason

  • Importing 3rd party apple loops into loop browser?

    i am running Logic Pro 8 and have recently bought a load of sample libraries. I have attempted to load them into the Logic loop browser with all the original logic loops for easy access. but only half of them show up in the browser.
    If i check the library/audio/logic/apple loops folder, they are all in there as they should be, they are just not showing up on the loop library list inside logic.
    Can anyone please help me?

    You need to open Logic and click on the "Media" tab (upper right in your main window), then click on "Loops". You are now in the loop browser and this is where you have to drag and drop your loops for them to be found by Logic.

  • Interactive Reporting - Dragging a Pie Chart into a Report

    I have a report that contains about 5 charts at the end of all the tables containing data (the charts are in the report footer). I have created a new pie chart and want to drag it into the report footer as well. When I drag it in, it goes at the very beginning of the report footer. I have tried dragging it down and it seems to only want to stay on that very first page of the report footer. I am not able to move it onto a different page. How do I make this work? What I'd really like to do is add a new page in the middle of the charts and put this new chart on that new page ... but i couldn't figure out how to do that, so I was just going to drag the new chart to the very bottom of the other charts.
    Thanks.
    Terri T.

    Terri
    I had a case where I needed "extra" Report Footers. To do this I created bogus Report Group Columns in my results section with a constant value, same for all rows.
    I then used this as a Report Group in the Report Section. I turned off the Group Header and Turned On the Group Footer with a Page Break Before or After. If you have other Report Groups then you would need to make the Bogus Report Group Column before any of your business report groups.
    Wayne Van Sluys
    TopDown Consulting

  • Open xml relationship target is NULL when inserting chart into a mapped rich text content control in Word 2013

    Hi,
    I have a word document with a rich text content control that is mapped to a CustomXml. You can download an example here
    http://1drv.ms/1raxoUr
    I have looked into the specification ISO/IEC 29500-1:2012 and i understand that the attribute Target for the element Relationship can be set to NULL at times(Empty header and footer in the specification).
    Now, i have stumbled on Target being NULL also when inserting a diagram into a word document. For example:
    <Relationship Id="rId3" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/oleObject"
    Target="NULL" TargetMode="External" xmlns="http://schemas.openxmlformats.org/package/2006/relationships" />
    Why is Target="NULL" and how should i interpret that Target is null?
    Br,
    /Peter
    Peter

    Hello Peter,
    The relationship in question is associated with the externalData element (ISO/IEC 29500-1:2012 §21.2.2.63). For the other two charts in this document, the corresponding relationships are of the other allowable form:
      <Relationship Id="rId3" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/package" Target="../embeddings/Microsoft_Excel_Worksheet1.xlsx"/>  <Relationship Id="rId3" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/package" Target="../embeddings/Microsoft_Excel_Worksheet2.xlsx"/>
    For charts 1 and 3 in your document, the data can be edited via the Chart Tools ribbon control. The option to edit data is not available for chart 2. The data used to create chart 2 is the same default spreadsheet data used for chart 1, and in fact the spreadsheet
    references are still present in the file format, despite there being no apparent link to a spreadsheet for chart 2.
    Thus, it appears that Target="NULL" in this context means that the chart is not associated with an external data source. The specification doesn't have much to say about the semantics of the Target attribute (ISO/IEC 29500-2:2012 §9.3.2.2) beyond
    the fact that it be a valid xsd:anyURI, which the string "NULL" is.
    It looks like there is some unexpected interaction between the chart and the content control. I don't think the file format is the issue. You will probably need to pursue that behavior from the product perspective via a support incident, if that behavior
    is unexpected. If you still have questions about what is seen in the file format, please let me know.
    Best regards,
    Matt Weber | Microsoft Open Specifications Team

Maybe you are looking for

  • ABAP Runtime Error while executing planning folder

    Hi experts. We have a situation where I can access our planning folders but that's not the case for one of our user. She encountered with an ABAP Runtime Error as follow: Appreciate if anyone can help me out with this. Runtime Error          RAISE_EX

  • Not able to see GC on web.

    GC 10.2.0.1 DB : 10.2.0.4 OS : AIX 5.3 Hello Folks, I have installed GC on exisiting db, without any issue. After installation EM page is not visible on internet explorer. In emoms.log file I have got below error 2009-01-08 17:02:51,849 [XMLLoader0 7

  • I can't see my iPod in iTunes

    I knew this has been asked thousand times and I read the anwser and follow all steps. I uninstall and resintall, I reset my iPod, i change to another USB port, I run iPod updater. I have done all these but still, it isnt show up in iTunes nor Windows

  • How to downscale from Final Cut pro not using bilinear method

    I'm using Cinema Craft Pro MP to create my m2v's from FCP QT movies made from 422HQ sequences. I'm not getting the results that I know Cinema Craft can provide, the edges have significant jaggies, especially in high contrast color areas or black and

  • Approval WF after SC is saved: No selected agents assigned

    Hi all, We are in SRM 7.0 and we have the following problem: We fill approval_table informing fields through BADI GET_REMAING_APPROVERS: approval_index = 1 approval_agent = USUSER name and description. (we only put one approver to do the testing easi