XML Publisher CHARTS: mulit-dimensions not plotted correctly

Hi,
We're currently assessing the suitability of XMP Publisher and one of the deciding factors is to create a bar chart from an SQL query that retrieves multiple portfolios over a time-frame. For example, three portfolios are selected over a time period like 3 years (but there does not have to be a performance for every month) and their performance is plotted against each month (i.e. 0 - 3 Columns depending if a result exists per month). In the desktop publisher we struggled but managed to change the Graphics code until it could dynamically show the correct legend and the data rows, but alas the data points do not correspond correctly with the X-axis. It seems that when the rows are grouped each value is plotted against each column regardless of the tagged value used for the X-axis.
Let me try and put it this way, the first month had only 1 portfolio and the next month had all three, but on the graph the first month shows three columns, the records have slipped.
The code that we used was adapted from a forum entry by Klaus Fabian- "Re: Stacked Bar Chart
" (Servus Klaus;-)), but we need to find out how to adapt the code so that it plots the data correctly against the X-axis values.
Help!!!!
Cheers,
Robin.
Here's the code we used
chart:
<Graph>
<Title text="" visible="true" horizontalAlignment="CENTER"/>
<LocalGridData colCount="{count(xdoxslt:group(.//ROW, 'TODATE'))}" rowCount="{count(xdoxslt:group(.//ROW, 'CODE'))}">
<RowLabels>
<xsl:for-each-group select=".//ROW" group-by="CODE">
<Label><xsl:value-of select="./CODE"/></Label>
</xsl:for-each-group>
</RowLabels>
<ColLabels>
<xsl:for-each-group select=".//ROW" group-by="TODATE">
<Label><xsl:value-of select="./TODATE"/></Label>
</xsl:for-each-group>
</ColLabels>
<DataValues>
<xsl:for-each-group select=".//ROW" group-by="CODE">
<RowData>
<xsl:for-each-group select="current-group()" group-by="TODATE">
<Cell><xsl:value-of select="./PERFORMANCE"/></Cell>
</xsl:for-each-group>
</RowData>
</xsl:for-each-group>
</DataValues>
</LocalGridData>
</Graph>

Hi,
I have finally found solution to this issue....
Two setups are required to display the charts in the concurrent program's PDF output:
1. We need to edit the variables CLASSPATH and AF_CLASSPATH. These variables should have the complete path added for the xdoparser.zip file on the server.
2. The DISPLAY variable should be correctly setup to direct the server output.
Also as per my findings so far, the BI (XML) publisher version 11.1.1.3.0 (or any 11g) does not work with EBS (at least for charts). We need to use BI publisher version which is XML 5.6.3 compatible for EBS. This version is 10.1.3.2.1. (patch 12395372) Now this 10g version does not work on Windows 7 so you need to use Windows XP!
With this... finally... your charts should be getting displayed in EBS output...
Cheers!! :-)
Archana

Similar Messages

  • Page Break In XML Publisher RTF Templates Are Not Working

    Please refer to the Metalink Doc below:
    Subject:      Page Break In XML Publisher RTF Templates Are Not Working.
    Doc ID:      559111.1      
    Type:      PROBLEM
    Modified Date:      24-MAR-2008      
    Status:      MODERATED
    In this Document
    Symptoms
    Cause
    Solution
    References
    This document is being delivered to you via Oracle Support's Rapid Visibility (RaV) process, and therefore has not been subject to an independent technical review.
    Applies to:
    Oracle XML Publisher - Version: 5.6.3
    This problem can occur on any platform.
    Symptoms
    Using XML Publisher version 5.6.3 in 11.5.10.
    Find <?split-by-page-break:?> syntax is ignored.
    EXPECTED BEHAVIOR
    Expect page breaks to occur at point set by "split-by-page-break:" code.
    STEPS
    The issue can be reproduced at will with the following steps:
    1. Create a template.
    2. Call split-by-page-break: inside a loop.
    3. Output is not formatted correctly, page break call is ignored,
    Cause
    Unpublished BUG 5011628 SPLIT-BY-PAGE-BREAK NOT WORKING IF ADDED SORT WITHIN DYNAMIC GROUP
    Unpublished BUG 5011628 matches the client issue as it is a call to split-by-page-break inside a loop.
    Fix is in ScalableStringList.java version 115.4.
    This is delivered in <Bug 6165466> XDOFX:CHR(N) FUNCTION FAILING.
    Solution
    To implement the solution, please execute the following steps:
    1. Apply Patch 6165466 when it is released.
    2. Test your report.
    References
    Bug 6165466 - XDOFX:CHR(N) FUNCTION FAILING
    Keywords
    XML~PUBLISHER; LOOP; DYNAMIC~GROUP; PAGE~BREAK;
    Help us improve our service. Please email us your comments for this document. .

    Hi JDev,
    Check this out:
    http://oracle.anilpassi.com/xml-publisher-developing-reports-printed-on-pre-printed-stationary-2.html
    Hope this might help.
    Thanks

  • Image not showing in XML Publisher [works on windows, not unix]

    I have an xml publisher RTF template that references an image from a URL passed in from the xml data file. The report definition references the image as follows:
    <fo:external-graphic>
    <xsl:attribute name="src">
    <xsl:value-of select="//fld_FILE_PATH_NAME"/>
    </xsl:attribute>
    The XML produced for the report correctly contains one single element to resolve to the URL:
    <fld_FILE_PATH_NAME>file:////i01_02/psoft/90/finsys/appserv/FSDSYS90/files/OZ57_EX_E0445_0000000303.png</fld_FILE_PATH_NAME>
    When running in PeopleSoft on a windows application server the process works fine and I can see the image. When I run this in our unix solaris environment, PT 8.49, the report runs but the image does not display. I have checked that the image does exist in the correct location I ran firefox in gnome and pasted the file location below and it resolved fine.
    I am referring to the file using a 'file' URL as follows:
    file:////i01_02/psoft/90/finsys/appserv/FSDSYS90/files/OZ57_EX_E0445_0000000303.png
    Any ideas?
    Glenn

    OK, this was a confusing one, and I suspect is a bug.
    In the end, after using the xdo.log [debugger], we saw that the xml publisher engine is stripping off two slashes as the beginning of the URL construct. So, the solution, is to add two additional slashes.
    So, the URL which ended up working is:
    file://////opt/oracle/90/findev/appserv/FSDDEV90/files/OZ57_EX_E0445_0000000303.png
    which resolves to the file /opt/oracle/90/findev/appserv/FSDDEV90/files/OZ57_EX_E0445_0000000303.png
    FYI - our environment is Solaris 10 using the Oracle Application Server, PT 8.49

  • Date Dimension not updating correctly

    Hi
    My current date dimension underlying data was due to expire soon so I set about trying to create a new one.
    I got hold of the script that it was based and went about re-creating the data like for like.
    I pointed the date dimension at this new data structure and it all processed fine.
    When I was doing some testing I noticed althought the total figures were fine, some of the year figures were a little off compared to the underlying data.
    I found that dates such as 31/12/2012 were being classified as year 2013. The month was also being classified as January but the date was still showing as 31 December 2012
    I switched the date dimension back to the old structure and all year numbers were fine.
    I decided to recreate the Date Dimension in the cube using the same structure as the current date dimension and when it processed with the new data structure all the numbers are correct.
    I tried clearing cache but I am baffled as to why the new data structure won't work with the existing Date Dimension but will work with a newly created date dimension in the same cube?
    Regards

    Hi
    I seemed to have solved it (although I am still testing), there was a data diffrence in the week key and that it was over lapping with the end of the year so I changed it to match what I already had.
    It still doesn't explain that before making the change when I created a new dimension it seemed to work ok.
    I had a look at the XML and the only difference that I could see was that the original date dimension had a Time Binding that was generated on the server or the data source.

  • Line Chart X Axis Not Sorted Correctly

    I have created a line chart where the x axis is date closed and the y axis is number of days to close. This chart is placed within a group called priority.
    When the chart is created the close dates are not on the x axis in ascending order. I'm expecting it to be 10/1, 10/2, 10/3, etc. but instead I'm getting 10/6, 10/31, 10/28, etc. from left to right.
    I've got the Record Sort set to closed date ascending and if I place the records into the report they sort correctly. It's just the chart that sorts incorrectly.
    What am I missing here?

    Hi Jason,
      here is the steps you should follow in order ro set the sorting for barchart.
    1. go to chart expert
    2. click on data tab
    3. select the field in the selected list of report columns on which you have to sort, then the order button will be enabled
    4. click on the order button
    5 it will open new window by name "chart sort order", where you can set the sorting order(ascending order, descending order, specified order or the original order) for the selected report column.
    I hope this will help you..
    Regards
    Deepa

  • Time Dimension not loaded correctly when imported to 10.2.0.3 database

    Dear All,
    I created a Time dimension using the wizard that contian both Normal and Fiscal hierarchies on a repository created on 10.2.0.1 DBMS
    I exported the poject in mdl and imported it in repository on 10.2.0.3 DBMS ... the Time dimension in the new poject wasn't loaded correctly
    the Rows of the Day level contain information about the upper fiscal levels' columns while the columns of the normal hierarchy containd null
    Can you help me to solve this problem ???? !!!!!...
    Best of regards,
    Shaimaa

    Your quote comes from the OBIEE Plug-in user guide (http://www.oracle.com/technetwork/database/options/olap/awm-plugin-user-guide-for-obiee10g-303148.pdf)
    So, yes, you can only use this if you are using database 11.1.0.7 or later and if you are creating an 11g style AW.
    You can map 10g style AWs to OBIEE, but it is a manual and complex task. You would need to start by generating views using (for example) the      OLAP View Generator (10.2.0.3) available on http://www.oracle.com/technetwork/database/options/olap/olap-downloads-098860.html . After this you would need to manually create the mapping metadata in OBIEE.

  • Publishing site to iweb not displaying correctly

    I recently updated a site and republished but some of the old stuff sticks around in Safari, (specifically an old text box). The new text box appears and its links work in Firefox? In addition, some of my text on other pages that is spaced correctly in iweb is off in both browsers. Anyone know what gives?

    I have an iWeb site and I view it from a PC running Firefox. I have the same problem in Firefox of not seeing the current version of the site unless I clear my cache.
    This is a stupid step to have to take EVERY TIME I update my site. Furthermore, how can I expect other people to clear their cache before visiting my site?
    There must be a better way.

  • Pixel dimensions not rendering correctly with Extract Assets?

    Was really excited to hear about extract assets and have been trying to set up a new workflow but am having some difficulty. My PSD is set up ay 2x size, so I need to create 1x-sized assets. My 1x-sized assets are rendering with a 1px white line around them and I can't figure out why this is happening? I have tried both with the .5x button selected and also speccing the required pixel dims in the layer name, and both produce the same result.
    In my layer name I have: [email protected]%, 498x440 filename.jpg-85%
    The resulting asset is 500x442px and has a 1px white line around it
    What am I doing wrong?

    Hi can you email me your PSD file? My email ID is: [email protected]

  • XML not displaying correctly when larger

    Hi,
    When my XML dataset exceeds 2350 lines, SpryDOMUtils.js seems to ad a <tab> to the XML string and it's not displayed correctly in it's container.
    I included 2 screenshots to show what's happening. Tnx a lot!!

    Sorry for the delay, I have spent some time trying to find the culprit. Finally I decided to start afresh with the following markup, which works quite well in all browsers.
    <!doctype html>
    <htm>
    <head>
    <meta charset="utf-8">
    <title>Untitled Document</title>
    <link href="SpryAssets/SpryAccordion.css" rel="stylesheet" type="text/css">
    </head>
    <body>
    <div id="Accordion1" class="Accordion" tabindex="0">
      <div class="AccordionPanel">
        <div class="AccordionPanelTab">Label 1</div>
        <div class="AccordionPanelContent">
          <div id="div1">
            <table align="top" cellpadding="5">
              <tr id="tr1">
                <td  valign="top">{datum}</td>
                <td valign="top"><a href="{link}">{inhoud}</a></td>
              </tr>
            </table>
          </div>
        </div>
      </div>
      <div class="AccordionPanel">
        <div class="AccordionPanelTab">Label 2</div>
        <div class="AccordionPanelContent">Content 2</div>
      </div>
    </div>
    <script src="SpryAssets/SpryAccordion.js"></script>
    <script src="SpryAssets/SpryData.js"></script>
    <script src="SpryAssets/SpryDOMUtils.js"></script>
    <script src="SpryAssets/SpryTooltip.js"></script>
    <script src="design_template_info12.js"></script>
    <script type="text/javascript">
    var Accordion1 = new Spry.Widget.Accordion("Accordion1");
    </script>
    </body>
    </html>
    May I suggest that you copy and paste the markup into a new document to then start adding your own stuff, making sure that you test in IE7 or IE8 at each step.
    Note that I have left xpath.js out of the markup. I think it will work either way. Just keep an eye on it.
    PS
    I did reformat the XML to delete all of the empty lines. Not sure if this helped or not. You can do this within DW as follows
    Message was edited by: Altruistic Gramps

  • Printing in XML Publisher

    I am curious as to why you can't direct print an XML Publisher Report just like any other Oracle report. If you can print Oracle reports in PDF straight to the printer, why do XML Publisher reports require ps2pdf (note:338990.1)? We are having many issues getting this installed on our server and functioning correctly (tar #5150293.992). Is this something that will be added/fixed in Oracle in the near future? It seems goofy to call a product XML Publisher if it can't publish.
    Thanks,
    Brett

    I am a bit confused on this subject. We are developing reports using XML Publisher, but we have a requirement that the pdf output be sent directly to the printer (instead of viewing output, then printing). I have followed note #262657.1 on Metalink that walks you through setting up a new printer driver similar to this:
    "cat <pdf doc name> | /usr/local/bin/acroread -toPostScript | lp -c -d <printer> -n1". This works from the command line, but I haven't been able to get it to work through the concurrent mgr in apps. The request completes successfully, and when you view the output it looks fine, but nothing makes it to the printer. The only message in the log file is "Rep-3000: Internal error starting oracle toolkit". I have had my DBA verify the DISPLAY settings on the servers and restart the reports server, but still no luck.
    Do I also need to set up PASTA for this to work? And what is "IX" printing, and is it required also? My character set is AMERICAN_AMERICA.WE8ISO8859P1, that seems to be important as well. Thanks in advance for any help you can provide.
    Rhonda

  • Unable to print barcode in xml publisher

    Hi All,
    I tried to print the barcode using xml publisher but i am not able to do so.
    Will you please guide me on this !
    I follow the below steps, please correct me if i am wrong.
    Step1: I downloaded the IDAutomationSC128L.ttf and paste in c:\Windows\Fonts.
    Step2: I move to xdf.cong file ( C:\Program Files\Oracle\XML Publisher Desktop\Template Builder for Word\config) and edit the file with the below code
    <font family="IDAutomationSC128L" style="normal" weight="normal">
    <truetype path="C:\Temp\IDAutomationSC128L.ttf" />
    </font>
    Step3: I change the field font the respective ttf. Here i am able to see the barcode.
    Step4: When i preview the report in pdf at client system i am not able to view the barcode but where as in rtf i am able to view.
    Step5: When i run the report from SRS window i am not able to view the barcode..
    Please guide me if i am wrong.
    Regards,
    Zaheer.

    Hi,
    What is your application release?
    Please see if these docs help.
    Obtain BARCODE128.class for Advanced Barcode Usage in Oracle Applications 11i with XML Publisher 5.6.3 [ID 1072226.1]
    How To Implement An AFM / PFA Barcode or MICR Font Within A UTF8 EBS Instance [ID 466531.1]
    How to setup, map, and print custom reports with a barcode / MICR font [551630.1]
    In XML Publisher Bursting Barcode Font is Ignored [ID 1136423.1]
    Thanks,
    Hussein

  • Multiple Data Sources for XML Publisher in APPS?

    Is it possible to draw data from two different reports (i.e. two different data sources) into a single template, using XML Publisher in APPS?

    Gareth is correct if it's only ONE report. It's my understanding that it's two reports that you want to merge into one report. If this is the case then the options I gave you are still correct.
    Option 3: You could add a third option which is to keep the reports the same, set the output in the concurrent program(s) to xml. You will still have to merge the xml files and apply the format template which would require a javaConcurrentProgram.
    Option 4. You could do option three but with a twist. Create two format templates, apply them to each xml output, then use the pdfMerger utility to create a single document. This may or may not work based on your requirements.
    Ike Wiggins
    http://bipublisher.blogspot.com

  • Xml publisher output problem

    i am getiing the output of .rtf file in .rtf only but i selected the pdf format. why it is happning

    I am using the template builder and after that .rtf file I am attaching in XML Publisher Administration resoponsibility of oracle application. but when i am running this custom program to get pdf output which i selected as pdf format in xml publisher administration I am not getting the pdf output and getting the same .rtf output of design template only like column n there field no data.

  • Oracle Matrix Report output to XML Publisher

    We have an Oracle matrix report (rdf) registered in our applications and we are trying to format the report output using XML publisher.
    I have taken XML output of the report by changing the Report output to XML in concurrent program definition. Using this XML output we have started designing the RTF template using Template Builder for Word 5.6.2.
    I am not able to get the MAtrix output in XML publisher. I am not sure how to design a Matrix Report using Template builder for word. I am not sure whether the XML output of Original Report has Tags mentioning Matrix report attributes or Not.
    Can anyone help me by explaining how to design a Matrix Report template using XML report output. Appreicate your help.

    I have posted a Blog on our blog site about how to create a matrix report in XML-Publisher
    http://technology.amis.nl/blog/?p=1558
    Perhaps this helps.
    Marcos

  • Font problems in resulting XML Publisher document (from PeopleSoft)

    Hi all,
    we're creating documents using XML Publisher under PeopleSoft, designing the template in Word 2007.
    We see strange things hapening to the resulting documents: even though the majority of the template is created in a Times New Roman 11pt font, we find that in the resulting document, empty paragraphs and empty table cells are formatted as Arial 12 pt. So where we put an empty line between paragraphs in the text in the template, and set all the text to Times New Roman, the empty lines are Arial. Same thing with the tables. There's a table with a for-each loop in the rows. The XML with the data always contains 10 entries, but possibly with empty values, so that the table in the resulting document always has 10 rows (plus a header row). However, the empty rows are Arial 12, and the filled-in rows are TNR 11. This results in a different heigth for the table depending on how many rows are filled in, causing the positioning of the rest of the document to be off.
    The template contains NO Arial 12 at all...
    I hope my problem is clear. Any ideas or pointers where to look are really appreciated...
    Spiffo

    Hello Deepz,
    Thank you for your answer. I am not sure I understand your answer: I stated, this is occurring in XML Publisher from PeopleSoft, so not in BI Publisher. Furthermore, there is one section in the document where I do need Arial, but at pt 11, not 12.
    I hope you or other forum members can help me further.
    Regards,
    Spiffo

Maybe you are looking for

  • PDF created with InDesign CS6, Helvetica Neue font, causes lower-case "r's" to be bold

    The pdf was created from InDesign CS6 using Windows 7. I cannot recreate the problem on my machine, but it is happening on a coworker's machine. The only character affected is the lower-case r. It appears bold when viewing the pdf of his machine. I a

  • Most efficient way to do some string manipulation

    Greetings, I need to cleanse some data in a string by replacing unsafe characters with encoded equivalents. (FYI, this is for the purpose of transforming "unsafe" characters into encoded values as data inside an XML document). The following code acco

  • How can I listen to the local radio on my ipod when not on wifi?

    I used to have an ipod nano and was able to listen to local stations on the radio without being connected to wifi and now I have an ipod touch and no longer have that option.  Is there anyway that I can listen to the local radio stations on my ipod t

  • 2 Way Video Clarity with 1 Way Audio Distortion

    I consistently experience the following issue: During a 2 way ichat using isights, we both experience clear video, the other individual has clear audio from me, but I can only received distorted, unintelligible audio. I have tested this with multiple

  • Computer says disk is almost full, but I have 14 GB free

    iBook G4 1.33 OS 10.5.8 1.5 GB of ram 40 gig hard drive I  get a message that says that the disk is almost full.  In disk utility, it states that 36 out of 37 gb of hard drive space has been used.  However when I open the finder window after clicking