Flash 2D Line chart

I have a chart region - Flash 2D Line chart with two series based on different tables, both with dates along the X axis
and a figure that represents hours up the Y axis. The idea is for two lines to be displayed on the same graph so they can be
easily compared.
series 1
select null link, END_DATE label, PROJECTED_HOURS Projected_hours
from "E_LOGBOOK"."TEST_PROJECTED"
30/07/2009 700
09/08/2009 800
27/08/2009 9000
series 2
select null link, LIFING_DATE label, ACTUAL_HOURS Current_Hours
from "E_LOGBOOK"."TEST_ACTUAL"
30/07/2009 800
09/08/2009 1000
27/08/2009 12000
When I run the chart with the data above it displays as I would expect, the dates label in chronological order along the bottom with the Correct value plotted for each series.
However if I insert a row into the LIFING_DATE table (second series) so it contains additional data for the 14/08/2009
30/07/2009 800
09/08/2009 1000
14/08/2009 1201
27/08/2009 12000
And then re run the chart this last date and value displays to the right of the existing dates so we have 30/07/2009 09/08/2009 27/08/2009 then 14/08/2009 along the X axis.
I would have expected the new data to fit in the existing range so that 30/07/2009 09/08/2009 14/08/2009 27/08/2009 would display along the bottom.
I am an oracle forms programmer new to APEX (and html, javascript,XML etc) trying to prepare a demo to my manager of what we can do with apex so any help appreciated.
If possible is there a solution without using Third party apps or bi publisher.
Thanks Pete

Hi Andy,
Thanks for your quick response. If I'm correct in understanding what your saying is that with 2D Line charts that have two series in order for them to display togethor then the label must appear in both series.
I've had a bash using your sql for the 1st series and modifying the second series.
Series 1
SELECT NULL LINK,
X.THE_DATE LABEL,
Y.PROJECTED_HOURS VALUE
FROM
(SELECT END_DATE THE_DATE FROM TEST_PROJECTED
UNION
SELECT LIFING_DATE THE_DATE FROM TEST_ACTUAL
) X
LEFT OUTER JOIN TEST_PROJECTED Y ON X.THE_DATE = Y.END_DATE
ORDER BY X.THE_DATE
07/30/2009 700
08/09/2009 800
08/14/2009
08/27/2009 9000
Series 2
SELECT NULL LINK,
X.THE_DATE LABEL,
Y.ACTUAL_HOURS VALUE
FROM
(SELECT END_DATE THE_DATE FROM TEST_PROJECTED
UNION
SELECT LIFING_DATE THE_DATE FROM TEST_ACTUAL
) X
LEFT OUTER JOIN TEST_ACTUAL Y ON X.THE_DATE = Y.LIFING_DATE
ORDER BY X.THE_DATE
07/30/2009 800
08/09/2009 1000
08/14/2009 1201
08/27/2009 12000
This is a great improvement the series 2 now displays fine and all the points for series 1 are plotted correctly but it seems like the null value prevents the joining of the coordinates in this series. All the points 700,800 and 9000 are displayed correctly but the graph line only joins 700 and 800.
Any further ideas? Thanks Pete

Similar Messages

  • 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

  • Need Help In Flash/Flex Line Charts...Output should be like stock exchange chart

    Hello Friends,
    I need a small help from you guys.
    I want to do a line chart example in flash cs3 or in flex. Actually my requirement is getting the data from external file ie xml and with that i want to display a line chart with some time interval just like stock exchange charts for example.
    I have to do this either in flex or in flash cs3. i dont have any ideas how to proceed. can anyone help me out on this. i need it asap.
    Thanks
    Rajesh

    hi
    flex has charting components you can use. see: http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/mx/charts/LineChart.htm l (example at the bottom of page)

  • Change Color from grid lines in Flash 2D Line Chart

    Hi,
    does anybody know how to change the color from the grid lines in 2D Line Chart?
    The color is always black (000000), I will use gray (CCCCCC).
    I can use a custom XML. Can you give me an example please???
    Where can I read something about the possible XML-Tags in Custom XML for Charts?
    Best regards
    Simona

    Simona,
    anychart.com has XML reference you can use for the charting engine in APEX.
    Try using custom XML and sticking this inside the grid > values tag:
    <lines color='0xCCCCCC' />- Marco

  • Flash line chart with multiple lines

    Here a newbie with apex...
    Created a flash line chart with as source the following sql statement:
    select null link, year, sum(total_cost) from cost
    group by year
    a chart has been created with a single line. i wanted every year on an own line.
    The way i could do this is with multiple series like:
    select null link, year, sum(total_cost) from cost
    where year =2008
    select null link, year, sum(total_cost) from cost
    where year =2009
    But this not a good solition, cause now i've to add every year a new serie
    hope to get some help from here... txn in advanced.

    tnx for your reply...
    I will explain myself more by a picture of the wanted result, see below:
    [Click here for the example image|http://img44.imageshack.us/img44/3444/grapha.jpg]
    In your reply you wright you think i can create the graph with pl/sql process. After seeing my example you still think that's needed?
    Hope you or some else can help... tnx in advanced.
    greetings

  • Flash line chart change line style.

    Hi guys,
    I am migrating charts in my application from SVG to Flash.
    For line charts in Flash, is there a way to change line style from solid to dashed or dotted?
    Thanks in advance.

    Hi,
    If you're using the new AnyChart then you can using bevel...not sure how its done with the old but it must be possible. Example here: http://anychart.com/products/anychart/docs/users-guide/Samples/Sample-Line-chart-Application-of-different-styles-to-chart-elements.xml
    <effects>
    <bevel enabled="true" highlight_opacity="0.4" shadow_opacity="0.4" distance="2"/>
    <drop_shadow enabled="true" opacity="0.3"/>
    </effects>Mike

  • Flash line chart: manipulating the line and data point

    In Apex 3.1 Flash line chart
    Is there a way to change the line thickness and suppress the circular data point? We think it looks cartoonish and ugly especially when there are many data points.
    Thanks,
    Fred

    Hello,
    Use Custom XML in the Chart attributes and replace the line_chart section with:
          <line_chart left_space="5" right_space="5">
            <block_names enabled="no" />
            <dots type='circle' radius='2' />
            <lines size='1' auto_color='yes' tone='0xFFC700' color='0xC1C1C1' />
          </line_chart>I've put the example here also: http://examples.apex-evangelists.com/pls/apex/f?p=286:34:0
    If you come to ODTUG, OOW or our "European Apex Training Days" I'll go into more depth about all this.
    Regards,
    Dimitri
    -- http://dgielis.blogspot.com/
    -- http://eurotraining.apex-evangelists.com/
    -- http://apexblogs.info/

  • Getting rid of Markers in Flash Line charts

    Hi,
    I am trying to use Flash Line charts for plotting a few time series graphs. I wish to get rid of the markers and have only the lines.
    Is there any property I need to set to get rid of these markers. I tried "Marker Size=0" in the <line> setting. but doesn't seem to work.
    Any suggestions ?
    Thanks,
    Aswath

    "Adam Deeley" <[email protected]> wrote in
    message news:e996uh$rt7$[email protected]..
    > Hi,
    >
    > When i publish my flash movie for the web the page still
    has a slight border
    > around the left and top sides (even though i have
    specified it not to in the
    > publish settings) Any ideas how to get rid of this and
    also get the browser
    > window to appear at the movie size with no scroll bars
    etc.
    >
    > Really appreciate any help, Thanks Guys
    >
    > Ad
    In the body line of your html..
    <BODY bgColor=#bb9cba leftMargin=0 topMargin=0
    marginheight="0" marginwidth="0">
    tralfaz

  • Line Chart glitch - grid lines thick at certain heights

    The Flex Line Chart control does not display correctly at certain heights.  The gridlines that are supposed to be 1px pin stripes are sometimes displayed up to 100px wide.  This can be demonstrated with 1 line of code
    <mx:LineChart height="33000" x="200" y="0" id="chart_1"  width="100" ></mx:LineChart>
    I also have another small app that uses a timer to demonstrate how as the height increases the gridlines increase from:
    1px to 100px
    then back to 1px
    .... then as the chart's height increases another 7000px the 1px gridlines display correctly
    then it repeats going back to thick, then thin etc... almost a pulsating effect
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark"
                   xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600" creationComplete="init();">
        <fx:Script>
            <![CDATA[
                import flash.utils.Timer;
                import flash.events.TimerEvent;
                private var timer:Timer = new Timer(10);
                private function init():void{
                    timer.addEventListener(TimerEvent.TIMER, changeheight);
                    timer.start();
                private function changeheight(event:TimerEvent):void{
                    chart_1.height=chart_1.height+30;
                    lblHeight.text="Chart Height:"+String(chart_1.height)+"px ";
            ]]>
        </fx:Script>
        <mx:LineChart height="33000" x="200" y="0" id="chart_1"  width="100" ></mx:LineChart>   
        <s:Label id="lblHeight"  />
        <s:Button y="80" click="timer.start();" label="Start" />
        <s:Button y="100" click="timer.stop();" label="Stop" />
    </s:Application>

    Are you able to acheive this.?
    PCXML script is used for chart rendering, and with that I think you can't demark the Gridlines.
    The following Xml file gives the definitions for the chart components including gridlines.
    chartviewtemplates.xml
    Which inturn refers to the following js for gridlines
    i think you have to work on the Js here demark the grid lines by default
    <Oracle_BIHome>\web\app\res\b_mozilla\views\chart
    dlggridlineseditor.js
    Before doing any changes take the backup.
    Thanks,
    Vino
    Edited by: Vinodh NK on Oct 22, 2010 3:44 AM

  • Line Chart Formatting

    Hi All,
    I have created a line chart with 3 series. I have two questions :
    1. My X-Axes brings back 96 rows to display but the only way to see all data is if I use a scroll bar on this axis. I have tried to increase the chart width from 700 to 1000 but this does not have the desired effect. Is there a way to display my data without using the scroll bar ?
    2. Is it possible to have the area within a given series line to be shaded in a certain colour so that it is more visually effective ?
    Thanks
    Edited by: Billy on Aug 24, 2011 2:12 PM

    Hi Shane,
    The reason you don't see the "Show Scrollbar" option for your chart is because scrolling is not currently supported by HTML 5 charts, and so that option is not visible on the Chart Attributes page when you edit your chart.  See the section HTML5 Migration Guide in the AnyChart online documentation for the list of supported features.  Note that the scrolling option is listed as "zoom panel", because scrolling is controlled via the <zoom> tags in the chart XML, as outlined in the Zooming and Scrolling section of the AnyChart documentation.
    So until AnyChart provide support for scrolling with HTML 5 charts, you'll need to use the Flash chart option.
    Regards,
    Hilary

  • Line chart with more than 15 data series - color problem

    Hi all,
    I've built a line chart with 32 data series (user can control, which of them are displayed at a time). For series 16 to 32 I did manipulate the URL in the browser directly, because Application Express does only display parametrs for up to 15 series. This works fine so far except of displaying the colors. For each sieries I defined a different color. 29 of my 32 series are displayed in the desired color. But series 29, 31 and 32 are displayed in a default-color (#0099CC). It seems that this is a SVG-problem. In the SVG-source I find the wrong color. When I export my application, I see the right color.
    Thanks for help,
    Chris

    Hello,
    Which version of APEX are you using?
    Go to your Flash Chart attributes - get into your series (click the icon) in the section of Series Query you'll find the maximum rows.
    Regards,
    Dimitri
    -- http://dgielis.blogspot.com/
    -- http://apex-evangelists.com/
    -- http://apexblogs.info/

  • Line Chart with more than 15 datapoints

    I'm using Apex 3.1.
    I am trying to create a line chart with more than 15 data points. Apparently 15 is the default. Question is, How do I change the default?
    The Wiki has advice for changing the "Maximum Rows" parameter, but "Maximum Rows" is not to be found, either in the chart attributes or series attributes.
    http://wiki.shellprompt.net/bin/view/Apex/ChartIssues
    I have encountered this limitation with SVG line charts and Flash line and scatter charts. Seems like it must be an easy thing to figure out; I feel embarassed asking such a question. But I've been through all the application property pages, much of the documentation, and several tutorials... Where can I change this? It's driving me nuts!
    Thanks
    Fred

    Hello,
    Which version of APEX are you using?
    Go to your Flash Chart attributes - get into your series (click the icon) in the section of Series Query you'll find the maximum rows.
    Regards,
    Dimitri
    -- http://dgielis.blogspot.com/
    -- http://apex-evangelists.com/
    -- http://apexblogs.info/

  • JavaFX line chart with data labels onMouseOver

    Hello
    Is it possible to show the value of a data point in a line chart?
    Here is an example but in flash: [Example of Data labels|http://www.fusioncharts.com/Demos/Blueprint/Default.asp]

    Hi
    I don't use the scene.chart routines but have implemented my own chart with the feature you want - see www.eco-wand.com demonstration which has the feature you wand in the History scene.
    To achieve this, I use the onMouseMoved function to give me the x position within the chart rectangle. I use this to look up my data sequence to get the values which I then display as text.
    abg

  • Bar chart and Line chart in a single chart??

    Hello,
    Was wondering if there is any way to create a bar chart and line chart in a single Flash or SVG chart? If not, are there any plans to introduce such a chart type in the future releases?
    Regards,
    Dev

    Dev,
    I don't think you can do that using standard Flash or SVG. However, you can do this
    using my XML Chart Package
    http://htmldb.oracle.com/pls/otn/f?p=31517:58
    and the instructions given on
    http://www.maani.us/xml_charts/index.php?menu=Gallery&submenu=Composite
    You can modify the package to do that for you.
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://htmldb.oracle.com/pls/otn/f?p=31517:1
    -------------------------------------------------------------------

  • Line Chart doesn't display all the rows

    Hi Friends,
    I have created a Line Chart with Flash Chart type.
    My query returns 52 rows but on the chart it shows only 15 values on the x-axis.
    Is there any thing that I need to specify for maximum number of rows ?
    You can see my example here : http://apex.oracle.com/pls/otn/f?p=1504:11:4822346801294712:::::
    I appreciate your replies.
    Thanks,
    Raj.

    Goshhh...I dont know how I missed to see the 'Maximum Rows' field in Chart Series page :)
    -Raj.

Maybe you are looking for