Create line chart in SAP
Hi experts:
I got a problem while using graphic function (GRAPH_MATRIX_3D) to create chart, but I find the function can only create column(bar) chart and the maximal column is 6. As per the customer's request, they want to view the chart in line chart and the column number should be more than 6.
Can you please advise is there any other function or way I can use to fix it? Thanks a lot!!!
Edited by: Qicong Zhang on Oct 21, 2009 5:42 PM
Hi,
You can do this using the FM GFW_PRES_SHOW
Check the sample program : DEMO_GFW_PRES_SHOW.
Thanks,
HArini
Similar Messages
-
Hii Experts,
How to create line chart?
I want to prepaire a line chart in a report. i have 1 table. In a table have 2 fields. chart is created in these 2 field refrence how It's possible?
Thanx in Advance
Regards
VshalI found it very easy to produce a line chart in a window container using FM GFW_PRES_SHOW. In my case this produces a basic line graph with three lines across 15 time periods.
See transaction GRAL for various chart types...they're relatively easy to produce... I picked DEMO_GFW_PRES_SHOW report program from GRAL as my example for how to produce a simple line chart very quickly. -
Hi,
I've created a waveform chart that takes in an integer data point every seven seconds. I'd prefer it if the chart directly connected the data points to form a line chart instead of going down to zero during the seven seconds between readings. I checked around labview briefly but couldnt find any line charts. Is there a setting I can chanhe of a type of chart i should use to get a basic line graph?
THanksThe default chart is a 'line chart'. Right click on the plot legend and look at the interpolation. Unless you changed the Fill Base Line option, the chart will not drop to zero unless you are passing it a zero value.
-
Problem creating line chart with character data
Post Author: burkartt
CA Forum: Charts and Graphs
CR Developer v. 11.5.0.313
I want to create a line chart with data from a SQL2K table to show how much server time each application uses per day. All data is defined a character.
HWA,4/24/2007,01:44.6HWA,4/25/2007,12.28HWB,4/24/2007,4.6HWC,4/24/2007,55.55HWC,4/25/2007,01:22.3HWE,4/24/2007,01:16.1HWE,4/25/2007,0.59
I want one horizontal line per application where the X-axis represents the date and the Y-axis represents the server time. I have tried all column combinations for "On Change Of" and "Show Value(s)". What confuses me is why are Count and Discount the only Summary Options for the "Show Value(s)" data?
Thank you,
timPost Author: V361
CA Forum: Charts and Graphs
I created a group based on date, day, then created the chart and put it in the group footer, on change of server, show sum of time, you will get a seperate chart for each day. I am not sure if this will help, or will just do. Since you have CR XI, you may want to look at the gauge chart also.... -
How to draw Line Chart in SAP?
There is a request that the customer want to see Line Chart in the report.
Is it possible to do it using abap?
Thank you very much.Hi,
Yes it is possible.
GOto Tcode SE83>Expand graphics node>double click on that
you will get all graphic programs. -
Hi.,
I want to create line charts in WAD. But when i execute the report it is showing in a single vertical line. But in bar charts it is showing correctly. Please guide me to create reports.
Thanks,
VenkateshHi
Charts displays the data Graphically..
So Chart is the Web Item in WAD which is existing in the standard Webitems Area. Select the web item and Double click to get in to the work area and now after that we need to assign the Data Provider to that. By assigning this the data will be displayed in the Graphical mode.
and also please see the link. it would be helpful to you.To know what are the types of charts and corresponding classes, And in the link if you drill down you will see Formatting a chart using Wizard, Defining chart properties etc.,
http://help.sap.com/saphelp_nw70/helpdata/EN/d2/02223c5f00612be10000000a11402f/frameset.htm.
Hope this helps you
Many Thanks
Kiran -
I
I...................................................................................... ->> Upper Threshhold point
I
I ... ...... ^
I . ... ... Y - axis
I .. ....
I..
I....................................................................................... ->> Lower Threshhold point
I..............................................................................................
X- axis...........................>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Dear Experts,
I have a requiremnet to generate a specific Line Chart in SAP. User will execute one program which will provide a report. The report will be a simple ALV grid report where User needs a customized Graph button. On clicking the button the program should generate the sample graph provided above. Curently I am working in SAP 4.6C version. I know SAP has already provide few chart and diagram display functionalities which are present in ALV. But above Line Chart is not among those. How to acheive the above objective?
Regards,
PulokeshDear Mathews and Kai,
Thanks for the help extended by you all regarding the problem faced by me. I didn't adopt the ways as per explained by you, but I studied a lot and procedures to create custom graph as per said by you. I found a unique way to achive my target by manipulating the variable list data and calculating the constant value of Upper/ Lower Threshold level. In this way I used the same old ALV grid technique to obtain the graph. Thanks for your help.
Regards,
Pulokesh -
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 -
Hi Friends,
I am trying to create a Line Chart based on CalMonth, where I want to show no. of SalesOrg denoted by different lines separately according to their monthly sales.
Please help.
Regards,
JatinHi,
To create chart this is the process..
1. Before you begin publishing a chart, you need to specify which chart type ( Line chart in your case ) you want to display. You can determine how the data provider is to be built by using the class of the chart type.
2. Select an existing query or design a new query with which you can generate a suitable view of the data, that is, a suitable data provider.
3. Start the publishing process and create a new Web item of type Chart.
4. We recommend configuring the properties of the chart Web item as follows:
○ Expanded hierarchy nodes should be hidden.
○ Totals should be suppressed.
○ If you want to swap the data providers in the chart, you should assign the Swap Display Axes property to the chart. The columns and rows are then swapped automatically when the chart is generated. You do not need to change the view on which the chart is based.
5. When you edit the chart, the Web Application Designer or Web Application Wizard first shows the default setting, that is, a column chart.
○ Firstly, format the chart using the wizard so that the most important settings and the number of displayed data series and data points correspond to your data provider (see also Formatting a Chart Using the Wizard). Assign the required chart type to the chart and format the chart as required.
○ All chart elements that you can format are displayed in the list of properties on the right of the screen. You can modify the properties as required here.
Also go through these links.
line chart..
[http://help.sap.com/saphelp_nw70/helpdata/EN/7e/daf830b46411d2961200a0c9308b1f/frameset.htm]
Formatting chart..
[http://help.sap.com/saphelp_nw70/helpdata/EN/7e/daf830b46411d2961200a0c9308b1f/frameset.htm]
Hope it helps..
Regards,
Priti -
What is the best way to create a SSRS 2005 Line Chart Report for a 12 month period?
I'm looking for advice on how to create a SQL Server 2005 query and line chart report for SSRS 2005.
I need to display the peak number of patients assigned to a medical practice each month for a 12 month period based on the end-user selecting a
single month and year.
I've previously created a report that displays all patients assigned to the practice for any single month but I’m looking for advice on how to
how to produce a resultset that shows the peak number of patients each month for a 12 month period. I thought about creating a query that returns the peak count for each month (based on my previously created report which displays all patients assigned to the
practice for any single month) and then use a UNION statement to join all 12 months but I'm sure that isn't the most efficient way to do this. The other challenge with this approach (twelve resultsets combined via a UNION) is that the end-user needs to be
able to select any month and year for the parameter and the report needs to display the 12 month period based on the month selected (the month selected would be the last month of the 12 month period).
For the report I’ve previously created that displays all patients assigned to the practice for any single month, the WHERE statement filters the
resultset on two fields:
Start Date - The date the patient was assigned to the practice. This field is never null or blank.
End Date - The date the patient left the practice. This field can be null or blank as active patients assigned to the practice do not have an End Date. When the patient
leaves the practice, the date the patient left is populated in this field.
Using these two fields I can return all patients assigned to the practice during Nov 2012 by looking for patients that meet the following criteria:
start date prior to 11/30/2012 (using the last day of the month selected ensures patients added mid-month would be included)
AND
end date is null or blank (indicates the patient is active) OR the end date is between 11/1/2012 -11/30/2012 (returns patients that leave during the month
selected)
Regarding the query I need to create for the report that displays the peak count each month for 12 months, I'm looking for advice on
how to count patients for each month the patient is assigned to the practice if the patient has been assigned for several months (which applies to most patients). Examples are:
John Doe has a start date of 6/01/2012 and an End Date of 10/07/2012
Sally Doe has a start date of 8/4/2012 and no End Date (the patient is still active)
Jimmy Doe has a start of 7/3/2012 and an End Date of 9/2/2012
Given these examples how would I include John Doe in the peak monthly count each month for May - October, Sally Doe in the peak monthly count for
August - December and Jimmy Doe in the peak monthly count for July – Sept if the end-user running the report selected December 2012 as the parameter?
Given the example above and the fact I'm creating a line chart I think the best way to create this report would be a resultset that looks like
this:
Patient Name
Months Assigned
John Doe
June 2012
John Doe
July012
John Doe
Aug 2012
John Doe
Sept 2012
John Doe
Oct 2012
Sally Doe
Aug 2012
Sally Doe
Sept 2012
Sally Doe
Oct 2012
Sally Doe
Nov 2012
Sally Doe
Dec 2012
Jimmy Doe
July 2012
Jimmy Doe
Aug 2012
Jimmy Doe
Sept 2012
From the resultset above I could create another resultset that would count\group on month and year to return the peak count for each month:
June 2012 - 1
July 2012 – 2
Aug 2012 - 3
Sept 2012 - 3
Oct 2012 - 2
Nov 2012 - 1
Dec 2012 - 1
The resultset that displays the peak count for each month would be used to create the line chart (month would be the X axis and the count would
be the y axis).
Does this sound like the best approach?
If so, any advice on how to create the resultset that lists each patient and each month they were assigned to the practice would be greatly appreciated.
I do not have permissions to create SPs or Functions within the database but I can create temp tables.
I know how to create the peak monthly count query (derived from the query that lists each patient and month assigned) as well as the line chart.
Any advice or help is greatly appreciated.Thanks for the replies. I reviewed them shortly after they were submitted but I'm also working on other projects at the same time (hence the delayed reply).
Building a time table and doing a cross join to my original resultset gave me the desired resultset of the months assigned between dates. What I can't figure out now is how to filter months I don't want.
Doing a cross join between my original resultset that had two dates:
08/27/2010
10/24/2011
and a calendar table that has 24 rows (each month for a two year period)
my new resultset looks like this:
I need to filter the rows in yellow as the months assigned for stage 3 that started on 8/27/2010 should stop when the patient was assigned to stage 4 on 10/24/2011.
You'll notice that Jan - Sept 2011 isn't listed for Stage 4 assigned on 10/24/2011 as I included a filter in the WHERE clause that states
the Months Assigned value must be greater than or equal to the date assigned value.
Any advice would be appreciated. -
Creating a Line Chart using a user enter target amount.
Hi all,
I'm trying to create a chart that will use Total Sales and Annual Target(Goal).
I get the Total sales to work just fine. It's just getting the Annual Target(Goal), which is a parameter, to come into the chart. Right now they are doing this in Excel and the Target line goes from 0 to 8,000,000.
So how do i get that to work in my Crystal Report?
So when the report is working correctly i should have a Line Chart with two Lines. Line 1 "The Target", Line 2 "Total Sales".
ThanksHi
Create a formula field and store the parameter there.
Now put this formula field in "On change of" in the Chart expert.
e.g. I have a parmeter on country and I have a chart which shows the last year sales year wise for the countries.
I create a formula field and put the below formula:
stringvar x = {?countryparameter};
Now i put this formula field in On change of so when i run the report i select the required country.
Hope this helps!!
Regards
Sourashree -
How to create a Power View bringing barchart and line chart together in same graph
We are planning to create power view report that has bar and line charts on same graph. Could you please let us know whether it is feasible in Power View & how to add trend line in power view .
Thanks,
Sandeep.This is not possible with Power View. It is possible with Power BI (Online at PowerBI.com) See image below.
Please vote or mark as answer if you found the response helpful.
Regards, Avi
www.powerpivotpro.com
Wiki:How to ask a Power Pivot Question to get a prompt, accurate and helpful response -
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,
ManojI 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 -
Can you put line break in text in the data box when creating a chart.
i.e. if you have a bar chart with text underneath each bar, can you break it when you’re entering it instead of manually afterwards
Thankshttp://help.adobe.com/en_US/illustrator/cs/using/WS3f28b00cc50711d9fc86fa8133b3ce158e-8000 .html
See "Enter labels" -
How to create a smooth line chart in dashboard design?
hello everyone, i am creating a line chart but found that there is no smooth line option to choose in line chart component... is there anyway this can be done? thanks in advance
Hi ,
Check this link
How to make a Line Chart curved instead of straight from point-to-point?
Regards
Rajesh
Maybe you are looking for
-
Adobe creative cloud issue to download the apps
Adobe creative cloud issue to download the apps. Please find attached the error message below: we are faceing issue in woendow 7
-
Step 1. I open a web page. Step2. I press ctrl+d. Step3. I do not see the window where I choose the folder I wish the bookmark to be saved in. Step4. I clicked the star button on the right corner of location bar. Step5. I see the window now. Step 6.
-
Misleading play count on movies
This is probably more an idea than a problem, but I post it here to see what others think of it. We and our children love to watch movies on two iPads and on AppleTV. We are all sharing the same Home Sharing account. Many of the movies are played aga
-
why wont my songs upload to my new macbook from my iPhone?
-
How do i install the trial version of Adobe photoshop elements 12?