- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Posted 06-19-2018 11:49 PM
(1451 views)
Please help me to plot a gchart with stacked graph,am experiencing error while running program.can anyone help in resolving
Code- proc gchart data =work.test;
Vbar classname / midpoint g100
Subgroup =division sumvar=rank
Clipref
Legend=legend1
Gaxis=axis1
Raxis=axis2
Space=0
Anno=work.students;
Run;
Error -syntax error at midpoint parameter
If i remove midpoint parameter its asking datasystem is requested for midpoint but value is not on graph
Code- proc gchart data =work.test;
Vbar classname / midpoint g100
Subgroup =division sumvar=rank
Clipref
Legend=legend1
Gaxis=axis1
Raxis=axis2
Space=0
Anno=work.students;
Run;
Error -syntax error at midpoint parameter
If i remove midpoint parameter its asking datasystem is requested for midpoint but value is not on graph
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
The documentation is pretty clear
There is no MIDPOINT option in PROC GCHART
There is a MIDPOINTS= option, maybe that is what you want?
--
Paige Miller
Paige Miller
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Gchart midpoints= option would look like
midpoints=(30 40 50)
where there is a list of values that you want to be the midpoint of the bars on the axis.
OR
midpoints=OLD if you want to use the Nelder algorithm for determining default midpoint values from the values of a numeric variable used for the axis
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
While using sgplot, what option we can useinplace pct= and stat=in sas9.2 or earlier version.please gelp me