turn on suggestions

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

Find a Community

- Home
- /
- SAS Programming
- /
- SAS/GRAPH and ODS Graphics
- /
- Proc Gchart (Want to know about Backend Process)

Topic Options

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

08-11-2013 10:14 PM

Hi,

When I tried to produce a graph without discrete option in Proc Gchart,

I Observed a Graph obtaining midpoints on X-axis (I want know How midpoints will be calculated for the given values for Numeric variable.).

Accepted Solutions

Solution

08-12-2013
08:16 AM

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

Posted in reply to DR_Majeti

08-12-2013 08:16 AM

I've never seen Gchart's automatic midpointing algorithm in the doc. Here is a page that describes a little about it (but not the full algorithm)...

SAS/GRAPH(R) 9.3: Reference, Third Edition

If you want to know see the exact start & end value in the axis midpoint text (instead of seeing just the single midpoint value), you can use the 'range' option, such as ...

**gchart** data=sashelp.class;

height / range type=mean sumvar=weight;

run;

I usually pre-process my data, and calculate my own ranges for the bars (using if/else statements, or proc rank, etc), so that I know exactly what's in which bar.

All Replies

Solution

08-12-2013
08:16 AM

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

Posted in reply to DR_Majeti

08-12-2013 08:16 AM

I've never seen Gchart's automatic midpointing algorithm in the doc. Here is a page that describes a little about it (but not the full algorithm)...

SAS/GRAPH(R) 9.3: Reference, Third Edition

If you want to know see the exact start & end value in the axis midpoint text (instead of seeing just the single midpoint value), you can use the 'range' option, such as ...

**gchart** data=sashelp.class;

height / range type=mean sumvar=weight;

run;

I usually pre-process my data, and calculate my own ranges for the bars (using if/else statements, or proc rank, etc), so that I know exactly what's in which bar.

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

Posted in reply to RobertAllison_SAS

08-12-2013 09:17 AM

Hi,

I Got cleared my doubt 95%.

Thank you for the Information, I have another Doubt regarding this -- How SAS will take number of midpoints should be given for the chart.

If we use levels or midpoints we will get how many we want, but can I know about number of default midpoints produced.