Hint Values on Line Chart

When you setup a line chart, the LABEL portion of the SQL query becomes the X axis value on the line chart. When there are multiple series on a line chart, each series is its own distinct line. If the series has a LABEL that is not yet on the chart, it adds that label to the x axis at the end of the axis. If the new series has a LABEL that is already on the chart, then it places the Value on that existing place on the x-axis. This Label is also used in the Hint portion of the chart.
So lets compare the number of Sales per day of a Department across a length of time, say 3 months. So, on first working day on Jan dept A has 31 sales. On the second working day of January thay make 35 sales and so on until March 31. Our company doesn't work on weekends so we won't have sales on those dates. Dept B has their numbers for the same dates.
We setup a series for each month (Jan, Feb, March). Then we place the total number of orders for each date on the graph and connect the dots! Great! But wait, the more months I add, the shorter each line gets on the graph. What if we were comparing 3 years worth of data instead of 3 months. The x-axis would have 600-700 values instead of 60-70 values. Oh my.
What if we make each series of data its own line over the same scale? That way each month shows in the same space with the first day of the month at the left and the last day of the month near the right. Sounds good. But wait, we are now making up a scale. And when we do this, the Hints on the data points become meaningless. I want to show the actual date value in the hint but have the line over my custom X-Axis. What I need is an additional field that I can use to add to the Hint portion of the chart. Obviously, this would require using custom xml and a custom data element, but is this even possible given the constraints of the SQL syntax?
To visualize this issue better: http://apex.oracle.com/pls/otn/f?p=28155:1
Austin

Andy -
I need to thank you for the direction on the substitution variables reference. That will be a major help.
However, i must correct a statement (underlining is mine)
So, if you switch to Custom XML and find the <tooltip> tag and add {%SeriesName} after the existing {%Name} entry, you end up with the _"day of the month" (which is your value)_ and the Series Name value, which is January - so, "1 January"This is a common misconception that the numeric value on the x axis represent the "day of the month" , when in fact it does not. You logically cannot use the day of the month for this type of axis. Why not? It is because weekends are excluded. So, one month may begin on a Friday. If that were the case then the 2nd of the month would be a Saturday, which would work for a single series of data. But what about when you add in the next month and it begins on a Tuesday. Well then, if you use the day of the month as the value, the 2nd day of the second series actually gets plotted after all the days of the first month.
The solution is that you have to generate a common arbitrary scale for all series of data. When you do that, you lose the date values.
I have tried to illustrate all of this by adding to the existing examples in the link provided above. Some other odd behaviors of using the day of the month as the x-axis value can be seen as well. I have also implemented the suggestion of adding the {%SeriesName} tag to the Hint via the custom xml.
Austin

Similar Messages

  • I need axe x and also axe y as value Axes (Line chart) ?

    I've got a chart of measured data. axe x I've got frequency measured not linearly (30;38;40;42;....44;44.5;45;45.5; ........50;52;60). I need my axe x going logically different steps with data, not like now every gap is same (between 30 and 38 is same gap like 44.5 and 45).
    Thank you for advice

    To Chart X-Y value pairs, you must choose the Scatter Chart. In the Scatter Chart you can have Connecting Lines.
    Jerry

  • Show tooltip on click of chart values in line chart

    I have given a task, where i need to show tool tip on click of the chart values. That tool tip should also have a close button. Tool tip should be closed only when a user clicks the close buttton or when the user clicks on other chart values.
    Thanks in advance...

    I have given a task, where i need to show tool tip on click of the chart values. That tool tip should also have a close button. Tool tip should be closed only when a user clicks the close buttton or when the user clicks on other chart values.
    Thanks in advance...

  • Line Chart - number of values it can chart

    Is there a limit to the number of values the line chart is able to chart?  It appears when too many results are returned the chart truncates the last data points.  When I look at the data all values are present but the chart only charts the first ? values.

    Sam,
    How many values are you trying to plot on a chart.  There is not necesarily a limit but will be limited to the size of your chart and considering you can plot one point per pixel this will depend.  We recommend the option in the iChart of "Use Screen Resolution" as this will limit your data points to the size of the screen otherwise it can get very unsightly and confusing,  if you have a chart which is 640x480 and are bring back 2,000+ datapoints and plotting them this will be very confusing and most likely counter productive.
    Erik

  • Line chart in WEBI

    HI
    I have vertical stacked line chart in the webI report and I have no issues with the values and Line chart is perfect, but with in the chart user want's a standard horizontal line perpendicular to Y-axis at value 40. No matter what ever is the prompt value but this standard should be always display at value 40.
    I have gone through the properties very well but still not able to recognize?
    Thanks,

    Hi Arijit ,
    I want to create a Stacked bar and line combination chart in Web I B0 XI 3.1 SP5.
    I want to show category wise sales in stacked bar and ASP in the line in same chart .
    please tell me how to create stached bar line chart in Web Intelligence
    Thanks ,
    Charu

  • Display column values as a series/legend on a line chart where one column value can be more than one category

    Hi Everyone
    I don't know if this is possible or not, so I will describe it. I have a column in a table called Filing. There are currently three values in it ("Abuse", "Neglect", "Voluntary") and each record has this populated. I also have
    the below slicer for the column also.
    I would like to add a fourth value called "Abuse/Neglect" that would identify instances where both an Abuse and Neglect petition was filed, which is a subset of the Abuse and Neglect records in the Filing column.
    My question is, is it possible to create a line chart that has the 4 Filing possibilities: "Abuse", "Neglect", "Voluntary", "Abuse/Neglect" as the Series/Legend in the line chart?
    The problem is that there are records that are more than one category: Abuse or Neglect records can also be Abuse/Neglect.
    Paul

    Hi Paul,
    According to your description, there is a column with the values ("Abuse", "Neglect", "Voluntary") in your table, now what you need to is that add another value "Abuse/Neglect" in this column, and then use it
    as Series/Legend in the line chart, right?
    In this case, you can add calculated column to your table based on your logic. A calculated column is a column that you add to an existing PowerPivot table. Instead of pasting or importing values in the column, you create a DAX formula that defines
    the column values. The calculated column can be used in a PivotTable, PivotChart, or Power View report as you would any other data column. Please refer to the link below to see the details.
    https://msdn.microsoft.com/en-us/library/gg413492%28v=sql.110%29.aspx?f=255&MSPPError=-2147217396
    Regards,
    Charlie Liao
    TechNet Community Support

  • How not to see values of a serie in a 2D line chart

    Hello,
    I have 3 series in a 2d line chart. There are two series which are the thresholds and one serie for the averages. Thresholds are fix/stable numbers which correspond to straight lines, however the averages as you can image dynamic and changing. What I want is to see the values of averages but not the values of the straight lines. I cannot find a spesific option for the series, I can always show/hide values which does not work for me.
    Thank you from now.

    Hi mertov,
    You can find anychart's documentation in their website. The document that shows and explains all the XML tags anychart uses is the XML reference.
    Best regards,
    Sergio

  • Financial Reporting Line Chart - disable #missing or #zero values

    I need some help regarding the line chart in financial reporting. I want to create a line chart for actual and forecast-values. The underlying Grid contains following values:
    actual-jan = 100
    actual-feb = 121
    actual-march = 119
    actual-april to actual-dec = #missing
    forecast-jan = 100
    forecast-feb = 121
    forecast-march = 119
    forecast-april to forecast-dec = 125
    In the line chart I get two lines, one for actual and one for forecast. Now my Problem is that the actual line has to stop with the march-value but it moves forward till december on the zero level.
    Has anyone an idea how to get the line stopped at march?
    kind regards
    kai

    Supressing or replacing zeroes does not help, the chart still drops to zero for future periods.
    I created an extra column in my grid. In this column i used a formula that says if column a (current year) is greater than zero, show column a numbers, if not, show the number from the row above. I have separate reports for debits and credits, if you are OK with showing negative numbers, just adjust the formula. What my new column does is forecasts a straight line for all future periods for the current year. It is not the exact preferred result, but it keeps the scale appropriate and with a little education almost every executive has accepted it.

  • JDEV 10G: how to display the value of the line chart using jChart in JSP

    I have draw the line chart in JSP using the JChart and now I wan to display the value label in the line there..
    but the value wasn't show..
    anyone can help me..
    thx..

    Hi,
    what I do understand, you want to display the value of each point in your Line Graph.
    I guess you will be having BIGraph.xml file. In this file check the "Show Data Tips When Mouse is over bars" checkbox.
    Lets try with this.
    --Abhijit                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Line chart cuts off x-Axis value

    Hi All,
    Have created a display to display an x-Axis value versus a Y-Axis value using a Line Chart. We want to maximize the chart space so we have removed the Legend from the display, problem is doing this cuts of part of the final x-Axis label and part of the final data point on the graph ? Why - can we move the borders out ?
    Emmett

    Emmett,
    You can "Fake" some extra space out of the right side of the chart by setting the legend colors to blend into the background of the chart.  This includes unchecking the "Use Pen Color?" box and setting the labels in the legend to match as well.  Then simply set the legend to be whatever additional width you need.  Other than this there's not really any other way that I can think of.  Hope this helps.
    Sam

  • Hiding measure values line chart

    Hie Guys,
    I have a line chart with measure object "X" and dimension "Month". Now, the measure values are going to be zero for all previous months. I do not want those zero values to be displayed in the line chart. Is there a way to do this in Webi? I tried to create a variable to substitute Measure object X.
    Variable = If (Measure Object =0) Then "" Else Measure Object. This did not work as the chart only takes measures and the variable is text. Anybody have any suggestions? Thanks.

    Jeewan, Consider this as sample data.
    Now create three variables....
    Month 1 = [M1] Where ([M1]<>0)
    Month 2 = [M2] Where ([M2]<>0)
    Month 3 = [M3]  Where ([M3]<>0)
    Now your data will be
    Right Click on it. Turn into Line Chart. Finally your output is as you required.
    Regards,
    G Sujitha

  • Line chart - possible to have an unbroken line through NULL values?

    Hi,
    I have a line chart. In the middle of my data are a few missing (NULL) values.
    Right now, if there is a null value in the data set, the line is broken. Is it possible to have the line connect through these null values without breaking?
    I appreciate your help.
    Here is an example:
    ###### DATASET (note the null value on 7/15)
    <DATA>
    <MY_ROW>
    <DT>2009-07-13T00:00:00.000+00:00</DT>
    <VAL>5</VAL>
    </MY_ROW>
    <MY_ROW>
    <DT>2009-07-14T00:00:00.000+00:00</DT>
    <VAL>10</VAL>
    </MY_ROW>
    <MY_ROW>
    <DT>2009-07-15T00:00:00.000+00:00</DT>
    <VAL/>
    </MY_ROW>
    <MY_ROW>
    <DT>2009-07-16T00:00:00.000+00:00</DT>
    <VAL>10</VAL>
    </MY_ROW>
    <MY_ROW>
    <DT>2009-07-17T00:00:00.000+00:00</DT>
    <VAL>15</VAL>
    </MY_ROW>
    <MY_ROW>
    <DT>2009-07-18T00:00:00.000+00:00</DT>
    <VAL>10</VAL>
    </MY_ROW>
    </DATA>
    ###### CHART CODE:
    <Graph graphType="LINE_VERT_ABS">
    <LegendArea visible="false" />
    <Title text="" visible="true" horizontalAlignment="CENTER" />
    <LocalGridData colCount="{count(xdoxslt:group(.//MY_ROW, 'DT'))}"
    rowCount="1">
    <ColLabels>
    <xsl:for-each-group xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    select=".//MY_ROW" group-by="DT">
    <xsl:sort select="current-group()/DT" />
    <Label>
    <xsl:value-of select="current-group()/DT" />
    </Label>
    </xsl:for-each-group>
    </ColLabels>
    <DataValues>
    <RowData>
    <xsl:for-each-group xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    select=".//MY_ROW" group-by="DT">
    <xsl:sort select="current-group()/DT" />
    <Cell>
    <xsl:value-of select="sum(current-group()/VAL)" />
    </Cell>
    </xsl:for-each-group>
    </RowData>
    </DataValues>
    </LocalGridData>
    </Graph>
    I would prefer that the line connect the two adjacent values - 7/14 and 7/16.
    Thanks!
    - Matt

    Hi Matt,
    Use this.
    But if you don't want to display the date which has null value, we can do that too.
    chart:
    <Graph depthAngle="50" depthRadius="8" pieDepth="30" pieTilt="20" seriesEffect="SE_AUTO_GRADIENT" graphType="LINE_VERT_ABS">
    <LegendArea visible="true" />
    <LocalGridData colCount="{count(xdoxslt:group(.//MY_ROW,  'DT'))}" rowCount="1">
    <RowLabels><Label>VAL</Label>
    </RowLabels><ColLabels>
    <xsl:for-each-group select=".//MY_ROW" group-by="DT" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <xsl:sort select="current-group()/DT" /><Label><xsl:value-of select="current-group()/DT" />
    </Label>
    </xsl:for-each-group></ColLabels>
    <DataValues>
    <RowData>
    <xsl:value-of select="xdoxslt:set_variable($_XDOCTX,'prev_group', number(0))"/>
    <xsl:for-each-group select=".//MY_ROW" group-by="DT" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <xsl:sort select="current-group()/DT" /><Cell>
    <xsl:variable name="curr_group" select="sum(current-group()/VAL)"/>
    <xsl:choose>
            <xsl:when test="$curr_group > 0">
              <xsl:value-of select="$curr_group"/>
            </xsl:when>
            <xsl:otherwise>
          <xsl:value-of select="xdoxslt:get_variable($_XDOCTX,'prev_group')"/>
            </xsl:otherwise>
          </xsl:choose></Cell>
          <xsl:value-of select="xdoxslt:set_variable($_XDOCTX,'prev_group', sum(current-group()/VAL))"/>
    </xsl:for-each-group></RowData></DataValues></LocalGridData></Graph>

  • How to adjust x axis of line chart for dynamic values from universe

    Dear All,
    I am new to SAP Dashboard. I got one requirment that, user will pass single value to universe using prompt in Dashboard. Based on that prompt value / input parameter, universe will deliver data to plot line chart in my canvas. But, on every request i will get different count from universe. Like for request A = 30 records, request B = 56 records, request C = 2 records and so on.
    Based on the count, i want to display line chart in my canvas which will auto fit the screen. (Auto adjustment of X axis e.g For A, last record on x axis should be 30, for B = 56 and for C =2). Please let me know, how can i achive this task?.
    Note : i know, how to plot simple line chat with fix count.

    This is based on the output you get for the selection, get in touch with the functional team and get an idea about maximum no of result set will appear on various selection options. Say example if the functional guy says around 100 then go ahead and map 100 cells for the series.
    Then as arijit said you can use the ignore blank cell option to eliminate the blank rows in the selection.
    Note: Eliminating blank cells will always work at the end of the rows, not in the middle of the rows.

  • Line Charts - X-axis Labels as function of X-axis value

    Hi,
    1) Is there a way to put X-Axis labels in line chart as function of X-axis values ?
    For instance, X-axis values are in minutes and I need to show those as Hours.
    I'm having Hours as separate column as well, but when its selected as X-axis value column, the line graph is disturbed.
    2) Also, how to specify the length/range of X-axis ?
    For instance, in dataset if I've x-axis values from 0 to 5 hours but still want to show on graph the X-axis till 8 hours.
    Thanks for your help in advance.
    Regards,
    Sumit

    Hi Sumit,
    I have tried following things with proper datetime format may be help you.
    1> in your applet code you can add below param
    <PARAM NAME="XAxisDateFormat" VALUE="H">
    it will display your levels in hours for more details please refer Date and Time Format under query template in MII help.
    2>In your Query template under date range you can select duration and duration unit.
    for 8 hour span you can select Duration = 8 and in duration unit = H
    I have tested it for a tag query, may be i did not understand your issue properly but hope it helps you!!!
    Regards,
    Manoj Bilthare

  • Render a trending line chart that tracks 5 values over 13 weeks

    I want to create a line chart that display a trend for 5 categories over 13 weeks. Can someone give me an idea of how the view context would be designed for this at design time?
    I'm new to web dynpro so i hope this makes sense. Would the view context appear similar to this?
    ChartData (node)
    --CategoryType (value attribute)
    --Wk1Value
    --Wk2Value
    --Wk3Value
    --(wk4 through wk13Value)
    Thank you,
    julian

    Crystal Reports is a database reporting tool, thus Crystal's charting engine plots data FROM the database.
    Excel is not; one can manually add values to Excel then plot those values on a chart in Excel.
    So if they only have 5 weeks worth of data being pulled in to CR they'll get a chart for 5 weeks.
    Suggestion:  Report off the excel spreadsheet and pull that data in along with the Excel chart.

Maybe you are looking for