Line chart (SVG type) in HTMLDB 2.0

I cannot get any value in that type of SVG chart (I have tried bar SVG chart and it works-I know for an issue and some incompatibility with Firefox-but this is not an issue).
The only thing is that I see is grid. Query (of one and only serious) is:
select null link, SECURITY_DATE label, CLOSE_PRICE value
from SEC_HIST_VW
where SECURITY_DATE is date field
CLOSE_PRICE is number field
SEC_HIST_VW is a view (which works on some other forms in app)
Could any one help please?
THX

Ok. Here is my setting:
There is somewhere in the 'chart region properties' a parameter that limits the number of returned rows. The default is 15.
My query returned 25 rows.
If the parameter is set to a lower value than the number of returned lines, nothing is displayed. I set the limit in the 'chart region properties' to 150 and everything was displayed fine.
But there was an other one with the line graph: If you want to display more than one series in the same chart, you must be sure that there is no order by in your select-clauses. Weird, yes, but it works.
I will be back on my platform on monday.
have a nice weekend,
Michael

Similar Messages

  • "no data found" in SVG Line Chart

    Hello,
    I have a problem with a SVG Line Chart!
    I have multiple series in the Line Chart, which data is based on multiple select lists.
    When I leave one select list blank, so that one line has no data, the "no data found" statement appears in the Chart.
    But when I delete the "no data found" statement in the Series Attributes it would not be deleted. Nevertheless when I open the Series Attributes again the message is still there....
    Does anybody have an idea how I van delete the "No Data found Message"???
    Thanks,
    Tim

    Chris and Cristoph -
    I have found that many times errors like this are caused by SQL statements that don't really address the business need or the requirements for the chart. Let me use a simple example:
    SELECT d.dept_name  dept_name,
           sum(s.sales_total)  sales_total
    FROM orders o, depts d
    WHERE o.dept_id = d.dept_id
      AND o.time_frame = 'Q1'
    GROUP BY dept_nameSeems simple enough. But what if this statement is run early during the Q1 timeframe and one dept hasn't made any sales yet? Well, they won't show up in the output of this statement. From a business perspective, you will want that dept to show on the report with a zero total sales. You don't want them excluded from the report. So how do we fix this?
    There are several options.
    One dirty way of solving this is putting in a dummy record for each dept into the orders table with a 0 sales_total value for each time unit. YUK! That has wrong written all over it!
    We could use a different type of join. And then use NVL or a Case or IF statement to turn Null Values into 0.
    SELECT d.dept_name dept_name,
           sum(nvl(s.sales_total,0))  sales_total
    FROM  orders o RIGHT JOIN dept d ON d.dept_id = o.dept_id
    WHERE o.time_frame = 'Q1'
    GROUP BY dept_nameWe could also square our data sets and summarize with an inner select
    SELECT dept_name dept_name,
           sum(sales_total) sales_total
    FROM (
      SELECT d.dept_name ,
             sum(s.sales_total)  sales_total
      FROM orders o, dept d
      WHERE o.dept_id = d.dept_id
        AND o.time_frame = 'Q1'
      GROUP BY dept_name
      UNION ALL
      SELECT DISTINCT dept_name ,
             0 sales_total
      FROM dept
    GROUP BY dept_nameThe final result is that every dept has a value. That is the key. This is how the chart expects the data and this is probably how your business expects the data.
    Austin

  • SVG line chart raises ORA-20001 witha valid SQL query

    Hi,
    I am on version 1.6 & 10g database. I developed an SVG line chart which was working fine, but I wanted to fill in some sparse data by using data densification. So I enhanced my query with a partitioned outer join as follows:
    select null l, month_start, issue_count
    from
    (with dates as
    (select add_months
    ( to_date( '01-jul-2004' ),
    column_value-1) dt
    from table( vtable(12) )),
    iss as
    (select trunc(start_date, 'MON') mon , count(*) cnt
    from issues
    group by trunc(start_date, 'MON'))
    select dates.dt month_start, NVL(iss.cnt, 0) issue_count
    from dates left outer join iss on (dt=mon)
    Now the chart throws an ORA-20001 get_data error. The query is valid as it runs in SQL*plus no problems. What is it choking on?
    Thanks,
    Steve

    Steve,
    I didn't mean for you to put in on the Studio, just install the app in your workspace on htmldb.oracle.com, use SQL Workshop there to compile your procedures, tell us the app ID, and that's it.
    The error message presentation needs some improvement, give us time. We're spending most of our energy on improving the capability of the product.
    Scott

  • Problems with SVG line charts based on PL/SQL returning SQL

    Dear all - I wonder if anyone can tell me whether this problem is likely to be fixed at some point?
    It relates to the fact that you can't get more than one series on a chart where the SQL is returned from PL/SQL.
    It is a huge issue for us when trying to create complex, dynamic charts, which are simple enough in PL/SQL, but end up quite nightmarish in pure SQL.
    Although we have implemented Maani SWF (Flash) charts as a workaround, users don't like them as there's no 'save as...' or copy+paste and they seem to print very badly indeed.
    Here's part of a post from last May with more detail:
    "If I take a really simple table like this:
    CREATE TABLE "CHART_TEST"
    ( "X" DATE NOT NULL ENABLE,
    "Y" NUMBER(5,0) NOT NULL ENABLE,
    CONSTRAINT "CHART_TEST_PK" PRIMARY KEY ("X") ENABLE
    and populate it with:
    X Y
    2006-01-01T00:00:00 1
    2006-02-01T00:00:00 2
    2006-03-01T00:00:00 3
    2006-04-01T00:00:00 4
    2006-05-01T00:00:00 5
    2006-06-01T00:00:00 6
    2006-07-01T00:00:00 7
    2006-08-01T00:00:00 8
    2006-09-01T00:00:00 9
    2006-10-01T00:00:00 10
    I can create a chart with a single series using syntax something like:
    begin
    return 'select null link, x label, y value
    from chart_test';
    end;
    and this works fine. However, if I add a second series:
    begin
    return 'select null link, x label, (y + 1) value
    from chart_test';
    end;
    then the whole of the chart region blanks out.
    There's an example at:
    http://htmldb.oracle.com/pls/otn/f?p=15491:1"
    Many thanks,
    John.

    On some, but not all SVG line charts, I had trouble when some values are ZERO.
    Putting a CASE WHEN var = 0 then 0.05 ELSE var END in the select statement
    fixed those situations.
    I had missing lines when the number of data points in a series exceeded the default number of 15, and I did not set in the series configuration to a number equal to or higher that the number of data points in that series.
    And I had one instance, where a couple missing lines reappeared when I exited
    the browser and app completely and restarted the app.
    All these comments apply to ver 1.6x and 2.0x

  • Malformed svg with Line Chart and empty results on ApEx 3.0

    Hello everyone,
    I'm experiencing problems here at our local ApEx installation:
    If I add a line chart using a query that returns an empty result, for example,
    SELECT 1 link, 2 label, 3 value FROM dual WHERE 1=2;
    I get a malformed svg, and Firefox (2.0) does not display the chart but an error message.
    I traced the error and found that the "no data found"-text to be displayed has a syntactical error:
    <svg width="600" height="400" viewBox="-5 -5 600 400" preserveAspectRatio="none"> <text class="nodatafound" x="40" y="20">No data found.</text></g></svg>
    The <g>-tag is closed although never opened. So the SVG-engine in Firefox behaves right by throwing an error message. However, internet explorer with the Adobe-plugins seems to ignore the tag and displays the correct svg image.
    If using a different type of chart (i've tested with the vertical bars), the error does not occur, neither does it when the result is not empty. I've noticed though, that
    the line chart seems to have problems if only one row is returned, it then
    displays an empty graph.
    Has anyone had the same kind of problem or is able to reproduce it, so I could file a bug report to Oracle?
    Any help is appreciated,
    Marc
    PS: I use ApEx 3.0.0.00.20 on Oracle 9i

    How can i debug ? Is anything helpful reported in the iAS logfiles?

  • Help - SVG Line Chart - ORA-20001 line_chart error Parse error ORA-00911

    Gurus,
    Need help.
    I am trying to plat multiple series in a SVG line chart but am repeatedly getting line_chart error eventhough SQL queries work perfectly in sql workshop/sqlplus etc. How do I get past this error.
    Sample queries I am using to plot line chart are
    select link, col1, value from (select null link, col1, col2 value from xy);
    select link, col1, value from (select null link, col1, col3 value from xy);
    xy is a table with three number columns col1, col2 & col3.
    Thanks in advance

    Try taking the semicolon ";" off the end of the SELECT statements.
    Mike

  • How can i produce this type of line chart (yield curve) by using flex2 charting?

    help! I am a flex newcomer, how can i produce this type of
    line chart (yield curve) by using flex2 charting? Anybody can teach
    me how can i customize the width of each scales as below of line
    chart? anybody know this?
    Click
    Here To See

    I need to show the X and Y Co-ordinate in a message when I click on the graphic's point.
    thanks for the tips, I´ll try to understand the sample program.
    Noguti

  • Combine Line and Scatter types in Apex chart

    Hi,
    Can anyone help me create a chart which has features of both Line and Scatter types.
    i.e. Is it possible to join points in a Scatter chart?
    I am using Apex 4.1
    Thanks
    Bruceter

    Thanks for the suggestions Howard.
    I have searched the forum and found a few similar queries, but no obvious solutions.
    I may have to try something like the approach suggested by Hilary in the Re: Multi-series chart setting the series type - combine scatter and line thread.
    A common application for this functionality would be time-series plots (with irregular measurement times).
    Thanks
    Bruceter

  • Some promble  about htmldb v 1.6 line chart

    I found there is some promble in htmldb v 1.6 line chart
    First I set two Series using these two sql
    select null l,
    a,
    total from
    select rownum a ,1000 total from tab where rownum <20
    select null l,
    a,
    total from
    select rownum a ,2000 total from tab where rownum <20
    second in Axes Settings
    i set
    Axis Interval Option ="Define axis interval Display"
    Y Axis Gridline Spacing=200
    Y Axis Max =3000
    third run the page
    then I found the two line do not display in the correct place
    the value of the line do not match the coordinate
    is there any patch can fix this promble

    I found this promble in 10G R2 , and in 10G r1( update htmldb from 1.5 to 1.6)
    is there any idea about it?

  • Transforming XML data into SVG line charts using XSLT

    Hi
    I am trying to transform revenue data from an XML file into an SVG line chart. The problem is that I am quite new to XPath and XSLT and whereas I can draw the grid for my chart I struggle drawing the lines using the data from the XML doc.
    The XML look something like the one below, and I would like to have one chart for each product and in each chart having the time on the x-axis and chart the revenue by regions.
    Any help on this is much appreciated.
    Thanks
    Peter
    <?xml version="1.0"?>
    <revenue>
    <caption>
    <heading>My title</heading>
    </caption>
    <date name="01/01/2003">
    <region name="Asia">
    <product_a>30</product_a>
    <product_b>12</product_b>
    <product_c>301</product_c>
    </region>
    </date>
    <date name="02/01/2003">
    <region name="Asia">
    <product_a>32</product_a>
    <product_b>12</product_b>
    <product_c>301</product_c>
    </region>
    <region name="America">
    <product_a>57</product_a>
    <product_b>31</product_b>
    <product_c>457</product_c>
    </region>
    </date>
    <date name="03/01/2003">
    <region name="Asia">
    <product_a>38</product_a>
    <product_b>12</product_b>
    <product_c>301</product_c>
    </region>
    <region name="America">
    <product_a>31</product_a>
    <product_b>9</product_b>
    <product_c>357</product_c>
    </region>
    </date>
    <date name="04/01/2003">
    <region name="Asia">
    <product_a>33</product_a>
    <product_b>12</product_b>
    <product_c>301</product_c>
    </region>
    <region name="America">
    <product_a>43</product_a>
    <product_b>16</product_b>
    <product_c>430</product_c>
    </region>
    </date>
    <date name="05/01/2003">
    <region name="Asia">
    <product_a>36</product_a>
    <product_b>12</product_b>
    <product_c>301</product_c>
    </region>
    <region name="America">
    <product_a>54</product_a>
    <product_b>1</product_b>
    <product_c>561</product_c>
    </region>
    </date>
    </revenue>

    You could try Jeni's XSLT utilities for SVG :
    http://www.jenitennison.com/xslt/utilities/svg-utils.html
    Specifically, the sample code provided, when a couple of SVG charts are being generated from XML data :
    http://www.jenitennison.com/xslt/utilities/svg-example.html
    Hope that helps.

  • How do I change legends in line charts when you change line type

    I have created a line chart with two lines. I only have a black and white printer. If I change the two lines to black, the legends change to match. To distinquish the two lines I change the line type making one dots and the other dashes. The lines change but the lengends don't. This makes the graph useless.
    Any suggestions on how to get the lines in the legends to change to match the lines in the graph?
    Thanks for any help.
    Paul

    I could not get the line legends to differ either. You can add a marker to only 1 of the plots though:
    Regards,

  • Transforming XML data into SVG line charts

    Hi
    I am trying to transform revenue data from an XML file into an SVG line chart. The problem is that I am quite new to XPath and XSLT and whereas I can draw the grid for my chart I struggle drawing the lines using the data from the XML doc.
    The XML look something like the one below, and I would like to have one chart for each product and in each chart having the time on the x-axis and chart the revenue by regions.
    Any help on this is much appreciated.
    Thanks
    Peter
    <?xml version="1.0"?>
    <revenue>
    <caption>
    <heading>My title</heading>
    </caption>
    <date name="01/01/2003">
    <region name="Asia">
    <product_a>30</product_a>
    <product_b>12</product_b>
    <product_c>301</product_c>
    </region>
    </date>
    <date name="02/01/2003">
    <region name="Asia">
    <product_a>32</product_a>
    <product_b>12</product_b>
    <product_c>301</product_c>
    </region>
    <region name="America">
    <product_a>57</product_a>
    <product_b>31</product_b>
    <product_c>457</product_c>
    </region>
    </date>
    <date name="03/01/2003">
    <region name="Asia">
    <product_a>38</product_a>
    <product_b>12</product_b>Long postings are being truncated to ~1 kB at this time.

    Instead of using SVG charting can I suggest that you look into digital charts. This service creates charts on the fly and is very easy to integrate with web applications.
    Christopher
    www.billboard.net

  • HTMLDB Line Chart Problem in Version 2.0

    After upgrading to 2.0, several of our line charts stopped rendering.
    It seems that if a datapoint's value is equal to zero, the line will not render.
    However if I filter out all records > 0, then the chart works fine.
    I requested a workspace(OTN) and tried it out there and ended up with the same results.
    Is this bug in the charting engine or am I missing something?? Thanks for any help.
    - George
    Steps to reproduce:
    CREATE TABLE TEST01
    (MONTH     VARCHAR2(15),
    JCOUNT NUMBER);
    INSERT INTO TEST01 (MONTH,JCOUNT) VALUES('OCT-04',30);
    INSERT INTO TEST01 (MONTH,JCOUNT) VALUES('NOV-04',40);
    INSERT INTO TEST01 (MONTH,JCOUNT) VALUES('DEC-04',30);
    INSERT INTO TEST01 (MONTH,JCOUNT) VALUES('JAN-05',145);
    INSERT INTO TEST01 (MONTH,JCOUNT) VALUES('FEB-05',60);
    INSERT INTO TEST01 (MONTH,JCOUNT) VALUES('MAR-05',50);
    INSERT INTO TEST01 (MONTH,JCOUNT) VALUES('APR-05',161);
    INSERT INTO TEST01 (MONTH,JCOUNT) VALUES('MAY-05',82);
    INSERT INTO TEST01 (MONTH,JCOUNT) VALUES('JUN-05',177);
    INSERT INTO TEST01 (MONTH,JCOUNT) VALUES('JUL-05',213);
    INSERT INTO TEST01 (MONTH,JCOUNT) VALUES('AUG-05',122);
    INSERT INTO TEST01 (MONTH,JCOUNT) VALUES('SEP-05',140);
    INSERT INTO TEST01 (MONTH,JCOUNT) VALUES('OCT-05',70);
    INSERT INTO TEST01 (MONTH,JCOUNT) VALUES('NOV-05',67);
    INSERT INTO TEST01 (MONTH,JCOUNT) VALUES('DEC-05',27);
    INSERT INTO TEST01 (MONTH,JCOUNT) VALUES('JAN-06',46);
    INSERT INTO TEST01 (MONTH,JCOUNT) VALUES('FEB-06',31);
    INSERT INTO TEST01 (MONTH,JCOUNT) VALUES('MAR-06',17);
    INSERT INTO TEST01 (MONTH,JCOUNT) VALUES('APR-06',15);
    INSERT INTO TEST01 (MONTH,JCOUNT) VALUES('MAY-06',9);
    INSERT INTO TEST01 (MONTH,JCOUNT) VALUES('JUN-06',5);
    INSERT INTO TEST01 (MONTH,JCOUNT) VALUES('JUL-06',5);
    INSERT INTO TEST01 (MONTH,JCOUNT) VALUES('AUG-06',1);
    INSERT INTO TEST01 (MONTH,JCOUNT) VALUES('SEP-06',5);
    INSERT INTO TEST01 (MONTH,JCOUNT) VALUES('OCT-06',0);
    INSERT INTO TEST01 (MONTH,JCOUNT) VALUES('NOV-06',0);
    INSERT INTO TEST01 (MONTH,JCOUNT) VALUES('DEC-06',0);
    ADD A REGION TO PAGE CONTAINING A LINE CHART;
    HERE'S THE SELECT:
    SELECT NULL LINK,MONTH,JCOUNT FROM TEST01;
    MAKE SURE TO SET THE MAXIMUM RECORD COUNT TO 50;
    THEN RUN THE PAGE
    EXPECTED RESULTS: LINE CHART WILL RENDER
    ACTUAL RESULTS: LINE CHART DOES NOT RENDER

    Looks like a bug. Oracle may be aware of it. The best workaround I could come up with is adding a very small amount to your value (JCOUNT).
    SELECT *
      FROM (SELECT NULL link,
                   month,
                   CASE WHEN jcount = 0 then .00001
                        ELSE jcount END jcount
              FROM TEST01
             ORDER BY TO_DATE(month,'MON-RR'))Only problem you have with this is if you display data point values. The value for zero JCOUNTs will display as .00001. You can work around that by picking a format mask for the "Data Label Format" value for your series.
    Mike

  • 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 line missing

    Hi, I'm new to HTML DB so please bear with me! I've added a line chart but when viewing my chart it displays only the dots and no line. I suspect it's something to do with my sql query which is as follows:
    SELECT null, check_date, used_mbyte
    FROM tblspc_check
    WHERE tablespace_name = 'system'
    Is there any more in dept docs available other than the user guide?
    Many thanks!

    Hi,
    1.) OS = WinXP Pro (New installation)
    2.) Results are the same in Explorer 6 (sp2) & Firefox 1.1 & 1.5
    3.) SVG Plugin = ver 6.0
    It might be the SVG plugin - I had ver 3.03 installed, but one of the dev guys on the forum recommended upgrading to this version. The speedometer type of graph on the 1st page of the demo app use to work with ver 3.03....but I never tested my line graph on ver 3.03.
    Thanks for the help.
    Fred

Maybe you are looking for

  • How do I fix safari on my new macbook pro?

    When I open a page in Safari, for example Netflix, and then click on a button, a new window pops up trying to sell me something, for example a "Macfixer" - no matter how many times I close the window, or how many times I empty safari cache and reset

  • Hi DMS Chekin : Help Need (Urgent)

    Hi Guys, I am new to DMS , but i started to explore DMS to integrate it with XI system to upload Documents. Scenario is like this: FileServer (Client) ---> XI --- > DMS System I use "BAPI_DOCUMENT_Checkin2" to checkin Document : After working with th

  • VF01 & F-22

    Hi Experts , In SD Customer Invoice is VF01, and in FI Customer Invoice is F-22, what is difference between VF01 and F-22. Please help me out. With Regards! FICO Moderator: Please, avoid asking basic questions

  • Office Test Drive

    Wasn't sure where to put this. I've installed Office on my iBook without removing the test drive version first. If I uninstall the lot and then reinstall the full version, will I have to use up another one of my 3 product keys or will it let me use t

  • I accidentally removed my account and all my folders underneath the account went with it. Can i undo this removal. How do i get all those folders back?

    I had many folders under my main e-mail account, with all my historical e-mails. I want to remove my account to set it up again, and in doing so removed all the subfolders under that account. Is there any way to get those subfolders back?