From: Motria Caudill on
Hello SAS people -

This seems to be a simple thing, but I can't find a fix. How do I
make the font bigger on the midpoint labels and y-axis tickmarks in
Gchart? Note that I'm suppressing the actual x-axis and y-axis labels,
as I don't need them. I'm stacking several of these charts together
using Greplay, but this makes the midpoint names too tiny/illegible
and so I need to beef them up. Help?! Sample code below.. dunno
what new code should go where.

Bonus question: Could I possibly have the midpoint names read across
the top of the chart instead of the bottom? Am I getting
greedy? :-) Thanks in advance for any help.

++++++++++++++++++++++
proc gchart data=chlor;
vbar species / discrete
type=sum sumvar=chlor
midpoints = "ACETE" "BUT13" "BZ" "CLMT" "CTETL" "DCDFM"
maxis=axis1 raxis=axis2;
axis2 logbase=10 minor=none label=none order=(0.001, 0.01, 0.1, 1.0)
value=('10-3' '10-2' '10-1' '10-0');
axis1 label=none;
run;
++++++++++++++++++++++
From: Ya on
On Jul 29, 11:06 am, Motria Caudill <motria.caud...(a)gmail.com> wrote:
> Hello SAS people -
>
> This seems to be a simple thing, but I can't find a fix.  How do I
> make the font bigger on the midpoint labels and y-axis tickmarks in
> Gchart? Note that I'm suppressing the actual x-axis and y-axis labels,
> as I don't need them. I'm stacking several of these charts together
> using Greplay, but this makes the midpoint names too tiny/illegible
> and so I need to beef them up.  Help?!  Sample code below..  dunno
> what new code should go where.
>
> Bonus question:  Could I possibly have the midpoint names read across
> the top of the chart instead of the bottom?  Am I getting
> greedy?  :-)   Thanks in advance for any help.
>
> ++++++++++++++++++++++
> proc gchart data=chlor;
> vbar species / discrete
>  type=sum sumvar=chlor
>  midpoints = "ACETE" "BUT13" "BZ" "CLMT" "CTETL" "DCDFM"
>  maxis=axis1 raxis=axis2;
>  axis2 logbase=10  minor=none label=none order=(0.001, 0.01, 0.1, 1.0)
> value=('10-3' '10-2' '10-1' '10-0');
>  axis1 label=none;
> run;
> ++++++++++++++++++++++

axis1 label=none h=16pt;

Use h= to control the font size;

HTH

Ya
From: Motria Caudill on
Thanks Ya, but that doesn't do it. I get the below warning. Not only
does this not change my midpoint fonts, but it un-supresses the axis
label. :-(

"WARNING: AXIS statement 1 not found. The default axis description
will be used."

Any other ideas? Thanks for the reply. I appreciate it. -M



On Jul 29, 4:57 pm, Ya <huang8...(a)gmail.com> wrote:
> On Jul 29, 11:06 am, Motria Caudill <motria.caud...(a)gmail.com> wrote:
>
>
>
>
>
> > Hello SAS people -
>
> > This seems to be a simple thing, but I can't find a fix.  How do I
> > make the font bigger on the midpoint labels and y-axis tickmarks in
> > Gchart? Note that I'm suppressing the actual x-axis and y-axis labels,
> > as I don't need them. I'm stacking several of these charts together
> > using Greplay, but this makes the midpoint names too tiny/illegible
> > and so I need to beef them up.  Help?!  Sample code below..  dunno
> > what new code should go where.
>
> > Bonus question:  Could I possibly have the midpoint names read across
> > the top of the chart instead of the bottom?  Am I getting
> > greedy?  :-)   Thanks in advance for any help.
>
> > ++++++++++++++++++++++
> > proc gchart data=chlor;
> > vbar species / discrete
> >  type=sum sumvar=chlor
> >  midpoints = "ACETE" "BUT13" "BZ" "CLMT" "CTETL" "DCDFM"
> >  maxis=axis1 raxis=axis2;
> >  axis2 logbase=10  minor=none label=none order=(0.001, 0.01, 0.1, 1.0)
> > value=('10-3' '10-2' '10-1' '10-0');
> >  axis1 label=none;
> > run;
> > ++++++++++++++++++++++
>
> axis1 label=none h=16pt;
>
> Use h= to control the font size;
>
> HTH
>
> Ya- Hide quoted text -
>
> - Show quoted text -

From: Motria Caudill on
Hey people - In case anyone was interested, one of my coworkers came
up with a solution to the font issue. Pasted below.. this works!
Notice the font is specified within the VALUE statement for both
axes.

But switching the midpoint names from the bottom to the top of the
chart remains a mystery. So let me know if you have a solution!
Thanks.

*******************************
axis2 logbase=10 minor=none label=none order=(0.001, 0.01, 0.1, 1.0)
value=(f=swiss h=1 '10-3' '10-2' '10-1' '10-0');
axis1 label=none value=(f=swiss h=1);
*******************************


On Jul 29, 7:32 pm, Motria Caudill <motria.caud...(a)gmail.com> wrote:
> Thanks Ya, but that doesn't do it.  I get the below warning.  Not only
> does this not change my midpoint fonts, but it un-supresses the axis
> label.  :-(
>
> "WARNING: AXIS statement 1 not found. The default axis description
> will be used."
>
> Any other ideas?  Thanks for the reply.  I appreciate it.   -M
>
> On Jul 29, 4:57 pm, Ya <huang8...(a)gmail.com> wrote:
>
>
>
> > On Jul 29, 11:06 am, Motria Caudill <motria.caud...(a)gmail.com> wrote:
>
> > > Hello SAS people -
>
> > > This seems to be a simple thing, but I can't find a fix.  How do I
> > > make the font bigger on the midpoint labels and y-axis tickmarks in
> > > Gchart? Note that I'm suppressing the actual x-axis and y-axis labels,
> > > as I don't need them. I'm stacking several of these charts together
> > > using Greplay, but this makes the midpoint names too tiny/illegible
> > > and so I need to beef them up.  Help?!  Sample code below..  dunno
> > > what new code should go where.
>
> > > Bonus question:  Could I possibly have the midpoint names read across
> > > the top of the chart instead of the bottom?  Am I getting
> > > greedy?  :-)   Thanks in advance for any help.
>
> > > ++++++++++++++++++++++
> > > proc gchart data=chlor;
> > > vbar species / discrete
> > >  type=sum sumvar=chlor
> > >  midpoints = "ACETE" "BUT13" "BZ" "CLMT" "CTETL" "DCDFM"
> > >  maxis=axis1 raxis=axis2;
> > >  axis2 logbase=10  minor=none label=none order=(0.001, 0.01, 0.1, 1.0)
> > > value=('10-3' '10-2' '10-1' '10-0');
> > >  axis1 label=none;
> > > run;
> > > ++++++++++++++++++++++
>
> > axis1 label=none h=16pt;
>
> > Use h= to control the font size;
>
> > HTH
>
> > Ya- Hide quoted text -
>
> > - Show quoted text -- Hide quoted text -
>
> - Show quoted text -