Line-Bar Chart with multiple straight lines

Experts,
I have a requirement where in I have to show multiple straight lines on the Line-Bar Chart. For example if we have a graph of County Names(X) vs Population Count(Y). The bars represent the population in each county. And three straight lines across bars should represent avg. population of all counties, region and state respectively. Is it can be done ? if not line-bar any other graph ? Please let me know your valuable suggestions.
Regards,
Tom
Edited by: Tom Lype on Feb 23, 2012 8:58 AM

Hi Tom,
I am afraid that the example that you have mentioned is possible in Line-Bar combo or any other graph. What you are asking for is 1 measure against three dimensions is not possible. How can you represent Country, Region and State on X axis on the same graph???
Regards,
Rituraj Kumar

Similar Messages

  • 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

  • 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

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

  • Bex Analyser: Bar chart with limit or average line, is it possible?

    Hi everyone.
    I have a short question:
    Do you know if it is possible to combine different chart types in the Bex Analyser?
    I would like to have a bar chart providing monthly values and in the same chart a line showing 1) a fixed limit and 2) another line showing an accumulated moving average.
    I have the values as source available, however I can't figure out how to combine the bar charts with a line chart in the same graph.
    Does anybody know if this is possible?
    Thanks,
    Nana

    Nana ,
    it is possible to have a Bex Chart of mixed type , you can choose the type of display for each series
    As for fixed line - you will need to have the values supplied by query
    As for moving average , that too needs to come from the query. The IGS service which renders the chart is something similar to Excel - the display options can be changed but nothing more that what is in the data table.
    Arun
    P.S Assigning points is a way of saying thank you in SDN

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

  • Apex 4 Combined chart with multiple y axis

    Hi
    I am trying to create a Combined Line chart & Bar chart using Multiple y-axis
    ie Line chart using one y-axis and Bar chart using another y-axis.
    In Apex 4 so for i am able to to create Combined chart by adding 2 series.. but i am unable to specify y-axis for each.
    Can any one help me how i can do this.
    Thanks
    Prabahar

    I managed to do it.
    Below I will post a working example of sql code and chart XML:
    SQL CODE:
    select NULL LINK,
    trunc(AUTH.AUTHDATETIME) "AUTHDATETIME",
    count(AUTH.AUTHDATETIME) "{n:Computer;t:Spline;y:ex}",
    sum(AUTH.amount) "{n:Video;t:Spline}"
    FROM schema.AUTH
    group by trunc(AUTH.AUTHDATETIME)
    order by 2 desc
    <?xml version = "1.0" encoding="utf-8" standalone = "yes"?>
    <anychart>
    <settings>
    <animation enabled="false"/>
    <no_data show_waiting_animation="False">
    <label>
    <text></text>
    <font family="Verdana" bold="yes" size="10"/>
    </label>
    </no_data>
    </settings>
    <margin left="0" top="" right="0" bottom="0" />
    <charts>
    <chart plot_type="CategorizedVertical" name="chart_1269902745139534">
    <chart_settings>
    <title enabled="False" />
    <chart_background>
    <fill type="Solid" color="0xffffff" opacity="0" />
    <border enabled="false"/>
    <corners type="Square"/>
    </chart_background>
    <data_plot_background>
    </data_plot_background>
    <axes>
    <y_axis >
    <scale type="Logarithmic" minimum="1" log_base="5"/>
                   <title><text>Video Sales</text></title>
                   <labels><format>{%Value}{numDecimals:0}</format></labels>
    </y_axis>
    <x_axis>
    <scale mode="Normal" />
    <title enabled="false"/>
    <labels enabled="true" position="Outside">
    <font family="Tahoma" size="10" color="0x000000" />
    <format><![CDATA[{%Value}{numDecimals:0,decimalSeparator:.,thousandsSeparator:\,}]]></format>
    </labels>
    <major_grid enabled="True" interlaced="false">
    <line color="Black" />
    </major_grid>
    <minor_grid enabled="True">
    </minor_grid>
    </x_axis>
              <extra>
    <y_axis name="ex">
    <title><text>Computer Sales</text></title>
    <labels><format>{%Value}{numDecimals:0}</format></labels>
    </y_axis>
    </extra>
    </axes>
    </chart_settings>
    <data_plot_settings enable_3d_mode="false" >
    <line_series>
    <tooltip_settings enabled="true">
    <format><![CDATA[{%Name}{enabled:False} - {%Value}{numDecimals:0,decimalSeparator:.,thousandsSeparator:\,}]]></format>
    <font family="Tahoma" size="10" color="0x000000" />
    <position anchor="Float" valign="Top" padding="10" />
    </tooltip_settings>
    <label_settings enabled="true" mode="Outside" multi_line_align="Center">
    <format><![CDATA[{%Value}{numDecimals:0,decimalSeparator:.,thousandsSeparator:\,}]]></format>
    <background enabled="false"/>
    <font family="Arial" size="10" color="0x000000" />
    </label_settings>
    <line_style>
                             <line enabled="true" thickness="1" opacity="1" />
    </line_style>
    <marker_settings enabled="True" >
    <marker type="Circle" />
    </marker_settings>
    </line_series>
    </data_plot_settings>
    #DATA#
    </chart>
    </charts>
    </anychart>
    Originally I used as an example below resource:
    http://anychart.apex-evangelists.com/pls/apex/f?p=755:46:0::NO:46::
    Thanks.
    Edited by: Jopa on 23.07.2010 1:07
    Edited by: Jopa on 23.07.2010 1:08

  • 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

  • Stacked bar chart with single group

    Post Author: rt50896
    CA Forum: Charts and Graphs
    Dear all,   I have a question about stacked bar chart with one group value(normally more than one group value is ok)   ex. YYYYMM      PRODUCT    AMT        -
            200601          ABC            1000        200602          ABC              300        200603          ABC              500       .....   the data collection is as above,then chart display: x-axis as YYYYMM,y-axis as PRODUCT...   but why this case the bar chart color not the same for each YYYYMM? and legend not display one PRODUCT as ABC only?   the bar chart display like this:   http://tkfiles.storage.live.com/y1po30C7CH6eW9phoLAXH89MBGwFLYdEZ3kOMQXUQzDzwM-VNnffibEwqPI8TIUNBm1f7uKTjnkaOI   ps. crystal report version is 8.5Regina

    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

  • Using a Stacked Bar Chart With an Accordian Menu

    I am having difficulty using a stacked bar chart with an accordian menu. I am able to have one stack bar populate but the other four stays blank. There seems to be an issue with my destination. I dont think it likes that my destination is more than one row and one column. Is there a way to fix this?

    Hello,
    I think there may be an issue in how your model/Accordion Menu was configured.  What insert option are you using?  Your destination should only be 'one' row OR 'one' column at the most.
    Thanks,
    AJ

  • Numbers Charts:  Stacked bar chart with two sets of data

    Hi....newbie with first post
    I'm trying to create a stacked bar chart with two lots of comparative data.
    So, there is Basic + Overtime for April 2010 as one stack (ie the basic is one colour, stacked on top is the overtime in a different colour)
                      Basic + Overtime for April 2011 next to it.
    I can get April figures next to one another as four separate columns (2 x basic, 2 x overtime), or I can get all four figures in a single stack, but I can't to two columns (one for each year) of basic and overtime.
    Any ideas?

    UK,
    What you are trying to do will require that you interleave the two sets of two-series data into one longer two-set series, and then plot just the one pair of series. Clear as mud?
    What I'm saying is that you have to fake out the program into thinking that you have just two sets, not four.
    You will have one series that has, for instance Apr 2010 Basic, Apr 2011 Basic, May, 2010 Basic, May 2011 Basic, etc.. This other series in that chart will have Apr 2010 Overtime, Apr 2011 Overtime, May 2010 Overtime, May 2011 Overtime, etc.
    The bad thing here (I'll anticipate your first complaint) is that 2010 and 2011 data will have the same color for Basic and another color will be assigned for both 2010 Overtime and 2011 Overtime.
    To get separate color sets for 2010 and 2011 data pairs, you will have to create two charts and overlay them. Both charts would be built in the alternating year format described above, but in one chart all the 2010 data would be blank and in the other chart all the 2011 data would be blank, leaving spaces in the chart for the data from the other chart to nest in.
    Jerry

  • 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

  • Bar Charts with Non-Stacked Subgroups

    I'm trying to create a report in CR2008 for my elementary school principals that will display how many students received a specific grade each of the three marking periods (T1, T2, and T3) per grade level per subject area (Math, PE, etc.).  I was able to do this with a separate chart for each marking period, but would like to combine the charts into a single chart that has the grades (such as ADV, PRO, or BLB) across the bottom, and has the trimester scores as subgroups, so it looks something like this:
                   3    123     23   1     1
                  23    123    123   123   12
    Kinder Math  123    123    123   123   123    123
                 ADV    PRO+   PRO   APP   BASI   BLB
    Each of the grades would have three subgroups (bars) representing the three trimesters.  The y-axis scale would be the count of students who received each grade, with the maximum value set to the total number of active students at the end of the year (plus a small fudge factor in case the T3 enrollment is smaller than the T1 or T2 enrollment).
    The database (SQL Server 2005) I'm pulling from has table I'll call Grades; it's joined to a table called Students to get the grade level.  Each record in Grades has the following data in it (names have been changed to make them make more sense here, and only relevant fields are shown):
    StudentID, CourseNum, Section, T1_Active, T1_Grade, T2_Active, T2_Grade, T3_Active, T3_Grade
    If a student was enrolled in a specific CourseNum and Section at the end of a marking period, the XX_Active field will be "A"; if it's not, it should be skipped in the counting.  Because of this it is very possible that the count for a specific grade/trimester is zero, especially at the outliers (ADV and BLB).
    In Chart Expert >> Data >> Advanced, the current charts are set up using:
    On change of Grade.T1_Grade
    Show value(s): Count of Grade.T1_Grade
    (Substitute T2 or T3 for the second and third charts.)  Unfortunately, I have no clue what to choose for these values to get a combined chart.
    My questions:
    1) Does CR support bar graphs with subgroups that aren't stacked?  Does it support having three subgroups?
    2a) If so, what would be my next step to making this work?  Is the secret in running totals, formulas, arrays, or something else?  Maybe creating a view in the database that rearranges the data to make it easier to work with?
    2b) If CR doesn't support this directly, would it be worth while to fake it with six separate bar charts u2013 a chart just for ADV next to a chart just for PRO+, etc. u2013 or would the performance penalty be too much?  Would I need to have them each in their own subreport, or could they all live on the same level?  Is this the way I'd need to go if I also wanted to put trend lines over or above each letter grade group?
    Thank you in advance for any pointers you can give me.
    Jim
    Edited by: jimsteph on Jul 8, 2010 2:33 PM

    If you can create a view, that would be very helpful, by making the view, you are pushing some of the work to the
    server, so... "Hopefully" the report will be quicker. I don't think making six seperate charts would be all that much load on the
    server, or cr. If you do that, would you stack the charts? and just make the top stacks with Transparent backgrounds?
    Rather than add a view on the server u2013 there's talk that the next version of the gradebook program will completely refactor the database u2013 I did a SQL Command (I can't remember where I read about that tip over the last couple of feverish days, but my hat's off and I owe someone a frosty adult beverage!) that created a simplified table.  I then used that to create a Cross-Tab (my original report approximated one using a whole bunch of Running Totals).
    I then tried to make the chart, and got completely frustrated u2013 again u2013 until I accidentally created a chart from the Cross-Tab (right-click on the Cross-Tab and choose Insert Chart ).  I had no idea you could do that, and it ended up being exactly what I wanted.
    I have CRXI, if you go to the Sample reports, you will see one called Chart.rpt, this has multiple examples of some of the
    charts you can create. Perhaps a 3D riser chart would meet your requirements. HTH If not, can you provide some different samples?
    I would have never thought to look for the samples.  Thank you!  Now that I've got my immediate problem solved it's time to look at the samples and see what possibilities exist for future reports.
    Jim

  • Bar Graph with multiple series

    I am trying to created some graphs in 10g reports. I want a graph that has 2 bars per group. On the layout tab I have column A and Column B on the bars line and Column C on the groups line. When I run the report Columns A and B show up as 1 bar on the graph. Where do you specify the values for series 1 and series 2?

    Hi,
    When you create a bar chart using a "group by" attribute, the resulting groups are displayed as stacked bars or as dual Y bars (shows the groups side by side).  The button in the chart's toolbar (with stacked bar chart icon) is used to change this presentation. You can display the data as it is, without aggregation, by using the line or scatter charts.  The line/scatter graphs should allow you to display multiple Y values (series), but there appears to be a bug that causes a single line to be displayed instead.  Multiple series bar charts and label renaming are not available in the current release.
    Thanks,
    Marat

  • Apex Chart with multiple y-axis

    Hi,
    I am using the build-in flash Apex chart which I understand to be a subset of the Anychart.
    I have the following problem, I have two series, which I am displaying in a 3D Bar Chart on a horizontal view with two Y-Axis. This works well, the problem is that each Y -Axis has a different scale. I am not setting the min or max value range for either of the y-axis as I do not know what this value range may be at the time of rendering the chart to the application user.
    So as it turns out, the left y-axis has a value range from zero to 100 and the right y-axis has a value range from zero to 50 and the application users are finding this difficult and confusing as they are only looking at the bars represented in the chart and assuming that as the two bars, i.e. one form each series look similar in size, they have the same value and this can not be further from the true, as one y-axis is showing a value range twice as big as the other y-axis.
    So my question is how do you customise the chart so that the value range on both y-axis is the same. i.e., the largest of the two?
    Application Express 4.0.2.00.07
    Thank you

    You can't get axis scale variables to work in the APEX declaritive GUI because it's not designed for that. You will have to switch to custom XML.
    Set everything you want -- that you can set -- because once you switch to XML, if you switch back I think you lose all those custom settings. Then when you set Custom to "Yes", drag the window widget to enlarge the window so you can edit more easily.
    Find the y_xis section of the XML.
            <axes>
              <y_axis >
                <scale   mode="Normal"    />
                <title>
                  <text>Directory Size (Gigabytes)</text>
                  <font family="Tahoma" size="16" color="0x000000" />
                </title>
                <labels enabled="true" position="Outside">
                  <font family="Tahoma" size="10" color="0x000000" />
                  <format><![CDATA[{%Value}{numDecimals:1,decimalSeparator:.,thousandsSeparator:\,}]]></format>
                </labels>
                <major_grid enabled="True" interlaced="false">
                    <line color="Black" />
                  </major_grid>
    <minor_grid enabled="True">
                  </minor_grid>
              </y_axis>You want to change the scale line between <y_axis>   </y_axis> to
    <scale mode="Normal"  maximum="100" minimum="0" />Or maybe it's just <scale maximum="100" minimum="0" />Except instead of constants, you want variables. I'm not sure you can use bind variable (:P7_YMAX, :P7_YMIN) you may have to use (#YMAX#, #YMIN#) variables.
    I would make a new page and experiment with some VERY simple data -- maybe constants in a SELECT -- SELECT ..., 1, 2, 3 from dual ...... until you get what works.
    And, again. This assumes you decide on some computation to compute the values of (:P7_YMAX, :P7_YMIN) or (#YMAX#, #YMIN#) you want it to use.
    Howard

Maybe you are looking for