Enkitec Sparkline in IR Report

I am working with the Enkitec Sparkline plugin.  I have had some very nice results with it as a page item.  Now I am trying to use it in an IR report.  I have the values in a column named VALUE_HIST.  The value is a comma separated string of numbers.  The problem I am having is how to get the plugin to fire on the column.  I have placed #VALUE_HIST in the jquery field but no luck.
Any help would be great.

Sky13 wrote:
Hi Jorge,
Thanks again for the help.  You know what is interesting is I have two pages each as an IR report. The first page only has one column that uses a Sparkline the other has three.  I have the DA on both setup to fire After Refresh on the IR rejoin and the plugins (all 4 instances) to fire on page load.  Only the DA one the page with one Sparkline column works when the IR is refreshed.  The report with the thee Sparkline Columns shows the Sparkline when the page is loaded but when the IR is changed it shows the value string.  I am not sure if I have this messed up our if something else is going on.
Also I have one more question.  Let me know if I should do a separate post for this;
I want to show the X axis value along with the Y axis value in the tool tip of my Sparklines. Something like this "125 on 6/13/2013".  Can this be done?
Odd, I'm not sure why, it would need a little troubleshooting.  Perhaps there's a JS error somewhere/  Try looking in the console.
If that doesn't get you there, try to replicate it in apex.oracle.com and provide developer credentials to take a look.
For the extra question, I'm going to say yes I think it's possible, but I'm no Sparkline expert so it would be best to start a new question and let someone who knows chime in.
Thanks
-Jorge

Similar Messages

  • Enkitec Sparkline Tool Tips

    I want to show the X axis value along with the Y axis value in the tool tip of my Sparklines. Something like this "125 on 6/13/2013".  Can this be done?
    I did find something close on this page at the very bottom: http://omnipotent.net/jquery.sparkline/#s-docs  under the Mouse-over events subtitle.  Even if I could do this in Apex it would work out OK.
    Any help would be great!

    Hi there..
    The newest version of SparkLines allows you to do quite a lot with tooltips including formatting them yourself. If you have a look at the documentation and navigate to the section about Formatting Tooltips You should see what you need there.
    However, I'm not entirely sure which version of the jQuery Sparklines we included in the Enkitec plugin, so you may have to check that. If it's NOT the most recent version, you should be able to just replace the version in the plugin with the most recent and all should work ok.
    Hope This Helps.
    Doug Gault
    APEX Practice Director, Enkitec

  • Interactive Report with Flash "Copy to Clipboard" Button

    Hi all,
    I need to implement a button in the interactive report, which will allow me to copy the customer address to the clipboard. After reading this great note (Copy to Clipboard LMCButton) I have implemented it, but the interactive report does not working properly - the pagination does not working, I can't use other interactive report features from the actions menu, and s.o.
    Additionally I have the problem with IE 10 and Coogle Chrome:
    IE 10 shows me the button only if I upload the swf file to the #IMAGE_PREFIX# directory
    Google Chrome shows me the flash button not at all.
    The javascript function call is in the "HTML Expression" field of the interactive report column.
    Hier ist the link to my allpication: http://apex.oracle.com/pls/otn/f?p=2071:213

    Most likely, you'll need to build a plugin.
    Take a look at the Enkitec - Sparkline plugin for implementation ideas
    - Dynamic Action Plugin - Enkitec Sparklines
    MK

  • Tooltip on sparkline represents the wrong marker value

    I've added multiple sparklines to a report, each representing a trend over the last 12 months. Each month has marker on the sparkline and each marker has a tooltip. The sparkline correctly represents the month's value, but the tooltip shows the wrong month
    (a month later).
    ie:
    - i have a sparkline representing Januari 2014 to December 2014
    - The line and the markers go up and down correctly according to the values of each month so that the third marker represents the value for march 2014.
    - The tooltip (which contains the month and the value of that month) contains the value of one month later. So the tooltip of the third marker, shows april 2014 and the value belonging to april in stead of march 2014 and the value belonging to march.
    Is this a known issue? And is there a workaround for this?
    - Matthijs

    Hi Matthijs,
    I have created the sample report with Sparkline chart with your case, Its working fine as shown in below screen.
    Tooltip Expression:- =cstr(Fields!MONTH.Value )+" , "+ cstr(Fields!VALUE.Value)
    If you want to debug your sparkline chart, with axix values so that you can check its proper X and Y axis value the marker tooltip is showing or not, you can just convert your chart to Full chart as shown in below screen, take backup of report first and
    then do it.
    Here is my Sample RDL file Code, Check it. If possible can you provide your tooltip expression?
    <?xml version="1.0" encoding="utf-8"?>
    <Report xmlns="http://schemas.microsoft.com/sqlserver/reporting/2008/01/reportdefinition" xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">
    <Body>
    <ReportItems>
    <Textbox Name="textbox1">
    <CanGrow>true</CanGrow>
    <KeepTogether>true</KeepTogether>
    <Paragraphs>
    <Paragraph>
    <TextRuns>
    <TextRun>
    <Value>Sparkline</Value>
    <Style>
    <FontFamily>Tahoma</FontFamily>
    <FontSize>12pt</FontSize>
    <FontWeight>Bold</FontWeight>
    <Color>SteelBlue</Color>
    </Style>
    </TextRun>
    </TextRuns>
    <Style>
    <TextAlign>Center</TextAlign>
    </Style>
    </Paragraph>
    </Paragraphs>
    <rd:DefaultName>textbox1</rd:DefaultName>
    <Height>0.37in</Height>
    <Width>5in</Width>
    <Style>
    <PaddingLeft>2pt</PaddingLeft>
    <PaddingRight>2pt</PaddingRight>
    <PaddingTop>2pt</PaddingTop>
    <PaddingBottom>2pt</PaddingBottom>
    </Style>
    </Textbox>
    <Chart Name="Sparkline1">
    <ChartCategoryHierarchy>
    <ChartMembers>
    <ChartMember>
    <Group Name="Sparkline1_CategoryGroup">
    <GroupExpressions>
    <GroupExpression>=Fields!MONTH.Value</GroupExpression>
    </GroupExpressions>
    </Group>
    <SortExpressions>
    <SortExpression>
    <Value>=Fields!MONTH.Value</Value>
    </SortExpression>
    </SortExpressions>
    <Label>=Fields!MONTH.Value</Label>
    </ChartMember>
    </ChartMembers>
    </ChartCategoryHierarchy>
    <ChartSeriesHierarchy>
    <ChartMembers>
    <ChartMember>
    <Group Name="Sparkline1_SeriesGroup">
    <GroupExpressions>
    <GroupExpression>=Fields!ID.Value</GroupExpression>
    </GroupExpressions>
    </Group>
    <SortExpressions>
    <SortExpression>
    <Value>=Fields!ID.Value</Value>
    </SortExpression>
    </SortExpressions>
    <Label>=Fields!ID.Value</Label>
    </ChartMember>
    </ChartMembers>
    </ChartSeriesHierarchy>
    <ChartData>
    <ChartSeriesCollection>
    <ChartSeries Name="VALUE">
    <ChartDataPoints>
    <ChartDataPoint>
    <ChartDataPointValues>
    <Y>=Sum(Fields!VALUE.Value)</Y>
    </ChartDataPointValues>
    <ChartDataLabel>
    <Style />
    <UseValueAsLabel>true</UseValueAsLabel>
    </ChartDataLabel>
    <ToolTip>=cstr(Fields!MONTH.Value )+" , "+ cstr(Fields!VALUE.Value)</ToolTip>
    <Style />
    <ChartMarker>
    <Type>Auto</Type>
    <Style />
    </ChartMarker>
    <DataElementOutput>Output</DataElementOutput>
    </ChartDataPoint>
    </ChartDataPoints>
    <Type>Line</Type>
    <Style />
    <ChartEmptyPoints>
    <Style />
    <ChartMarker>
    <Style />
    </ChartMarker>
    <ChartDataLabel>
    <Style />
    </ChartDataLabel>
    </ChartEmptyPoints>
    <ValueAxisName>Primary</ValueAxisName>
    <CategoryAxisName>Primary</CategoryAxisName>
    <ChartSmartLabel>
    <CalloutLineColor>Black</CalloutLineColor>
    <MinMovingDistance>0pt</MinMovingDistance>
    </ChartSmartLabel>
    </ChartSeries>
    </ChartSeriesCollection>
    </ChartData>
    <ChartAreas>
    <ChartArea Name="Default">
    <ChartCategoryAxes>
    <ChartAxis Name="Primary">
    <Visible>False</Visible>
    <Style>
    <FontSize>8pt</FontSize>
    </Style>
    <ChartAxisTitle>
    <Caption>Axis Title</Caption>
    <Style>
    <FontSize>8pt</FontSize>
    </Style>
    </ChartAxisTitle>
    <ChartMajorGridLines>
    <Enabled>False</Enabled>
    <Style>
    <Border>
    <Color>Gainsboro</Color>
    </Border>
    </Style>
    </ChartMajorGridLines>
    <ChartMinorGridLines>
    <Style>
    <Border>
    <Color>Gainsboro</Color>
    <Style>Dotted</Style>
    </Border>
    </Style>
    </ChartMinorGridLines>
    <ChartMinorTickMarks>
    <Length>0.5</Length>
    </ChartMinorTickMarks>
    <CrossAt>NaN</CrossAt>
    <Minimum>NaN</Minimum>
    <Maximum>NaN</Maximum>
    <ChartAxisScaleBreak>
    <Style />
    </ChartAxisScaleBreak>
    </ChartAxis>
    <ChartAxis Name="Secondary">
    <Visible>False</Visible>
    <Style>
    <FontSize>8pt</FontSize>
    </Style>
    <ChartAxisTitle>
    <Caption>Axis Title</Caption>
    <Style>
    <FontSize>8pt</FontSize>
    </Style>
    </ChartAxisTitle>
    <Margin>False</Margin>
    <ChartMajorGridLines>
    <Enabled>False</Enabled>
    <Style>
    <Border>
    <Color>Gainsboro</Color>
    </Border>
    </Style>
    </ChartMajorGridLines>
    <ChartMinorGridLines>
    <Style>
    <Border>
    <Color>Gainsboro</Color>
    <Style>Dotted</Style>
    </Border>
    </Style>
    </ChartMinorGridLines>
    <ChartMinorTickMarks>
    <Length>0.5</Length>
    </ChartMinorTickMarks>
    <CrossAt>NaN</CrossAt>
    <Location>Opposite</Location>
    <Minimum>NaN</Minimum>
    <Maximum>NaN</Maximum>
    <ChartAxisScaleBreak>
    <Style />
    </ChartAxisScaleBreak>
    </ChartAxis>
    </ChartCategoryAxes>
    <ChartValueAxes>
    <ChartAxis Name="Primary">
    <Visible>False</Visible>
    <Style>
    <FontSize>8pt</FontSize>
    </Style>
    <ChartAxisTitle>
    <Caption>Axis Title</Caption>
    <Style>
    <FontSize>8pt</FontSize>
    </Style>
    </ChartAxisTitle>
    <ChartMajorGridLines>
    <Style>
    <Border>
    <Color>Gainsboro</Color>
    </Border>
    </Style>
    </ChartMajorGridLines>
    <ChartMinorGridLines>
    <Style>
    <Border>
    <Color>Gainsboro</Color>
    <Style>Dotted</Style>
    </Border>
    </Style>
    </ChartMinorGridLines>
    <ChartMinorTickMarks>
    <Length>0.5</Length>
    </ChartMinorTickMarks>
    <CrossAt>NaN</CrossAt>
    <Minimum>NaN</Minimum>
    <Maximum>NaN</Maximum>
    <ChartAxisScaleBreak>
    <Style />
    </ChartAxisScaleBreak>
    </ChartAxis>
    <ChartAxis Name="Secondary">
    <Visible>False</Visible>
    <Style>
    <FontSize>8pt</FontSize>
    </Style>
    <ChartAxisTitle>
    <Caption>Axis Title</Caption>
    <Style>
    <FontSize>8pt</FontSize>
    </Style>
    </ChartAxisTitle>
    <ChartMajorGridLines>
    <Style>
    <Border>
    <Color>Gainsboro</Color>
    </Border>
    </Style>
    </ChartMajorGridLines>
    <ChartMinorGridLines>
    <Style>
    <Border>
    <Color>Gainsboro</Color>
    <Style>Dotted</Style>
    </Border>
    </Style>
    </ChartMinorGridLines>
    <ChartMinorTickMarks>
    <Length>0.5</Length>
    </ChartMinorTickMarks>
    <CrossAt>NaN</CrossAt>
    <Location>Opposite</Location>
    <Minimum>NaN</Minimum>
    <Maximum>NaN</Maximum>
    <ChartAxisScaleBreak>
    <Style />
    </ChartAxisScaleBreak>
    </ChartAxis>
    </ChartValueAxes>
    <Style>
    <BackgroundColor>#00ffffff</BackgroundColor>
    <BackgroundGradientType>None</BackgroundGradientType>
    </Style>
    </ChartArea>
    </ChartAreas>
    <Palette>BrightPastel</Palette>
    <ChartBorderSkin>
    <Style>
    <BackgroundColor>Gray</BackgroundColor>
    <BackgroundGradientType>None</BackgroundGradientType>
    <Color>White</Color>
    </Style>
    </ChartBorderSkin>
    <ChartNoDataMessage Name="NoDataMessage">
    <Caption>No Data Available</Caption>
    <Style>
    <BackgroundGradientType>None</BackgroundGradientType>
    <TextAlign>General</TextAlign>
    <VerticalAlign>Top</VerticalAlign>
    </Style>
    </ChartNoDataMessage>
    <rd:DesignerMode>Sparkline</rd:DesignerMode>
    <DataSetName>DataSet1</DataSetName>
    <Top>0.63in</Top>
    <Left>0.405in</Left>
    <Height>2.45in</Height>
    <Width>4.375in</Width>
    <ZIndex>1</ZIndex>
    <Style>
    <Border>
    <Color>LightGrey</Color>
    <Style>Solid</Style>
    </Border>
    <BackgroundColor>White</BackgroundColor>
    <BackgroundGradientType>None</BackgroundGradientType>
    </Style>
    </Chart>
    </ReportItems>
    <Height>3.225in</Height>
    <Style />
    </Body>
    <Width>5in</Width>
    <Page>
    <LeftMargin>1in</LeftMargin>
    <RightMargin>1in</RightMargin>
    <TopMargin>1in</TopMargin>
    <BottomMargin>1in</BottomMargin>
    <Style />
    </Page>
    <AutoRefresh>0</AutoRefresh>
    <DataSources>
    <DataSource Name="DataSource1">
    <DataSourceReference>DataSource1</DataSourceReference>
    <rd:SecurityType>None</rd:SecurityType>
    <rd:DataSourceID>6abd5341-c043-4ab1-b449-c32e00efc4ac</rd:DataSourceID>
    </DataSource>
    </DataSources>
    <DataSets>
    <DataSet Name="DataSet1">
    <Query>
    <DataSourceName>DataSource1</DataSourceName>
    <CommandText>SELECT 1 ID, 1 MONTH, 50 VALUE
    UNION
    SELECT 1 ID, 2 MONTH, 30 VALUE
    UNION
    SELECT 1 ID, 3 MONTH, 20 VALUE
    UNION
    SELECT 1 ID, 4 MONTH, 10 VALUE
    UNION
    SELECT 1 ID, 5 MONTH, 25 VALUE
    UNION
    SELECT 1 ID, 6 MONTH, 50 VALUE
    UNION
    SELECT 1 ID, 7 MONTH, 10 VALUE
    UNION
    SELECT 1 ID, 8 MONTH, 20 VALUE
    UNION
    SELECT 1 ID, 9 MONTH, 30 VALUE
    UNION
    SELECT 1 ID, 10 MONTH, 40 VALUE
    UNION
    SELECT 1 ID, 11 MONTH, 45 VALUE
    UNION
    SELECT 1 ID, 12 MONTH, 50 VALUE
    UNION
    SELECT 2 ID, 1 MONTH, 25 VALUE
    UNION
    SELECT 2 ID, 2 MONTH, 30 VALUE
    UNION
    SELECT 2 ID, 3 MONTH, 10 VALUE
    UNION
    SELECT 2 ID, 4 MONTH, 30 VALUE
    UNION
    SELECT 2 ID, 5 MONTH, 45 VALUE
    UNION
    SELECT 2 ID, 6 MONTH, 35 VALUE
    UNION
    SELECT 2 ID, 7 MONTH, 10 VALUE
    UNION
    SELECT 2 ID, 8 MONTH, 50 VALUE
    UNION
    SELECT 2 ID, 9 MONTH, 20 VALUE
    UNION
    SELECT 2 ID, 10 MONTH, 14 VALUE
    UNION
    SELECT 2 ID, 11 MONTH, 40 VALUE
    UNION
    SELECT 2 ID, 12 MONTH, 45 VALUE</CommandText>
    <rd:UseGenericDesigner>true</rd:UseGenericDesigner>
    </Query>
    <Fields>
    <Field Name="ID">
    <DataField>ID</DataField>
    <rd:TypeName>System.Int32</rd:TypeName>
    </Field>
    <Field Name="MONTH">
    <DataField>MONTH</DataField>
    <rd:TypeName>System.Int32</rd:TypeName>
    </Field>
    <Field Name="VALUE">
    <DataField>VALUE</DataField>
    <rd:TypeName>System.Int32</rd:TypeName>
    </Field>
    </Fields>
    </DataSet>
    </DataSets>
    <Language>en-US</Language>
    <ConsumeContainerWhitespace>true</ConsumeContainerWhitespace>
    <rd:ReportUnitType>Inch</rd:ReportUnitType>
    <rd:ReportID>59e8101c-8585-409d-82e7-c6719e928567</rd:ReportID>
    </Report>
    Thanks
    Prasad
    Mark this as Answer if it helps you to proceed on further.

  • Sparkline chart not visible in obiee mobile app using ipad

    Hi,
    While trying to test our dashboard on IPAD 2, I am noticing that I am not able to view sparkline charts in the IPAD. I understand that since sparkline charts are built using JQUERY and Apple devices don't support jquery, therefore this doesnt work. Can someone please suggest any workarounds, so that we can get the sparkline charts working in the IPAD?
    Thanks,
    M
    Edited by: 918276 on Mar 1, 2012 4:56 PM

    Hi,
    Viewing the reports generated by OBIEE on the phone/ipad devices requires further configuration of the OBIEE presentation server as the devices presently does not support Flash displayed on web pages. So reports that contain Flash components like charts are not displayed correctly.
    We can modify the instanceconfig.xml file to display charts in a custom graphic format like PNG or JPEG instead of flash.
    Include the following in <Server Instance> section of instanceconfig.xml
    <Charts>
    <DefaultImageType>PNG</DefaultImageType>
    </Charts>
    It is recommended that you configure a separate presentation server to cater to the mobile device users as displaying charts in PNG or JPEG disables some of the interactive features offered by Flash.

  • Modifying Sparklines

    Here's the situation. I have an Excel sheet that tracks financial indicators (like Prime Rate, exchange rates, etc.) on a monthly basis. This sheet uses sparklines to chart the last 12 months of data. The sheet has a procedure which hides all but the current
    and previous 11 months of data. So I need to include in this procedure a way to reset the Sparkline data for each row to reflect the new range of columns. I've tried a few things. but the only thing I was able to do is adjust just the first sparkline cell
    in the range. I can't find any code to adjust them all.
    This is the code that worked but only on the first sparkline in the range:
    For intRow = 8 To 39
        strRange = "AP" & intRow
        strSpark = Cells(intRow, intCurr - 11).Address & ":" & Cells(intRow, intCurr).Address
        Range(strRange).Select
        ActiveCell.SparklineGroups.Item(1).Item(1).SourceData = strSpark
    Next intRow
    I stepped through the code and strSpark correctly evaluated to the correct range for the current row. Also the highlighted cell did move correctly as I stepped through it. My suspicion was the fact that Item was hard coded to 1 meant it only changed the
    first item in the group. So I tried changing 1 to intRow-7 so it would reflect the index # of the next Item, But that gave me an application error. 
    So I decided to ask for help after spending several hours on this. Can anyone give me code to run int he loop which will change the range for the Sparkline properly!
    I should note that while I'm very good with Access VBA, I'm not that well versed on Excel VBA.
    Scott<>
    Hope this helps, Scott<> P.S. Please post a response to let us know whether our answer helped or not. Microsoft Access MVP 2009 Author: Microsoft Office Access 2007 VBA Technical Editor for: Special Edition Using Microsoft Access 2007 and Access 2007
    Forms, Reports and Queries

    Re "Basically I don't under stand how Sparklines work as a group."
    Try this - put this sample data in B2:G4,
    1
    2
    1
    2
    1
    2
    2
    3
    2
    3
    2
    3
    3
    4
    3
    4
    3
    4
    Select H2:H4, Insert, Sparklines, Column, Data Range B2:D4 (3x3 cells) and accept the Location range H2:H4
    Now select any sparkline cell, say H4
    Sparkline Tools, Design, Edit Group Location & Data, Change the Data Range to E2:G4 
    IOW the same 2D Range applies to all cells in the group, change one and you change them all.
    Sometimes you may need to do Switch Row/Column depending
    on which direction you want to trend, try with this sample and the difference should be obvious.

  • Sparkline Chart in OBIEE

    Hi,
    How to built Sparkline chart with OBIEE? Is it possible to built it by any customization?
    Appreciate any help.
    Thanks,
    Vino

    Hi RMN,
    I've wanted to blog in the past, but I've got a pesky contract that says anything I blog about is my company's property (which doesn't sit too well with me). So I opted to help people in the public forum instead, that way others can read it and pass it around. So feel free to re-post this anywhere you want to.
    High-level: My approach was to create two Answer Requests, Sparkline Graph and Sparkline Pivot table. In OBIEE, the charts/graphs are embedded flash objects. My goal was to put a place holder embed tag for the sparkline graph in the pivot table and then use javascript to update the embed tag SRC attribute based upon an xmlHTTPRequest to the Sparkline Graph.
    Keep in mind, I programmed and tested on Mozilla. I just tested on IE and it doesn't work. Some of the xmlHTTPRequest commands need to be tweaked for cross platform compliance. I'll work on that when I get some free time, but meanwhile, feel free to go over this.
    Part 1)
    a) Create your Sparkline Graph first. In the screen shot I posted above, my graph metric is filtered on a plant-by-plant basis and projects the given measure over a calendar year, by month.
    b) Make sure you size it small. I moved the sliders to the first mark on both the horizontal and vertical.
    c) Remove any markings like grid-lines, titles, etc, to your liking.
    d) Save this request and note the name and the full request path
    Part 2)
    a) Create your pivot table report. As you can see, I pivot by month and each row is based on the Plant number. What ever your graph is prompted on, you need those fields in the row of the pivot table.
    b) Go into the formatting on your column that makes up the pivot row, in my case it's Plant Name, and add the following custom CSS style: font-family:Sparkline. This lets the javascript find what value to pass to the detail report.
    c) Create your sparkline column (i.e. add any column to the report). Format it as HTML and put the following into it. '<embed type="application/x-shockwave-flash" name="sparkline" width="100" height ="60" wmode="transparent" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" src=""/>'
    d) Copy and paste the following javascript into a static text object with HTML enabled. You will need to change the path of the request in the URL variable to your particular Sparkline graph path. Search for "chart_url" in the code. This uses standard GO URL syntax. In my case the path is "/users/administrator/Java%20Script%20Test/Sparkline%20Detail" and the column is "Scorecard.Plant". Replace those values as appropriate in your situation. The rest of the code should be fine as is. It basically looks for all the values tagged with the font-family:Sparkline and makes calls to your graph report. It then parses that call and pulls EMBED tag and gets the SRC attribute. It finally updates all those place holders with the appropriate SRC value.
    <script type="text/javascript">
    var debug =0; // set debug variable
    if (debug === 1) { document.write("Begining to get addSparkline function " + "<BR>");}
    if (debug === 1) { document.write("Setting up reg_exp variables" + "<BR>");}
    var sparkline_re = /Sparkline/;
    var chart_request = new XMLHttpRequest();
    var values = new Array();
    if (debug === 1) { document.write("Setup array for values" + "<BR>");}
    var elements = document.getElementsByTagName('*');
    if (debug === 1) { document.write("Get all tags" + "<BR>");}
    for( var element = 0; element <elements.length; element++)
         //if (debug === 1) { document.write("Looping over Elements: " + element + "<BR>");}
         if( !(sparkline_re.test( elements\[element\].getAttribute('style') )))
              // Not the sparkline area pass!
              //if (debug === 1) { document.write("Didn't find the style continue: " + elements\[element\].style.fontfamily+"<BR>");}
              //if (debug === 1) { document.write("Didn't find the class continue: " + elements\[element\].className + "<BR>");}
              continue;
         if (debug === 1) { document.write("Found the sparkline value element" + "<BR>");}
         var value = "\"" + elements\[element\].innerHTML + "\"";
         if (debug === 1) { document.write("Get the inner HTML" + "<BR>");}
         values.push(value);
         if (debug === 1) { document.write("Value is : " + value + "<BR>");}
    var embeds = document.getElementsByTagName('embed');
    if (debug === 1) { document.write("Get array of embeds" + embeds.length + "<BR>");}
    for ( var embed = 0; embed <embeds.length; embed++)
         if (debug === 1) { document.write("Looping over Embeds: " + embed + "<BR>");}
         var startIdx;
         var endIdx;
         var innerHTML;
         var chart_url = "saw.dll?Go&Action=Navigate&path=/users/administrator/Java%20Script%20Test/Sparkline%20Detail&col1=Scorecard.Plant&val1=" + values\[embed\];
         if (debug === 1) { document.write("Created XMLHttpRequest" + "<BR>");}
         if (debug === 1) { document.write("Setup the onreadystatechange function" + "<BR>");}
         chart_request.open("GET",chart_url,false);
         if (debug === 1) { document.write("Opened URL: " + chart_url + "<BR>");}
         chart_request.send(null);
         if (debug === 1) { document.write("Set send to NULL" + "<BR>");}
         startIdx = chart_request.responseText.indexOf("<embed");
         endIdx = chart_request.responseText.indexOf("</embed>");
         innerHTML = chart_request.responseText.substr(startIdx,endIdx-startIdx);
         startIdx = innerHTML.indexOf("saw.dll");
         endIdx = innerHTML.indexOf("\"",startIdx);
         embeds\[embed\].src = innerHTML.substr(startIdx,endIdx);
    if (debug === 1) { document.write("Finished" + "<BR>");}
    </script>
    Good luck and tell me if you have any troubles implementing this.
    Best regards,
    -Joe
    Edited by: Joe Bertram on Dec 22, 2009 11:56 AM

  • Sparklines in Crystal?

    Post Author: cmilkosk
    CA Forum: Charts and Graphs
    Does Crystal Reports support sparkline graphs?  If anyone is familiar with Ed Tufte's work in the visual display of quantitative information, you'll know what I mean.  Basically sparkline graphs are tiny but high resolution graphs.  For example, a typical sparkline graph would fit in a Microsoft Excel cell or be only about an inch or two long.   Bissantz Software makes some stuff for the Microsoft Office family of products (see their site for examples of sparkline graphs - http://www.bissantz.com/sparkmaker/index_en.asp), but I didn't see anything for Crystal.  I'd be surprised if Crystal didn't actually already support sparkline-like graphs in some way.Thanks,Chris

    Hi there...
    Just thought id give some suggestion. I am also sitting with the problem where i have a Windows 2008 Server and eventually i have decided to go back to the Ver. 10.2.3600 for the server and now i am using that. Atleast the report can now show in the Crystal Viewer. although i am also still struggeling to get the export button or the print button to work. whenever i press those buttons the viewer just dissapears.
    Any help on that one solong?

  • Sparklines in OBIEE

    Dear All,
    Can anyone is aware or know whether Sparklines are supported in OBIEE Interactive dashboards and also let me know whether it can be implemented by any customizations?
    If anyone has done such customizations, please share the steps and any Pseudo code or link (if any)
    This is very critical and requires a reply for the same.
    Thanks in advance.

    Unfortunately OBIEE does not directly support sparklines. There are couple of small things that you can do.
    You can simple download the report to Excel and use the sparkline template add in in excel to build the same.
    There are some custom images that we can make use of them in conditional formatting tab of columns in OBIEE. We can import sparkline images and specify the condition there.
    Hope it helps
    Prash

  • Having seperate filters for the table and sparkline

    I created a dataset that shows Name, Number of Success and time for a record. the table keeps the number of successes per person for every hour for the last 24 hours. So every unique name has 24 entries in there.
    I would like to come up with a table that will only show the name and the latest number of successes for a person; and to the right of the table, a sparkline that shows the trending for that person for the last 24 hours.
    I do not want this to be an expandable table to right. Every row will show the data for a single name. No multiple columns for separate timing info.
    So far I tried to apply multiple filters to my table but had no luck.
    Any ideas is greatly appreciated.
    Thanks

    Hi masavran,
    According to your description, you have several records group by Name in your report. Now you only want to show the last record of each group and add a line chart for each group. Right?
    In this scenario, we can add a row inside of group and show the last record of the group. Then we add a line chart in this row. Set the series group on name, the chart will display the information of current group (Name). Also we need to hide the detail
    row in the group so that it will only display the last row for each name. We have tested this case with sample data in our local environment. The design looks like below:
    In this sample, we use Hour to show time and we only have data for previous 6 hours. The result looks like below:
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou
      

  • Where can i find ID from Interactive Report?

    Hi,
    where can i find the id from an interactive report, not primary, but self created filter, for example IR_REPORT_165860 ?

    Dila,
    The ID created points to the internal PK used for that report/region. You can view the source of the HTML to see what that ID is.
    However, I would not recommend using this ID for anything, as it will change when you move your application to another instance. Instead, consider using the Static ID attribute of any region or report. There, you can set a more permanent ID for that region, and refer to that programmatically.
    Thanks,
    - Scott -
    http://spendolini.blogspot.com
    http://www.enkitec.com

  • Re: Column is not getting displayed in the BI report

    Hello Gurus,
    I have developed a BI report with more number of parameters.
    Case 1:
    When i run my report , I am able to see data for particular condition but one column doesn't show any thing. All the rows in the column are blank.
    Case 2
    I tried to put the blank column as parameter, The Program works with out displaying that column data.
    I am not sure where it is going wrong. I tried running the code in toad and i am able to see the data.
    I have checked the code, Parameter description, length, Template and data definition.
    Please help.
    Thanks,
    Sreekanth

    Hi ,
    For that column did u changed any alias name in the query...
    check ur template once by loading the xml data...
    check that column form field that matches with the xml tag or not..
    Thanks,
    Ananth

  • Open and cancelled Quote Report

    Hi,
    Can anyone give me the information  for getting open and cancelled Quote Report?

    I hope you are using reason for rejection for cancelling quotations. If that is the case, you can use transaction VA25 to view the list of quotations. Here you can filter on two columns status and reason for rejection to view the report as per your requirement.
    Regards,
    GSL.

  • Print Quote Report

    Hi All,
    I have a requirement to develop the custom print Quote Report. When i review the standard pring quote report ,I found a call like <?call-template:TermsTemplate?>.
    This statment itself is getting all the Terms and Conditions for that report. when i looked in the ASOPRTXSL.xsl, I see the below statement
    <xsl:template name="TermsTemplate">
    <xsl:call-template name="PrintContractTerms"/>
    </xsl:template>
    I am pretty new to XSL, dont know what's happening here. Please help me ASAP
    I have also posted this question in BI Publisher but did not get any respose . Please Help
    Thanks

    If you want to create a custom report using concurrent program then refer:
    http://apps2fusion.com/apps/apps/63-xml-publisher-concurrent-program-xmlp
    If you want to create a custom report using OAF page then refer:
    http://apps2fusion.com/at/51-ps/260-integrating-xml-publisher-and-oa-framework
    -Anand

  • XML Quote report

    We have a problem with our XML Quote report that cuts off the report at 26 pages when it should go to about 200 pages.
    We have another report the Acknowledge Quote and it works fine.

    Finally we found the solution for this problem.
    1. Open qotSCocPrint.jsp and add below line inside <SELECT id="qotOutFrmt" name="qotOutFrmt"> statement. This line should be added after "for" loop.
    <OPTION value="EXCEL">Excel Format</option>
    We can add as many options the XML Publisher supports.
    2. Decompile oracle.apps.aso.print.webui.MainCO.class (Controller).
    Change the below line
    httpservletresponse.setContentType("application/pdf");
    to
    httpservletresponse.setContentType("application/"+quoteOutputFormat.toLowerCase());
    Take a backup of the original file, compile the java in the same directory.
    3. Decompile oracle.apps.aso.print.server.PrintQuoteAMImpl.class and change this line
    Field field = class2.getDeclaredField("OUTPUT_TYPE_PDF");
    to
    String outputFormat="OUTPUT_TYPE"+as[12].trim();
    Field field = class2.getDeclaredField(outputFormat);
    Bounce Apache and generate the Quote output in desired format.

Maybe you are looking for

  • Issue while creating ADF Table programatically

    Hi, I am trying to create a table programatically...And i implemented like below:             RichTable phoneTable = new RichTable();             phoneTable.setEmptyText("No Phone Details yet");             getContactPhone(contactObj.getPhone());    

  • What are the tables and field where Cost Center info. is stored ?

    Hi Experts, One of my customer is using the Cost Center / Profit Center and mention the same in all document. Now for particular Incoming Payment customer wants to print the dimention wise details entered in incoming payment as well as out going paym

  • Playlist is Music Not Recognized in Apple TV

    Hello all, At least with iTune 9.0, there is a built-in Podcasts, Music, etc. playlists. These don't seem to be recognized on the Apple TV (even with 3.0). Can someone else confirm this behavior? It seems the iPhone understands it but not Apple TV. J

  • Interne connection problem with Macbook

    I have a new 13 inch white macbook . It keeps on disconnecting with the internet . My PC laptops dont have this problem . I am using AT&T Gateway wireless modem . The macbook would show no connection and then after the diagnostics are run and the bro

  • Inserting files in to Oracle 8i database through JDBC - Only 4k data file

    Hi, I need to insert a files(images or excel files, doc files etc..) in to oracle 8i database through JDBC program. But i am not able to store more than 4k data files in to files. can any body give me solutions regarding this. My code is like this...