Crystal Report Stacked Bar Chart by Time

Does anybody know how to do the following:
Each input record represents an operation scheduled for tomorrow - each record contains following fields.
Operating Room Number,
Operation Case Number,
Scheduled Start time of Operation,
Scheduled End time of operation.
Sample data would look like this:
OR Room , Case, Start Time, End Time
1, A, 7:30 AM, 10:30 AM
1, D, 11:00 AM,1:00 PM
1, G, 1:30 PM,  5:00PM
2, Z,  8:00 AM, 10:00AM
2, X, 11:00 AM,  2:30 PM
Chart should show time of day on y axis, and operating room on x axis.
Each operating room on x axis should have a stacked bar representing the start/end time of each operation.
example or first column follows (ignore the dots)
07:00......__
07:30......|...|
08:00......|...|               
08:30......|...|
09:00......|...|
09:30......|A.|
010:00....|__|
10:30..... __
11:00......|...|
11:30......|...|
12:00......|D.|
12:30......|__|
01:00...... __
01:30......|...|
02:00......|...|
02:30......|...|
03:00......|...|
03:30......|...|
04:00......|G.|
04:30......|__|
05:00
.............OR1........OR2

I think what you are looking for is
Gantt chart
A Gantt chart is a horizontal bar chart often used to provide a graphical illustration of a schedule. The horizontal axis shows a time span, while the vertical axis shows a series of tasks or events. Horizontal bars on the chart represent event sequences and time spans for each item on the vertical axis. You should use only date fields when creating a Gantt chart. The field you choose for the data axis should be set to "For Each Record," and the start and end-date fields should be added to the "Show value(s)" area of the Chart Expert's Data tab.
OR
XY Scatter
An XY Scatter chart is a collective of plotted points that represent specific data in a pool of information. The XY Scatter chart allows the user to consider a larger scope of data for the purpose of determining trends. For example, if you input customer information, including sales, products, countries, months, and years, you would have a collective of plotted points that represents the pool of customer information. Viewing all of this data on an XY Scatter chart would allow you to speculate as to why certain products were selling better than others or why certain regions were purchasing more than others.
You can look at some of the examples at this url and then try to create them
[http://www.recrystallize.com/merchant/threedgraphics/CRChart.htm|http://www.recrystallize.com/merchant/threedgraphics/CRChart.htm]

Similar Messages

  • Crystal Report Version 11.5.8.826 - Color Sorting - Stacked Bar Chart Issue

    Hi All,
    I have issue on sorting the color on stacked bar chart.
    Below steps are not reflect the color sorting.
    1. Right click on chart area in the report
    2. Select chart expert
    3. Go to Color Highlight tab
    4. In the item list, change the sequence of color
    Is there any way to sort the color on stacked bar chart?
    Please advise, thank you.
    Regards, Sumardi

    hi,
    You can right click on each bar individually,
    Format Series Riser -> Fill -> Foreground Color.
    This will apply the required colors.
    Also, if you have any color standards, try to create  a sample report with this kind of Chart and specify the colors individually.
    Right Click the chart -> Save as Template.
    In future, if any other reports have Stacked Bar Chart with same color standards, you can directly re-use this template.
    Regards,
    Vamsee

  • Can you print labels to the side on stacked bar charts in Crystal

    can you print labels to the side of the bars on stacked bar charts in Crystal?

    Hi Ginger,
    I don't see an option to do that in CR. Is there a specific reason why you want them on the sides or is it just a client requirement?
    Try posting this to the Crystal Reports Idea Place.
    -Abhilash

  • How to combine a stacked bar chart and a line graph together in one report

    I have a report in excel that has stacked bar chart and a line graph together in one report. I am trying to recreate the same in Webi, Is this possible? Did any one have similar requirement, could you please share the thoughts?
    Thanks,
    Hema

    May be I don't understand correctly...
    But if its really to separate chart area's;
    just copy the datablock and format one as line and the other as barchart...
    Hope this helps,
    Marianne

  • Navigating to multiple reports from stacked bar chart

    Hi,
    I have a stacked bar chart which consist of two fact's A & B. Now i want to navigate to report 1 when i click portion of stacked bar that is created by fact A and i want to navigate to report 2 when i click portion of stacked bar that is created by fact B. How can i achieve it in OBIEE?
    The other solution can be that when i click either portion of stacked bar i navigate to a same report but in that report i have defined filters to filter out results to show data like report 1 when A portion is clicked and to show data like report 2 when B portion is clicked. But what filter should i use in this case and what will be the filter values?
    Thanks.
    Aasim Khan

    The second option worked for me. I am navigating to a same report but i am using a filter to filter out un-required data.
    1. I created a new column in RPD at logical level and set its value that whether this row is for fact A or B.
    2.Then in the chart i check the column against the third column of check boxes where we select fields against we want to create the graph.
    3. In the interaction tab i selected the report to which i want to navigate.
    4. Then in the report in included this newly created column and apply "is prompted" filter. Now when i clicked fact A of stack bar i only saw data against fact A and when i clicked fact B it only shows data for fact B.
    Thanks.
    Aasim Khan

  • How do I create a stacked bar chart - Crystal Excelsius 4.5

    How do I create a stacked bar chart using Crystal Excelsius 4.5?  I do not see the stacked bar chart in my components window.  - Erik

    I just opened an old file that I created with Crystal Excelsius and I see the stacked bar chart visible in the components window of my old files.
    Why has stacked bar chart disappeared from the components window in my new files?  It seems many of the components have "disappeared" including stacked bar, candlestick charts, area charts and most of the background components.

  • Stacked Bar Chart - Hiding legends with 0 values

    I'm using Crystal Reports 2008, building a report that will eventaully be called from an ASP.NET page.
    I've built a stacked bar chart that is displaying values per month of the number of various vehicle types.  The X values are the months, the Y values are the number of each vehicle type and the stacked series are each different vehicle type.  However, depending on the months that the user asks for, there may be some vehicle types that do not have any data, thus the number is 0.  Is there a way for the report to see that there is 0 data for this vehicle type and thus not include it in the legend of the various vehicle types?
    First time poster, so hopefully I explained everything well enough.  I searched the forums for anything matching Stacked Bar Chart and did not find anything.  I don't know how to find/query SAPNotes.
    Thanks.

    Thanks for the response, but I'm not familar with Alters?  Could you describe a bit more?  I didn't see anything in the documentation about it.

  • How to format individual series in stacked bar chart

    Hi,
    Is there any way I can format (sort order, or transperency) of each series individually in a horizontal stacked bar chart?
    I am trying to create a gantt chart, where I am using two series
    1. Start Date
    2. Duration
    The function of series one (Start Date) is only to place the start position of the horizontal bar of series 2 (duration) in the year time frame.
    After creation of the stacked bar chart, I want to make the reansperency of series 1 (start Date) as 0 so that the duration bar apears floating and gives the feel of Gantt chart.
    Thanks
    Aurobindo

    You may wish to see the article <a href="http://www.xcelsiusjournal.com/index.php?option=com_content&task=view&id=45&Itemid=2" target="_blank" title="Constructing a Simplified Gantt Chart in Crystal Xcelsius">Constructing a Simplified Gantt Chart in Crystal Xcelsius</a>. It does require changing the skin to Windows Classic, but that&#39;s a small price to pay for having a gantt-like capability.  <p>Loren Abdulezer/Evolving Technologies Corporation<br /><strong><a href="http://www.XcelsiusBestPractices.com">www.XcelsiusBestPractices.com</a></strong><br /><strong><a href="http://www.XcelsiusJournal.com">www.XcelsiusJournal.com</a></strong> </p>

  • 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

  • Stacked Bar chart mouseover options

    I am using the stacked bar chart. When mousing over the bars, it currently displays the totals on the very top of the bar. Is there a way to make the total display inside (or at the bottom) of the bar?

    Hi HCMJ,
    By default, the bar value will not overlapping each other in stacked bar chart, and we cannot increase or decrease the gap between the series in Reporting Services.
    Based on my research, I find a workaround can achieve your requirement, please refer to the steps below:
    Create a dataset with the query below (sample data):
    CREATE TABLE #temp(name nvarchar(50),time nvarchar(50),value int)
    INSERT INTO #temp VALUES     ('Invoiced','YEAR',100),('Invoiced','MONTH',200),('Budget','MONTH',300),('Budget','YEAR',600)
    SELECT * FROM  #temp
    Insert time field to Category Groups pane, and change the group name to “time”.
    Insert value field to Values pane, then change the value to like below:
    =min(Fields!value.Value,"time")
    Insert another field with the following expression to Values pane:
    =max(Fields!value.Value,"time")
    Change the type of chart from Stacked Bar Chart to Range Bar Chart.
    Right-click the Series field to change the Fill color to #9bff8c00 (DarkOrange with 155 Transparency) or any color with Transparency you like. Now we can get the following:
    Preview it and get the following result:
    If there are any other questions, please feel free to ask.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Stacked bar chart errors

    I am creating a stacked bar chart and put a max row count of 50, but the graph actually shows more than 50. After the 50 data points, all of the rest of the dates along the x axis are out of order. Is there another location i also need to enforce this max row count?

    Hi HCMJ,
    By default, the bar value will not overlapping each other in stacked bar chart, and we cannot increase or decrease the gap between the series in Reporting Services.
    Based on my research, I find a workaround can achieve your requirement, please refer to the steps below:
    Create a dataset with the query below (sample data):
    CREATE TABLE #temp(name nvarchar(50),time nvarchar(50),value int)
    INSERT INTO #temp VALUES     ('Invoiced','YEAR',100),('Invoiced','MONTH',200),('Budget','MONTH',300),('Budget','YEAR',600)
    SELECT * FROM  #temp
    Insert time field to Category Groups pane, and change the group name to “time”.
    Insert value field to Values pane, then change the value to like below:
    =min(Fields!value.Value,"time")
    Insert another field with the following expression to Values pane:
    =max(Fields!value.Value,"time")
    Change the type of chart from Stacked Bar Chart to Range Bar Chart.
    Right-click the Series field to change the Fill color to #9bff8c00 (DarkOrange with 155 Transparency) or any color with Transparency you like. Now we can get the following:
    Preview it and get the following result:
    If there are any other questions, please feel free to ask.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Stacked bar chart/line chart combination

    Hi,
    I use Crystal Reports 10.I need to produce a chart containing 2 series on the same graph with:
    - one series as a stacked bar chart type,
    - one series as a line chart type (not stacked).
    I tried doing 2 separate charts and superimposing one over the other, but the user wants to export it to excel and when they do so, the graphs appear as 2 separate images rather than one. it appears correctly in pdf though.
    How can i achieve this, either in 1 graph or as separate 2 graphs ?
    Any help appreciated...
    Thanks in advance,
    Swathy.

    Hello Swathy,
    If you can get both series in one chart then you can convert one series into line.
    To do this right click on the Bar that you want to display as line.Select the series option and then select "Line" from the drop down of "Show Selected Series as:" option.
    Hope this will help!
    Thanks & Regards,
    Amrita

  • Stacked Bar chart does not overlap series

    I have a stacked bar chart with to values "Invoiced" and "Budget" and 2 categories YEAR and MONTH - the problem is that the bar chart shows the values Invoiced and Budget in Top of each other and Not overlapping each other . ex:
    NOW:  Invoiced =  200   Budget = 300   - Bar chart shows a column of 500 for the month (NOT correct)
    What I want is to show 1 column for each month where up to 200 the colour is green and from 200 to 300 the colour is blue for example....
    How to achieve this ?

    Hi HCMJ,
    By default, the bar value will not overlapping each other in stacked bar chart, and we cannot increase or decrease the gap between the series in Reporting Services.
    Based on my research, I find a workaround can achieve your requirement, please refer to the steps below:
    Create a dataset with the query below (sample data):
    CREATE TABLE #temp(name nvarchar(50),time nvarchar(50),value int)
    INSERT INTO #temp VALUES     ('Invoiced','YEAR',100),('Invoiced','MONTH',200),('Budget','MONTH',300),('Budget','YEAR',600)
    SELECT * FROM  #temp
    Insert time field to Category Groups pane, and change the group name to “time”.
    Insert value field to Values pane, then change the value to like below:
    =min(Fields!value.Value,"time")
    Insert another field with the following expression to Values pane:
    =max(Fields!value.Value,"time")
    Change the type of chart from Stacked Bar Chart to Range Bar Chart.
    Right-click the Series field to change the Fill color to #9bff8c00 (DarkOrange with 155 Transparency) or any color with Transparency you like. Now we can get the following:
    Preview it and get the following result:
    If there are any other questions, please feel free to ask.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Stacked Bar chart and Line graphs

    I have a report in Crystal which has stacked bar chart and a line graph together in one report.
    Is it possible to do the same thing in WebI . Can anybody share the experience.

    Today you can only have a simple bar (not stacked) and line chart in Web Intelligence.  We are looking to improve charts in the future.  In the meantime you can look into the masher from the labs...

  • BAM-Stacked bar chart

    hi,
    how to set Stacked bar chart horizontally instead of vertically(by default).

    Hi HCMJ,
    By default, the bar value will not overlapping each other in stacked bar chart, and we cannot increase or decrease the gap between the series in Reporting Services.
    Based on my research, I find a workaround can achieve your requirement, please refer to the steps below:
    Create a dataset with the query below (sample data):
    CREATE TABLE #temp(name nvarchar(50),time nvarchar(50),value int)
    INSERT INTO #temp VALUES     ('Invoiced','YEAR',100),('Invoiced','MONTH',200),('Budget','MONTH',300),('Budget','YEAR',600)
    SELECT * FROM  #temp
    Insert time field to Category Groups pane, and change the group name to “time”.
    Insert value field to Values pane, then change the value to like below:
    =min(Fields!value.Value,"time")
    Insert another field with the following expression to Values pane:
    =max(Fields!value.Value,"time")
    Change the type of chart from Stacked Bar Chart to Range Bar Chart.
    Right-click the Series field to change the Fill color to #9bff8c00 (DarkOrange with 155 Transparency) or any color with Transparency you like. Now we can get the following:
    Preview it and get the following result:
    If there are any other questions, please feel free to ask.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

Maybe you are looking for

  • Word docs won't open

    Hi - I am using Tiger 10.4.4 and for some reason now I can't get word docs to open. I just keep getting the little revolving color wheel and I have to force quit. I don't know why this is happening. HELP!!!

  • Combine multiple key figures in single key figure

    Hi, We have a requirement where we need to put multiple key figures into a single key figure For example source DSO is as follows (+ Unit object): Region    |   Date           |    Amount  |    Quantity Asia        |  01-01-2008  |    100        |   

  • Exporting for Web VS exporting for DVD

    So here's the story: I am pretty familiar with exporting my movies for the web and stuff like compression, etc but I was just asked to burn some of my movies for DVD distribution. As stupid as I am, I sent those guys the files that I use for web dist

  • BADI BBP_CATALOG_TRANSFER

    Hello! We are working with SRM 5.0 and we are using punch out. We need to buy on stock (cost assignment category ST) out of those external catalogs. But the vendor cannot put our SAP material numbers into his system. How can I do the mapping between

  • 11gR1 to 11gR2 grid

    Hello Suppose I have 11gR1 database with asm. With regards to upgrading it to 11gR2 database with grid infrastructure, I can follow the db upgrade steps for the database, but how about the asm ? in 11gR2, asm suppose to be run under grid infrastructu