My apex line chart display MM/DD/YYYY HH:MM:SS' for time in axis instead of values

select null link, to_char(date_1, 'MM/DD/YYYY HH:MM:SS'), decode(array_1, 187751439, ios_per_sec) "187751439", decode(array_1, 192603854, ios_per_sec) "192603854", decode

Without giving the format i get the date alone on axis without the time

Similar Messages

  • Legend for a line chart displaying incorrectly

    Hi All,
    I am working with a line chart in webi XI R2. for example conssider the island resort marketing universe. we have 3 resort names like bahamas,US,France and the corresponding "revenue"  for year 1999,2000,2001. Now i want a line chart for each resort and another line for sum of all the revenue.
    So my final line chart contains 4 lines, one each for bahamas,US,France for 1999,2000,2001. and 4 line is sum of all revenues (for all resorts) in 1999,2000,2001.
    I have used a "vertical line mixed" chart for this. All the graph lines are displaying correctly but the legend is displaying wrongly.
    Please advise.

    Hi Raveendra,
    I guess its the 4th line i.e. sum af all revenue that you have added in the same chart is causing the problem.
    My solution is why dont you try and put the sum of all revenue in other chart on the same report.
    May this would help resolve your legend problem.
    If you can give the exact details like what attributes you have selected while running the query and how did you added the sum of all revenue in your chart being more specific, would rather help a bit better in solving the problem.
    Thanks,
    Chirag Desai.

  • Hiding lines on a line chart (Display marker only)

    I would like to only view Markers along with bars in combination chart. Need to make lines transparent or hidden (disable).
    The X category  axis is (different companies), so connecting line is not appropriate.
    There are setting to hide other elements: Markers (Enable or Transparency), Column (Transparency).

    Hi,
    I don't think that is possible out-of-the-box. What you could do is the following:
    1) Create a Bar chart
    2) Create a XY chart (this will be your markers). Create a new series on the XY chart. Point the x-values to the x-axis labels on you bar chart. Point the y-values to the values you would like to display as markers.
    3) Disable display of most of the elements of the XY chart, e.g. chart back ground, legend, vertical axis, gridlines etc.
    4) Move the XY chart on top of you Bar chart
    This will work, but might take a little fiddling :o)
    Hth.,
    Jacob

  • How to display a goal line in a Flash 2D Line Chart?

    Hello,
    I am using Apex 3.0.1 and have a Flash 2d Line Chart displaying a ratio that varies from 1.0 to 1.6 for every month for a year. I need to draw a goal line at 1.2 to show the goal for the ratio. Also, I have grid lines enabled for the y-axis.
    Any pointers/tips on how to accomplish displaying this goal line would be really useful.
    Thanks and Regards,
    Dev

    I'm having the same problem!
    APEX is relatively new to me. CUSTOM XML for tweaking charts is even more recent. I tried to get a goal line to work in a line chart as you described but I have had no success. I really require a target/goal/reference line in a vertical bar chart but getting it to work in a line chart would be a welcome first step.
    I have tried the following 2 samples of code without success:
    <objects>
    <line value='94' text='Target' text_position='right' color='0xFF3300' size='1' alpha='100'/>
    </objects>
    and
    <objects>
    <trend start_value='94' end_value='94' start_argument='' end_argument='' value='' color='0xFF3300' thickness='1' alpha='100'/>
    </objects>
    ==> in the following blocks of the CUSTOM XML:
    <chart .....</chart>
    <chart..<line_chart .....</line_chart>..</chart>
    <workspace> .. <chart_area .....</chart_area> ..</workspace>
    <workspace> .. <y_axis .....</y_axis> ..</workspace>
    <workspace> .. <grid> ..<values .....</values ..</grid> ..</workspace>
    <workspace> .. <grid> .....</grid> ..</workspace>
    Any idea where I am going wrong or what could be missing? Maybe I'm not putting the <objects> parameters in the correct place in the code?
    System Info:
    Product Build: 3.0.1.00.07
    NLS_CHARACTERSET: WE8MSWIN1252
    DAD CHARACTERSET: UTF-8
    JOB_QUEUE_PROCESSES: 10
    Database Version Information
    Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - Prod
    PL/SQL Release 10.2.0.3.0 - Production
    CORE 10.2.0.3.0 Production
    TNS for 32-bit Windows: Version 10.2.0.3.0 - Production
    NLSRTL Version 10.2.0.3.0 - Production
    Thanks for any help!
    Lawrence

  • 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

  • Line Chart cannot drill down on legends and lines

    I am doing a drill down Group report which will show the Sum of Last year's Sales By Country, State and city over a period of time(by date) for throughout the year 2007. Every group will have a line chart with Data title as Sum of Last year's Sales ($), Group Title as Date and legends displaying countries (or states or cities) as USA,UK,Australia. etc.. I have same sort of line chart for State and City as well. So, I got 3 levels of groups with a line-chart displayed in every group level.
    Now, the problem is my drill down would not work on chart lines or legends as it would do for a 2-dimensional data chart like a bar-chart or pie-chart. In the Chart Expert->Data->Layout:Group ->in the On Change Of event selection I am able to specify either Sales.Country (or) Sales.country and Sales.Sales.State. Both options would not let me get the correct linechart with correct data and drill-down working as well.
    The only work-around i got is to display the line chart with legends and showing the Country(or State or City) names in a field in the Group Footer. The drilling will work on those fields, but not on the legends or lines of the line chart. This make my report showing the Country names twice once on legend (with no drill-down) and once on group-footer(with drilling ability to groups below) which is untidy.
    Have anyone tried to make a drill-down crystal report on a 3-dimensional data like this? The World Sales report in Crystal reports C:\Program...\BO\Samples\General Business\World Sales Report is the best example of how i would like to see my charts to drill down. However, they drill down across a 2-dimensional data. I am publishing this Crystal Reports in Business Objects Infoview.

    Please re-post if this is still an issue

  • Line Chart Problem, multiple point in X axis

    I need to create a line chart , with many data points between two points in the X-Axis.
    For example,
    for month january my reading is 4,3,5,2,8
    for month feb my reading is 1,5,3,5,2
    I need only two points in X axis, which are january and feb and all the reading should come in gaph.
    I am attaching a picture of the graph i required. Can any one help me how should i fill the arraycollection or XML in order to get the graph.

    Here is a script which will illustrate how to conditionally display the X-axis label on a line chart:
    DROP TABLE tmp_test_data;
    CREATE TABLE tmp_test_data
    (date_stamp DATE,
      value      NUMBER);
    BEGIN
      dbms_random.seed(1234535678);
      FOR i IN 1 .. 233 LOOP
        -- get a random integer between 1 and 100
        INSERT INTO tmp_test_data
         (date_stamp, value)
        VALUES (TRUNC(SYSDATE)-i, dbms_random.VALUE(1,100));
      END LOOP;
    END;
    SELECT NULL link, CASE WHEN MOD(day,7) = 0 THEN day ELSE NULL END label, value
      FROM (SELECT date_stamp, value, ROW_NUMBER() OVER (ORDER BY date_stamp) day
             FROM tmp_test_data a
             WHERE date_stamp >= TRUNC(SYSDATE)-90
             ORDER BY date_stamp) b
    ;There may be a better way to do this. I know this will work.
    Mike

  • Simple Line Chart - Values over time

    A simple line chart displaying a set of values over time would seem to be a very easy report to design. I'll be darned if I can see how to design it. Can anyone shed some light?
    I have provided links to a report and a spreadsheet which is the report datasource. My actual report will use SQL Server as its datasource. I am providing ths excel based example for the sake of protability.You will need to set the datasource location after saving the files to your hard drive.
    I can get the lines to draw properly, what I cannot figure out is how to specify the datetime values for the x axis. The column I would like to use on the x-axis is called DerivedLoggingTime.
    I'd also like to get control of the logarithmic algorithm used to formulate the y-axis values. I am not always happy with the values that the log algorithm comes up with.
    Any help is greatly appreciated.
    [Link to report|http://www.usol.com/~joe/linechart.rpt]
    [Link to spreadsheet|http://www.usol.com/~joe/AnalysisResults.xls]
    Another discovery while working on this report - our database will be SQL 2008 and  we are making use of the datetime2 datatype. CR appears to be treating this datatype as text. So when working with the SQL based datasource, I had to cast datetime2 columns as datetime in order for CR to see the columns as datetime instead of text. This is fine in this instance because the granularity of the datetime values for this particular report does not require datetime2, but that will not always be the case. CR will need to recognize the new datatype.
    Edited by: Joe Sytniak on Jul 17, 2008 5:37 PM

    Hi Joe,
    The Date Axis Line Chart of the Numeric Axis Type Chart, can be used to display data on a regular interval of days, Months and Years. The information displayed can unfortunately not be more granular that days.
    This type of chart is generally used when the data is recorded on irregular intervals in the database, and to make sense of the information stored it needs to be displayed at regular intervals.
    Since the data stored in your data source seems to be stored every 4 minutes, it will not be necessary to use this type of chart. I will suggest to use the regular line chart instead.
    To create a line chart using your date time field and value:
    1. Select "Chart" under the menu "Insert"
    2. Insert the chart on your report in the desired section.
        ( Group Header # 3 in your case. )
    3. In the "Chart Expert" window, under the tab "Type",
        change the chart type to a line chart by selecting "Line" in
        the "Chart Type" list.
    4. Under the tab "Data", add the database field that contains the Date Time information under the "On change of" list.
    (In your case, add the "DerivedLoggingTime" database field)
    5. To display the data for each minute, select the database fields you just added under the "On Change of" list, and
    click on the button "Order". In the "Chart Sort Order" window,
    select "For each minutes" in the "Section will be printed" drop down list, then click "OK"
    6. Add the field you want to display the value in the "Show Value List", then click "OK"
    Now it will display a line chart as desired, but since there is a lots of data point on your chart, the x axis date time labels will overlap each other. To avoid  this situation, I will suggest to skip labels.
    To format a chart to skip labels:
    1. In the "Preview" tab of the report, select one of the x axis label, and right click on it. In the contextual menu, select "Group (X) Axis Options..."
    2. In the "Group (X) Axis Settings" window, under the tab "Layout", check the option "Skip Group Labels" and set the value to 15 for example.
    Now, it will display the date time label at every 15 data point.
    As for your question on how get control of the logarithmic algorithm used to formulate the y-axis values, we unfortunately do not have much control over it other than:
    - Entering static values, or
    - Checking or Unchecking the option "Use Logarithmic scales"
    The above options are available on the y axis. To change those options:
    1. In the "Preview" tab of the report, select one of the y axis label, and right click on it. In the contextual menu, select "Group (Y) Axis Options..."
    2. In the "Group (Y) Axis Settings" window, under the tab "Scales", you will see the following options:
    - Minimum Values
    - Maximum Values
    - Use Logarithmic scales
    I will suggest to check the option "Use Logarithmic scales"
    Finally, as for the issue you discovered where SQL Server 2008 data type DateTime2 is converted to a string in Crystal Reports 2008, it is important to note that SQL Server 2008 hasn't been released yet, therefore it has not been tested in Crystal Reports 2008. Once SQL Server 2008 is released, I will suggest to test it again using the ODBC driver provided with this new version. 
    At this point I am assuming that this is happening because it is a new data type and an unknown data type get converted to string.

  • Overwrite line chart with horizontal dotted line

    Hie Guys,
    I have a line chart in a report with a dotted horizontal line for the minimum value. I created the horizontal line using a variable
    with the formula - "----------------". The issue I am facing is - when the data values fall inside the horizontal line, it is overwritten by the horizontal line making the values/line difficult to see. Is there a way, I can overwrite the line chart on top of the horizontal line when the values fall inside the horizontal line? Thanks.

    @ Gregory Lafrance,
    You can specify the itemRenderer property for the LineSeries to display the single data point.
    Also in order to align the x-axis label properly you can make use of the DateTimeAxis for the horizontal axis instead of Category axis and use a label function to format the label display name on the x-axis. You can format the label which ever way you want in the labelFunction.
    Here is the sample code..
    <?xml version="1.0"?>
    <!-- charts/BasicLine.mxml -->
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
      <mx:Script><![CDATA[
       import mx.formatters.DateFormatter;
         import mx.collections.ArrayCollection;
         [Bindable]
         public var expenses:ArrayCollection = new ArrayCollection([
            {Month:"Jan", date:"10/25/2010", Profit:2000, Expenses:1500, Amount:450}
        private function formatDateLabel(value:Date,previousValue:Date,axis:DateTimeAxis):String 
            return value.toDateString();
      ]]></mx:Script>
      <mx:Panel title="Line Chart">
         <mx:LineChart id="myChart"
            dataProvider="{expenses}"
            showDataTips="true">
            <mx:horizontalAxis>          
                <mx:DateTimeAxis id="dateTimeAxis" labelFunction="formatDateLabel" dataUnits="days" alignLabelsToUnits="false" padding="0" baseAtZero="true"/>
            </mx:horizontalAxis>
            <mx:series>
               <mx:LineSeries itemRenderer="mx.charts.renderers.CircleItemRenderer"
                    yField="Expenses" xField="date"
                    displayName="Expenses"
               />
            </mx:series>
         </mx:LineChart>
      </mx:Panel>
    </mx:Application>
    Thanks,
    Bhasker

  • CR Enterprise - Custom y-axis labels for line chart

    Hi
    I have data with a discrete status (STATUS-1...STATUS-5) per day, like
    Feb 1: STATUS-1
    Feb 2: STATUS-2
    Feb 3: STATUS-2
    Feb 4: STATUS-1
    Feb 30: STATUS-4
    Feb 31: STATUS-1
    This series I'd like to render in a date axis line chart with the daily status ordinals (1-5) on the y-axis.
    Now I wonder how I can label the y-axis ticks with the respective STATUS text instead of the ordinal.
    Unfortunately, the option "Total (Y) Axis/Axis/AxisLabels/Display Label" is disabled due to the value's numeric nature.
    How can I manually overwrite y-axis labels or map them to custom text?
    Thanks. Jens

    HI Jens,
    Have you tried creating a formula and using that in 'Show Values' section of the chart?
    Formula:
    "STATUS-" & {Numeric_field}
    -Abhilash

  • Line Chart From SQL in 10g

    I need to have a Line Chart from SQL in Oracle 10g Grid Control for the below Scenario
    I had total counts for Messages stuck in the Oracle queue table using one UDM alert
    and i have total counts for messages stuck more than 15 min using another UDM alert.
    Now i have to get a graph with these 2 valus in X axis with counts on Y axis.
    Kindly help me.

    You might want to check the following documentation to see if you can achieve what you need in a custom report.
    Custom reports:
    http://docs.oracle.com/cd/B16240_01/doc/em.102/e14586/information_publisher.htm#BGBFGDCI
    Monitoring views:
    http://docs.oracle.com/cd/B16240_01/doc/em.102/b40007/views.htm#BACDGFJC
    Regards,
    - Loc

  • Line chart problem

    Hi,
    I'm using crystal reports for eclipse.
    When I create a line chart (with 4 ranges) and refresh the report for the first time evrything looks alright.
    After saving and reopening the report something funny is hapening.
    If I refresh the chart the line thickness is increasing.
    If I repeat the refresh action I will get only 1 visible very thick line.
    Is it not possible to create a line chart with 4 ranges.
    If I make the same chart with only 3 ranges this is not hapening.
    Hope someone can help me.
    Ruud

    Hi,
    I have not tested your code, but check these links. This might help.
    http://blogs.adobe.com/flexdoc/2009/07/date_range_selection_for_flex.html
    http://www.stretchmedia.ca/code_examples/chart_range_selection/main.html

  • How to make use of a different data model for a line chart?

    I have a datamodel which is a sql query. I have a line chart on my template which is using some "Start Time" field as X-Axis. There is a chance that "Start Time" is null. In such cases the plotted point doesn't appear with x-coordinate. But I can't change the X_Axis field to some other not-null attribute due to business requirement.
    I am thinking to create another datamodel which filters all "Start Time"s which are nulls and use that datamodel for the line chart that has "Start Time" as X-axis. But I don't know how to do this as whenever I try to insert a line chart from BIPublisher menu in MS_Word, I am not prompted to select the datamodel.
    Can anybody tell me what I am trying is possible? If so how? If not, how do I have "Start Time" as X-axis without hassles?
    Thanks,
    -Vijay-

    Are you able to extract the data based on the new data model in an XML file? If so, in BI publisher desktop, are you able to load the XML data via Add-Ins ->Data -> Load XML Data?
    If you have been able to load the data successfully, then you need to Select Chart from the Insert Menu. When you do that, you should be able to see the Data layout on the left side of the chart dialog box. Then you should be able to drag and drop fields as necessary to create the chart. Are you having issues doing this part?
    You will not be prompted to select the data model. Hope I haven't misunderstood your question.
    Thanks!

  • Removing space under a line chart

    How do I remove the space under a line chart? Its as if space is held for axis labels on the bottom of the chart, even though I do not have any. I ve already set Additional Formatting Options - Bottom Padding and Height. Thanks

    Hi Sophia,
    Id you could send me the screen shot of the chart that would give me better understanding to resolve your issue.

  • Line chart with one line per distinct column value

    Hi,
    For example I have a task dataobject with three fields
    type
    timeCompleted
    duration
    I would like to have a line chart that plots the average duration of tasks over time. With a separate line for each task type. Is this possible? All the examples seem to have one line correspond to one column on the dataobject.
    Jeremy

    Hi Alexandre,
    Thanks for the reply. I understand now, I didn't realise you could add the same data object multiple times with different filters. So for each task type I add the task data object to the view with a filter on the task type and this creates a new line in the chart.
    I was hoping that when data for a new task type reached the bam then I could make it automatically create a new line in the graph for that type. Oh well, I guess the creation of a new task type will be relativly rare.
    Jeremy

Maybe you are looking for

  • Playing a .CDR file from Hard Drive

    Hi, I have copied a DVD to my hard drive using Disk Utility. I did this as a back up should the DVD become damaged or lost. I can make a DVD out of it so all is well. I however wish to be able to watch the DVD directly from the Hard Drive ie from the

  • In my trial version of ppcs6 I can't find the multi-cam monitor

    The particular ways I synced angles in cs5.5 have been removed but I still need the stand alone multi-cam monitor and I can't find it.

  • Lumia 1250 keeps restarting\rebooting

    hi . i have a major problem with my lumia 1520 , the problem is whenever i charge it it gets 100% so fast while its supposed to be 8% or less. and when i unplug it i can't use it for more than 10 minutes until it shutdown and keeps restarting and sho

  • What is the internal impedance of the NI ELVIS Function Generator?

    Does anyone know the load impedance of the function generator? I'm wondering how much it may be tainting the results of Tau for my RC circuit. Thanks.

  • Profit

    Hi, How to do Average Calculation for different types of Discount according to our cost/sale price/profit wise.Please give me the solution for this. Thanks, Siku.