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

Similar Messages

  • 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

  • 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

  • Svg line chart  problem with latest patch?

    Hi team,
    I was checking out one page containing an SVG chart that I didn't modify in 2 weeks, according to the application builder, but it seems to hang after displaying the first line series of 4 total.
    It was working before the last patch was installed.
    It's page 65 of application 21670 in the online environment.
    Choose "automobile" from the first drop down list and click on the button, the chart appears but then it seems to be waiting for something to download.
    If you move the mouse over any textual part, you can see in the status line the following message:
    "xml processing instuction not at start of external entity: line 172, column 0".
    If you open up the SVG source by right clicking on the chart, you will see at the end of the file an error text message returned by oracle (ORA-06502), but what is particularly strange is the presence of an <?xml> processing instruction just in the middle of the source code listing.
    It looks like it is trying to append the second chart series by appending another svg source file.
    Could you check if I did anything wrong or if it is a problem of the patch?
    I have got other chart type running without problems.
    Thanks!
    Bye,
    Flavio

    Things are getting complicated.
    I found some cases where the chart is displayed correctly, which made me think of some unexpected values returned by the underlying queries.
    Since my chart is made up of 4 different series returning 12 points each, I assembled the queries with UNION ALL and checked out what was returned both in a failing case and a successful one but I can't figure out a valid explanation, the only thing I notice is that in the failing case there are some values higher than average, say 10 times bigger than the average value and for some reason the chart stops drawing points exactly after the peak value (1155.62, see below).
    Each series returns exactly 12 points, some nulls, but that's doesn't seem to be the problem.
    I wonder if the problem is with the "autoscale" algorithm, but I am lost at the moment...
    Here is a successful data sample:
    - APRIL -
    - APRIL 119.57125
    - APRIL -
    - APRIL -
    - AUGUST 160.5
    - AUGUST 157.53
    - AUGUST 157.53
    - AUGUST 119.57125
    - DECEMBER -
    - DECEMBER 119.57125
    - DECEMBER 113.67
    - DECEMBER 131.214
    - FEBRUARY 104
    - FEBRUARY 119.57125
    - FEBRUARY 126.418333333333333333333333333333333333
    - FEBRUARY 125
    - JANUARY 153
    - JANUARY 119.57125
    - JANUARY 134.845
    - JANUARY 145
    - JULY 154.56
    - JULY 119.57125
    - JULY 154.56
    - JULY 154.56
    - JUNE -
    - JUNE -
    - JUNE -
    - JUNE 119.57125
    - MARCH 43.5
    - MARCH 119.57125
    - MARCH 106.918333333333333333333333333333333333
    - MARCH 100.166666666666666666666666666666666667
    - MAY -
    - MAY 119.57125
    - MAY -
    - MAY -
    - NOVEMBER 118
    - NOVEMBER 131.214
    - NOVEMBER 125.3775
    - NOVEMBER 119.57125
    - OCTOBER 164
    - OCTOBER 119.57125
    - OCTOBER 134.5175
    - OCTOBER 134.5175
    - SEPTEMBER 59.01
    - SEPTEMBER 119.57125
    - SEPTEMBER 124.69
    - SEPTEMBER 124.69
    and now an offending one:
    - APRIL -
    - APRIL 287.743333333333333333333333333333333333
    - APRIL -
    - APRIL -
    - AUGUST 1155.62
    - AUGUST 655.09
    - AUGUST 655.09
    - AUGUST 287.743333333333333333333333333333333333
    - DECEMBER 135
    - DECEMBER 287.743333333333333333333333333333333333
    - DECEMBER 197.2525
    - DECEMBER 349.865
    - FEBRUARY 114
    - FEBRUARY 287.743333333333333333333333333333333333
    - FEBRUARY 315.947142857142857142857142857142857143
    - FEBRUARY 130
    - JANUARY 153
    - JANUARY 287.743333333333333333333333333333333333
    - JANUARY 321.741428571428571428571428571428571429
    - JANUARY 190
    - JULY 154.56
    - JULY 287.743333333333333333333333333333333333
    - JULY 154.56
    - JULY 154.56
    - JUNE -
    - JUNE -
    - JUNE -
    - JUNE 287.743333333333333333333333333333333333
    - MARCH 223.5
    - MARCH 287.743333333333333333333333333333333333
    - MARCH 182.787142857142857142857142857142857143
    - MARCH 156.375
    - MAY -
    - MAY 287.743333333333333333333333333333333333
    - MAY -
    - MAY -
    - NOVEMBER 118
    - NOVEMBER 392.838
    - NOVEMBER 452.4075
    - NOVEMBER 287.743333333333333333333333333333333333
    - OCTOBER 354
    - OCTOBER 287.743333333333333333333333333333333333
    - OCTOBER 461.5475
    - OCTOBER 461.5475
    - SEPTEMBER 182.01
    - SEPTEMBER 287.743333333333333333333333333333333333
    - SEPTEMBER 497.396666666666666666666666666666666667
    - SEPTEMBER 497.396666666666666666666666666666666667
    Weird, isn'it?
    Bye,
    Flavio

  • Drawing 2d line chart problem, urgent please!!!

    Hello,
    can anyone help me with the function GRAPH_MATRIX_2D please,
    i couldn't draw a line graph with three data series, i mean with three lines in the graph.
    i want to the chart to be drawn as line graph at the beginning, i shouldn't have to change the chart type later,
    can anybody send me a sample code that does what i want.
    i am expecting your answers,
    thanks.

    Hi,
    have you checked the two reports Matthias mentioned?
    After downloading the SAP Chart Designer the general procedure should look like: create your chart settings interactively using the designer. Save these settings as a local XML file. Use this XML in your ABAP application and additionally create a data XML at runtime (the format is described in the pdf of the SAP Chart Designer zip).
    Regards, Kai
    PS: Please don't use these very outdated function modules graph_matrix* / grstat* in new projects!

  • Is the line charts problem still around in Apex 2.2?

    I think the problem is pretty well known:
    Someone wants to display three series, the first containing twelve values, one for every month.
    The second contains less values, starting at month 1.
    The third contains only a few values and starts somewhere in the middle.
    In 2.0 all series where stretched over the whole diagram width, which made the diagram pretty useless. Someone said this bug would be fixed in 2.2, but somehow I can't spot the difference. Please, have a look yourselves:
    http://apex.oracle.com/pls/otn/f?p=41909:2:3117835281290116
    Does it make any sense to put more effort in experimenting, or is the bug still open?

    Hallo Sabine und Dennes,
    Da habe ich mich wohl in einen deutschsprachigen Thread eingeschaltet ...
    Leider bestand in 2.2 / 2.2.1 fuer uns nicht die Moeglichkeit, die Schwachstellen unserer SVG Charts zu beheben. Dies werden wir erst mit der Version 3.0 angehen koennen, die im kommenden Jahr heraus kommen wird – ein genaues Datum habe ich natuerlich noch nicht. In der Zwischenzeit stehe ich aber gern fuer Fragen zur Verfuegung, um vielleicht der Zeitverschwendung etwas Abhilfe leisten zu koennen. Im oben genannten Beispiel erscheint mir ein Cluster-Bar Chart als besser geeignet, wie Dennes angemerkt hat. Zudem nehme ich auch gern Verbesserungsvorschlaege und Anregungen von Euch entgegen, vieles von dem was unsere Kunden uns vorschlagen, bemuehen wir uns in zukuenftigen Versionen aufzugreifen.
    Viele Guesse vom Oracle APEX Development Team aus New York,
    Marc

  • Adobe Form Line chart problem(unable to remove dots on background)

    Hi Experts,
    I am unable to remove dots present on background(Red dots). I want clear background without any dots. Please assist me how to achieve.
    Regards
    Ashish

    Hi,
    Can anybody tell me how can i solve the above problem.
    Thanks,
    Sridhar

  • How to draw a simple line chart using GRAPH_MATRIX_2D function

    Hello,
    can anyone help me with that function please,
    i couldn't draw a line graph with three data series, i mean with three lines in the graph.
    i want to the chart to be drawn as line graph at the beginning, i shouldn't have to change the chart type later,
    can anybody send me a sample code that does what i want.
    i am expecting your answers,
    thanks.
    Note: all answers will be pointed.

    Hi Ali,
    please refer to my reply [here|Re: drawing 2d line chart problem, urgent please!!!] and skip this thread. This is a copy of the other request.
    Regards
    Matthias

  • Problem - over lie of data series in Line chart (Web Application Designer)

    Dear Experts,
    I have created a chart with below requiments from my user by using web application designer.
    1) Key Figure 1 (Chart type -> column )
    2) Key Figure 2 (Chart type -> column )
    3) Key Figure 3 (Chart type -> Line; color assigned -> BLACK;    Visibility: Visible)
    4) Key Figure 4 (Chart type -> Line; color assigned -> YELLOW; Visibility: Visible/Hidden)
    5) Key Figure 5 (Chart type -> Line; color assigned -> RED;         Visibility: Visible/Hidden)
    The line chart of Key Figure 3 must always appear in Front then others Key Figures.
    Then following by, Key Figure 4. Last is Key Figure 5.
    As I know the order of display line chart is infflucing by the order of Key Figure in structure by descending, likes below
    1) Key Figure 3 (Rank of front -> 3rd; Chart type -> Line; color assigned -> BLACK;    Visibility: Visible)
    2) Key Figure 4 (Rank of front -> 2nd; Chart type -> Line; color assigned -> YELLOW; Visibility: Visible/Hidden)
    3) Key Figure 5 (Rank of front -> 1st; Chart type -> Line; color assigned -> RED;         Visibility: Visible/Hidden)
    So, I have conflict on fulfilling these 2 request on assigning the color and control their visibility and lines over lie.
    Please advice me if you have any suggestion on controlling the lines order.
    Thanks!
    ~ GP
    Edited by: GP Poh on Jun 9, 2010 12:32 PM

    Hi Priya, thanks for input.
    I think I should further elaborate the problems. Thanks for your highlight.
    I have a lines chart with five key figures. So my chart will have five lines.
    Some lines from chart will overlap if the data are same.
    When overlapping of lines happens, I want to control the order of which series should be appear first.
    Likes below example,
    1) Key Figure 1 (Chart type -> column )
    2) Key Figure 2 (Chart type -> column )
    3) Key Figure 3 (Chart type -> Line; color assigned -> BLACK; Visibility: Visible)
    4) Key Figure 4 (Chart type -> Line; color assigned -> YELLOW; Visibility: Visible/Hidden)
    5) Key Figure 5 (Chart type -> Line; color assigned -> RED; Visibility: Visible/Hidden)
               KF1  KF2  KF3  KF4  KF5
    CW 1    30     30    80    80    50
    CW 2    40     50    90    60    90
    CW 3    70     50    90    90    90
    CW 4    80     70    70    90    70
    As you can see, there is overlap in these value.
    CW 1 KF3, KF4  -->80
    CW 2 KF3, KF5 --> 90
    CW 3 KF3, KF4, KF5 --> 90
    The order which i want the series should appear first when overlapping.
    - KF3 must appear on top.
    - Then, follow by KF5
    - Last is KF4.
    So now, i have no idea to control the overlap orders except adjusting the sequence of keyfigure from query.
    Feel free to give me any input!

  • 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/

  • Problems with the line chart - dashboard

    I have a problem in the line chart in the dashboard SP4.
    Clicking on the legend of the graphic , the serie (line) disappears. Clicking again in the legend, the line appears but the markers don’t.
    Someone knows how to solve this problem?
    Follow the examples.
    Thanks.

    Hi Jane,
    This is definitely the tool problem.
    Might be you can try restarting xcelsius or your computer (sometimes it works, really !)
    Just out of curiosity, why do you want to clink on legends.

  • Line chart mis-match problem

    I have 2 set of data, one has data from month 1-12,
    1 xxx
    2 yyy
    12 zzz
    and 2nd set has data from month 6-12,
    6 aaa
    7 bbb
    12 ccc
    when I create line chart, with month as x-axis, the 2nd set data has line on top of month 1-6, instead 7-12 as it should be. How can I fix this problem?

    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

  • 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

  • Problems with line chart rendering

    Hi.
    I have some problems with a line chart with 2 series.
    I have the folowing series:
    SELECT null link, t.column_value eticheta, EVM_REPORT.ACTUAL_COST2(:P37_PROJECTID, t.column_value) valoare
    FROM TABLE(utils.table_for_iteration(
    to_date('2007-05-20', 'yyyy-mm-dd'), sysdate)) t
    SELECT null link, t.column_value eticheta, 7 valoare
    FROM TABLE(utils.table_for_iteration(
    to_date('2007-05-20', 'yyyy-mm-dd'), sysdate)) t
    function table_for_iteration(param_start in date,param_end in date) return DATE_ARRAY PIPELINED AS
    BEGIN
    FOR i IN 0 .. (param_end - param_start)
    LOOP
    PIPE ROW(param_start + i);
    END LOOP;
    RETURN;
    END table_for_iteration;
    FUNCTION actual_cost2(in_project_id in number, end_date IN DATE) RETURN number AS
    begin
    return 2;
    end actual_cost2;
    The chart does not display (at all). If i replace EVM_REPORT.ACTUAL_COST2(:P37_PROJECTID, t.column_value) with some value, it displays.
    Any ideea ?

    Hi,
    Do you mean point the partial trigger to the surrounding container? I have tried that but it makes no difference. I am almost certain that the problem is associated with the forEach component as if I have exactly the same structure but without the forEach then the ppr works fine.
    Thanks for your help on this,
    Dave

  • Jfreechart line chart mouse click problem

    i need to implement a line chart where users can click on an area of the chart and highlight it, i have serveral questions regarding how to do this:
    i added a mouselistener to the chartpanel, i can get the points with e.getTrigger().getPoint(), but I need the points associated with the graph point, is that possible?
    i also need to highlight an area of the line chart, I have no idea where to begin, will i be able to change the background of a specific range of points?
    help would be appreciated!!

    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

Maybe you are looking for

  • For Loop

    Hi, I have a very simple problem, which I am almost embarrassed to ask, about numeric For Loop. I am trying to retrieve the first 5 rows from a table with a few selected columns without using a defined cursor. Any suggestion? Thanks in advance. Alan

  • When using Windows, mac volume does not show

    I recently clean installed both Lion and Win 7 with bootcamp. Windows volume shows normally when I am using mac, however mac volume does not show any more under windows. Any help would be appreciated! Thanks

  • Unable to create content properly in UCM 11G using validateStandard filter

    Hi All,     We have used validateStandard filter to assign content id with 16 digits in UCM 10G and it worked well, we deployed this component in UCM 11G but it is not working properly. When we click on Check In button content is getting created and

  • Record assigned entry different for service requests and incidents

    Hi I've noticed something recently when using/implementing service manager that the record assignment formats are different depending on if you are assigning an incident or service request. For example when assigning an incident the record assignment

  • How to maintain shifts in workcenter

    hello guys   could you guys help me in maintaining shifts in workcenter?I know that in grouping you have to define that and then we select it in capacity tab page(capacity header) in workcenter.         plz send me the steps to maintain the shifts in