AreaChart : Customizing HorizontalAxis of a chart with Multiple Series

Hi there,
My area chart has 5 series which has same x_value while different y values and a value which i want to show as label.
all series have dataProvider with following object
{x: x_value, y:y_value, l:label_value} 
series xField is using "x" which is also showing values from x at x-xis (horizontal) axis.
My problem is
I want to use same xField=x but i want to show "l" as label values.
How can i do that?
I tried using a LinearRenderer on horizontal axis and provided a custom label function, but i only get "x" value and NOT "l" to show label.
Thanks

I wasn't able to do something like what you describe, but I was able to do this:
I defined column A of the table as a Header Row, selected the cells in the table, and chose this chart type (2D 2 Axis):
Then I clicked the chart and in the pane at the right checked 'Axis Name' in the Axis tab and added the axis names.
Maybe this can give you an idea of how you can illustrate the relationships that you want to show.
SG

Similar Messages

  • Line Chart with Multiple Series

    Post Author: JayZee
    CA Forum: Charts and Graphs
    HI
    I am trying to create a line chart with multiple series for trend analysis on CR XI but not having much luck, I thought it would be so simple to do!
    My data is provided summarized on the server and is returned as 12 rows:
    Month       Year1        Year2      Year3      Year4     Year5January      100           80          75           90          120February      85           25           40           25          80etc for the rest of the months
    My problem is that I can only get the chart to accept the values to display as a summary and not just as the data pulled back from the server.  I have read an article on the support site for Crystal 6.0  but it doesn't seem to translate well into XI.
    If necessary I could redesign the table to bring back un-summarized data but that is quite a big job.
    Any help greatly appreciated.
    Jay

    Post Author: Tim Wise
    CA Forum: Charts and Graphs
    In the chart expert, put Month in the 'On change of' box and put each year in the 'Show values' box. This puts the month on the x-axis and plots each year as a line.
    Is that what you want?
    I did this in CR 2008 using your data in an Excel sheet.

  • Defining a scatter chart with multiple series

    I am trying to create a scatter chart with two series.  I am using CR8.5 and CR2008.
    I am having difficulty with my data being presented correctly when I attempt to define the scatter chart.  The data is temperature and weather use/sqft for two different years.
    Year Period Temp Energy Use/sqft      Year Period Temp Energy Use/sqft
    2012 1/2012  52  3.7172               2013 1/2013  52  3.1712
    2012 2/2012  62  3.7015               2013 2/2013  57  3.1449
    2012 3/2012  70  3.7937               2013 3/2013  63  3.2039
    2012 4/2012  76  3.9882               2013 4/2013  71  3.4551
    2012 5/2012  82  4.2213               2013 5/2013  81  3.9903
    2012 6/2012  87  4.4875               2013 6/2013  85  4.3650
    2012 7/2012  90  4.4727               2013 7/2013  87  4.2072
    2012 8/2012  86  4.6154               2013 8/2013  87  4.2560
    I would expect to see something similar to the attached images of an excel files scatter chart.  When I defined the scatter chart in Crystal Report, I need to define a field for 'On change of', and 2 'Values to show'.
    I understand that this would not show the expected scatter chart but I went this direction as the series is to be the year.
    On change of:
    - Year
    Show values:
    - Temp
    - Energy Use/Sqft
    Problem is the sum of both is being shown. I am trying to keep the series together by year and showing each record as retrieved from the database.
    Thank you,
    Jim

    You can try using this charting tool for generating scatter charts:
    http://htmldb.oracle.com/pls/otn/f?p=31517:58
    Denes Kubicek

  • Stacked Bar Chart with Multiple Series Sort Question

    Hi,
    Apex version 4.1.1
    I have a stacked bar chart with three separate series, one showing customer effort, another showing project effort and the third showing other effort, summarized by calendar week. The x-axis of the chart is the calendar "week of" date, and the y-axis has a bar for each of the three series. Not every type of effort occurs every week.
    When AnyChart renders the chart, the order of entries on the x-axis seems to be dependent both on which series are present in a given week as well as the "week of" date. Weeks with all three series sort in order by calendar date, followed by weeks where just the 2nd & 3rd series are present, followed by weeks where just the 3rd series is present. See this [url http://tinypic.com/r/b9zdt/6] picture of the chart  noting the "week of" dates. Note that the months go Sep-Oct-Nov-Aug-Oct.
    Is there a way to force AnyChart to sort the x-axis in chronological order regardless of whether there is data for all three series for a given week? I have looked through the AnyChart XML reference but cannot find a way to do this.
    Incidentally, I can solve the sorting problem by combining all three series into a single query:
    select
      null as link,
      week_of as label,
      sum(customer_effort) as "Customer Effort",
      sum(project_effort) as "Project Effort",
      sum(other_effort) as "Training, Admin and Other Effort"
    from ...But if I do this, I cannot figure out how to have each bar on a given week link to a different detail page, e.g., if I click on a bar representing customer effort I want to link to one page, but if I click on a bar representing project effort, I want to link to a different page. I have had a look at the [url http://apex.oracle.com/pls/apex/f?p=36648:59:1570983160946101::NO:::] chart examples  posted on apex.oracle.com, but cannot figure out how to apply to multiple series in a single query.
    Thanks,
    Mike

    Thanks, Jeff. I did try this but for whatever reason it doesn't make a difference. I think it is because if there's no data for a given series for a certain week, there is no entry in the data set that is sent to AnyChart.
    I was able to get around the issue by "filling in" the missing weeks from each data series. To generate the list of "Week Of" dates for a given date range, I used this code:
    select
         trunc (each_day) as week_of,
         0 as effort
    from (
         select
              (to_date(:p920_start_date,:app_date_format) + 2 - to_char(to_date(:p920_start_date,:app_date_format),'D') - 1) + level each_day
         from dual
         connect by level <= to_date(:p920_end_date,:app_date_format) - to_date(:p920_start_date,:app_date_format) + 1
    where
         to_char (each_day, 'D') = '2'This creates an effort entry of 0 for each week within the date range; I use the Monday date of a week as the "Week Of" date. I then union this with my actual data and summarize by week and viola, I get the weeks in order. This also has the benefit of showing a week for which there are no entries in any of the three series.
    Thanks for taking a look at this.
    Mike

  • Chart with multiple series (SQL?)

    Hello everyone,
    I have an sql question relating to flash charts in APEX 3.
    I have a table "TREND" that has data like this :-
    WEEK LOCN COST
    ===== ==== =====
    45........A......10
    46........A......12
    47........A......15
    45........B......18
    46........B......16
    47........B......11
    45........C......13
    46........C......14
    47........C......10
    How do I create an sql statement that can compile multiple values for a chart at runtime. In other words I want a chart that can show three LOCN lines (A,B and C) over the WEEKs (x axis) in the table.
    Using the standard chart source only gives one value on the chart ..........
    SELECT NULL link, LOCN label, COST value FROM TREND
    I need something like this ..........
    SELECT link, label, value1, value2, value3 FROM TREND
    But I don't know how to transpose my data into that format, can anyone help ?
    I need my data to look like this I think :-
    WEEK A B C
    ===== == == ==
    45....10.18.13
    46....12.16.14
    47....15.11.10
    Thanks,
    Jack.

    Hi Jack,
    you have 2 possibilities.
    1) You can create 3 distinct series sql statements (with the "Add Series" button) where you restrict the query to LOCN. Disadvantage: The table is scanned 3 times.
    2) You can create just one series where the distinct series values are mapped to columns. eg:
    SELECT NULL AS LINK
         , WEEK AS LABEL
         , SUM(DECODE(LOCN, 'A', COST, 0)) AS A
         , SUM(DECODE(LOCN, 'B', COST, 0)) AS B
         , SUM(DECODE(LOCN, 'C', COST, 0)) AS C    
      FROM TREND
    GROUP BY WEEKAdvantage: Table is just scanned once.
    Patrick
    My APEX Blog: http://inside-apex.blogspot.com
    The ApexLib Framework: http://apexlib.sourceforge.net
    The APEX Builder Plugin: http://sourceforge.net/projects/apexplugin/

  • Resource Gantt Chart with Multiple Series (Apex 4.1.1)

    Hi,
    I am building a resource gantt and I want to show different types of entry in different colours.
    My series query is:
    select null,
    time_record_id,
    username,
    null,
    to_timestamp(to_char(event_date + (start_time/24),'YYYY-MM-DD HH24:MI'),'YYYY-MM-DD HH24:MI') start_date,
    to_timestamp(to_char(event_date + (end_time /24),'YYYY-MM-DD HH24:MI'),'YYYY-MM-DD HH24:MI') end_date
    from
    oly_time_record
    where
    work_code = 'OFFICE'
    order by 5, 3;which works well to show me the times when a user is going to be in the OFFICE.
    I now want to add additional bars to the chart that shows me the times that a user is going to be 'WORKFROMHOME'.
    The 'OFFICE' time should show Green bars and the 'WORKFROMHOME' should show Red Bars.
    This is quite easy on normal charts, where you can add extra series but the Resource Gantt does not seem to allow more than one series.
    Does anyone have any ideas about how I can get what I need?
    Thanks,
    Martin

    Hi Martin,
    there are a lot of examples of gantt charts in this forum.
    Take a look here:
    http://apex.oracle.com/pls/apex/f?p=36648:60
    Markus

  • Candlestick chart problem with multiple series

    Hello,
    I added one mx:CandlestickSeries object and couple additional
    mx:LineSeries objects to the chart. All series are represented but
    still I have one problem. More series I add - less candles are
    becoming of CandlestickSeries data. It seems that there should be
    any scaling option for all series in the chart or something like
    this, but I cannot find it. I'm still new in Flex Can anyone halp
    me with this?
    Thanx in advance
    marukas

    I've added screenshots to get better view of the problem.
    Here is chart with addtional series:
    Chart
    with multiple series
    And here nothing is changed except that additional line
    series were removed:
    Chart
    with only one CandlestickSeries
    Is it possible to get the same candles as in 2nd view with
    addiotnal series added?

  • Is it currently possible to create a doughnut chart with multiple concentric circles in SSRS?

    Is there currently any way to create a 'doughnut' chart with multiple concentric circles in an SSRS report (any version), without using 3rd party tools?
    Something like this, perhaps?
    (For that matter is it possible to create this using JavaScript?  It's my understanding that this image was originally created in a web app using JavaScript.  So far I've not been able to pin down the details.  I've found hints that JavaScript
    can be used in SSRS reports but so far no clear working examples.)

    Hi B.Chernick,
    According to your description, you want to create a create a doughnut chart with multiple concentric circles in your report. Right?
    In Reporting Services, we only have doughnut chart with one concentric circle. All the category group is in that concentric circle. Though we can embed javascript injection in expression, it only give the css style to values or report
    items which can change the looking. It can't change the structure of the report items itself. So your requirement can't be achieved current.
    For your requirement, we suggest you provide Microsoft a feature request at
    https://connect.microsoft.com/SQLServer
    so that we may try to expand the product features based on your needs.
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou

  • 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

  • Creating SVG Chart with multiple lines

    Hi All,
    I want to create a chart with multiple lines.
    Ex: I have one emp table with empno, sal and deptno columns.
    I want to print deptno in x axis and no of employees on y axis.
    I want to print one line for employees with sal > 15000 and one more line for employee with sal =< 15000
    So one line will show no of employees with sal more than 15000 for each dept. Similar case for the other line and these 2 lines should be in different colors.
    For one line the query will go as
    select link, deptno, count(empno)
    from emp where sal > 15000 group by null, deptno
    Is this possible to draw this chart?
    Thanks,
    Manoj

    I wasn't able to do something like what you describe, but I was able to do this:
    I defined column A of the table as a Header Row, selected the cells in the table, and chose this chart type (2D 2 Axis):
    Then I clicked the chart and in the pane at the right checked 'Axis Name' in the Axis tab and added the axis names.
    Maybe this can give you an idea of how you can illustrate the relationships that you want to show.
    SG

  • "Scatter" Chart with Multiple Values per Date

    APEX Gurus,
    I need to plot a chart with multiple y-axis values along the x-axis.
    Here's an example:
    X-Axis (Date) Y-Axis (Number)
    1-JAN-07 1
    1-JAN-07 2
    1-JAN-07 3
    2-JAN-07 1
    2-JAN-07 2
    3-JAN-07 1
    Right now, APEX displays the X-axis (Date) as separate values on the x-axis. But I want all three 1-JAN-07 values to line up vertically under x-axis. I am currently using a line chart for this. And it displays a "dot" for each value (depending on my max rows value).
    Any insight would be much appreciated! And thanks in advance!
    Susan

    You can try using this charting tool for generating scatter charts:
    http://htmldb.oracle.com/pls/otn/f?p=31517:58
    Denes Kubicek

  • Problem with Multiple Series - CFCHART

    Using CF9, trying to create a simple chart with two series.  Problem is that when there are no values, CFCHART draws a line but with values of "0".
    The first series is a set of monthly values (12 values) one for each month in 2011. The second series are also monthly values, but for 2012 YTD (Jan thru May 2012).  Range for all values is between 90 and 100, so I have it set to "scale" so you can see if year-over-year is better or worse. 
    Am trying to plot Series 1 (2011) on one line, and Series 2 on a second line.  This allows comparison of year-over-year results.  Have two QofQ, one that contains the twelve 2011 values, and one that contains the five 2012 monthly values.  X-Axis values are numbers (1-12 for 2011, and 1-5 for 2012).  However, I re-format the results using "CreateDate", so CFCHART can recognize a date, and format/display only the "months" on the chart (i.e., JAN, FEB, MAR....... DEC).   This is working, since bottom of chart shows JAN thru DEC.
    The chart displays 2011 correctly with 12 points and a line.  But for 2012, it displays the 5 points (Jan-May) with their values, then displays Jun-Dec 2012 with values of ZERO.  So on the May 2012 plot, you have this big line that runs from 90% in May, down to 0% in Jun, then 0% for the rest of 2012.  I only want it to plot the 2012 line thru May.
    If you remove the 2011 series from the CFCHART, it displays correctly, and only displays the 5 months in 2012 (Jan-May).   And if you remove the 2012 series, it displays correctly, with all 12 months in 2011.
    I just need it to display exactly like that, when two CFCHARTSERIES are used.   Even if you <CFOUTPUT> the 2012 query, you get 5 items, Jan-May.  So not sure why it want to chart 12 items for 2012, with all ZEROs for June - Dec 2012.
    Appreciate any help/advise on how to get year-over-year lines, with 12 data points for 2011 and 5 for 2012. 
    Gary

    Thanks, I found the solution doing a Google search, which led me to this Adobe forum link:
    http://forums.adobe.com/message/3304324#3304324
    which is same one you mentioned.  I was so relieved it wasn't a problem with my code, I kept testing for errors, couldn't find any.
    We are in the process of upgrading from CF7 to CF9.  We are developing on CF9, but still using CF7 in production, hopefully for only a few more weeks until we get our new CF/SQL Servers, running CF9.
    Until then, have to write two versions of the .CFM file, one that runs on CF7 servers, and one for the CF9 test servers.
    Thanks again for getting back, much appreciated.
    Gary

  • Drill Down between 2 stacked column chart with multiple rows.

    Hi,
    Can anyone please help me.
    1) i have to create stacked column chart with Region and cout of calls for previous 3 quarters.
    2) the 2nd stacked column should display the priority with the count of calls for the respective selection of region on the 1st chart..
    to achieve this,
    i'm using 2 stacked column charts and 1 lebel baseb menu.
    from this i can able to get the drill down from label based menu to 2nd stacked column chart but i couldn't able to done the same from 1st stacked coumn chart.
    Becoz my data is multiple row for each quarter.
    please suggest me to achieve the drill down between 2 stacked column charts.
    assume that my data like below.:
    coulmns for 1st stacked column chart : Region, Q2,Q3 &Q4
    Region                Q2                Q3               Q4
    Other              3658              3497               497
    NA - North
    America                3               3               1101
    APJK     1     4     597
    UK               324
    EMEA North     1     1     288
    CORPORATE     1     5     215
    LA -
    Latin America1     2     208
    EMEA     1          199
    EMEA South     1     1     169
    Coulmns for 2nd coumn chart:  Region, Priority, Q2,Q3,Q4 ()which is derived from 1st table.
    Region     Priority     Q2     Q3     Q4
    Other     D: End of Next Day     1568     1613     239
    Other     C: End of Day     983     893     119
    Other     A: 2 Hour     631     610     70
    Other     B: 4 Hour     396     318     56
    NA -
    North AmericaD: End of Next Day     2     2     514
    APJK     D: End of Next Day          3     297
    NA -
    North AmericaC: End of Day               284
    NA -
    North AmericaA: 2 Hour     1          170
    UK     D: End of Next Day               157
    APJK     C: End of Day     1     1     152
    Other     E: 3 - 5 Business Days     68     58     13
    EMEA North     D: End of Next Day          1     136
    CORPORATE     D: End of Next Day          4     107
    NA - North America     B: 4 Hour          1     104
    LA - Latin America     D: End of Next Day     1     1     86
    EMEA     D: End of Next Day               86
    UK     C: End of Day               85
    APJK     A: 2 Hour               79
    EMEA South     D: End of Next Day               72
    EMEA North     A: 2 Hour               69
    EMEA North     C: End of Day               56
    APJK     B: 4 Hour               55
    EMEA     C: End of Day     1          53
    LA - Latin America     C: End of Day               54
    UK     A: 2 Hour               49
    EMEA South     C: End of Day     1          44
    CORPORATE     A: 2 Hour          1     43
    CORPORATE     C: End of Day               44
    LA - Latin America     A: 2 Hour          1     42
    EMEA South     A: 2 Hour          1     32
    EMEA     B: 4 Hour               30
    UK     B: 4 Hour               30
    EMEA     A: 2 Hour               27
    EMEA North     B: 4 Hour     1          26
    NA -
    North AmericaE: 3 - 5 Business Days               25
    LA - Latin America     B: 4 Hour               23
    EMEA South     B: 4 Hour               20
    CORPORATE     B: 4 Hour               17
    APJK     E: 3 - 5 Business Days               13
    Other     F: 6 - 10 Business Days     6     4     
    Other     G: 11 - 20 Business Days     6     1

    Hi Srinivas,
    I'm using label based menu "filterd rows" only but i couldn't bind the drill down with the 1st stacked column chart.
    for mor details:
    1) i'm having 2 stacked coumn charts & 1 lebel based menu but eventhough i couldn't able to achieve.
    if i select the lebel based values then the 2nd stacked column charts is giving detailed valus but if i keep my mouse on the 1st stacked column chart the there is no changes on the 2nd chart..
    somewhere i'm mising the binding data between 1st stacked coumn chart & lebel based menu on drill down part.
    Becoz i'm having multiple rows. so can you please try your and send me the xlf file using your concept.

  • Column Chart with Multiple axes

    Hi folks
    I am using flex 2 charts for displaying data. I want to show my data using column chart with secondary axis. However columns for multiple series are coming one over another. here is the code I have attached:-
    But I want to put columns side by side. Any thoughts will be appreciated.
    Warm Regards
    Rush-me

    Any thoughts?
    Warm Regards
    Rush-me

  • Flash chart performance issue with multiple series

    Hi,
    We have a problem with the performace of a line graph which has multiple series.
    I have set up an example application here:
    http://apex.oracle.com/pls/apex/f?p=37504:1
    The application contains two charts. The 'Mulltiple Series' chart has twelve series behind it and allows the user to include mutiple series data. The other chart has just one series.
    The single series chart takes only a couple of seconds to render, however the mutiple series chart takes around 10 seconds even when no additional series have been selected. Using Firebug I have observed that the apex_util.flash procedure is taking around 8 seconds to generate the XML, and it includes null data values for the series that aren't selected.
    My question is how can I make each series conditional, such that no data is included in the XML if the series returns no rows?
    Thanks,
    Andrew

    Hi Andrew
    Have you considered modifying your chart to use a series with the "Query source type" of "Function returning SQL Query"
    Have a look at
    Re: Flash chart - multiple series - no display when some series empty
    My response on that thread may help. I'd be interested to know if this approach improves the performance.
    Kind regards
    Simon Gadd

Maybe you are looking for