<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to include &amp;gt;200 midpoints for axis1 in GCHART in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/How-to-include-gt-200-midpoints-for-axis1-in-GCHART/m-p/254507#M9207</link>
    <description>&lt;P&gt;I did a test and it seems that 200 is the limit for Gchart with discrete VBAR.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The Needleplot doesn't have a limit though the display size may mean that there isn't much visible space between the vertical lines.&lt;/P&gt;
&lt;P&gt;Here is a very brief example:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data needle;
   do xvar = 1 to 400;
      yvar = abs(200-xvar);
      output;
   end;
run;

ods graphics on;

proc sgplot data=needle;
   needle x=xvar y=yvar /
   ;
run;

ods graphics off;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Needleplot would require presummarizing data but I seldom used gchart to do the summaries anyway as I often needed to provide tables as well as charts.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 04 Mar 2016 16:15:59 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2016-03-04T16:15:59Z</dc:date>
    <item>
      <title>How to include &gt;200 midpoints for axis1 in GCHART</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/How-to-include-gt-200-midpoints-for-axis1-in-GCHART/m-p/254240#M9196</link>
      <description>I can plot 125 midpoint nicely with this code below (SAS 9.2).  When data piont go up to 262, I got the error massage.   Do any one know a solution?

proc gchart data=final  anno=anno1;
where arm=1;
vbar count/ discrete sumvar=chg ascending noframe raxis=axis1 maxis=axis2 width=.2 space=0.4;
run;
quit;

LOG: ERROR: There were 262 midpoints generated from the data. Specify levels=all to display the graph.</description>
      <pubDate>Thu, 03 Mar 2016 16:28:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/How-to-include-gt-200-midpoints-for-axis1-in-GCHART/m-p/254240#M9196</guid>
      <dc:creator>Anna_h</dc:creator>
      <dc:date>2016-03-03T16:28:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to include &gt;200 midpoints for axis1 in GCHART</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/How-to-include-gt-200-midpoints-for-axis1-in-GCHART/m-p/254245#M9197</link>
      <description>&lt;P&gt;As the error says include LEVELS=ALL in the options to the VBAR.&lt;/P&gt;
&lt;P&gt;For legibility you may need to increase the space available for your graphics output.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Alternatively you might investigate PROC SGPLOT with a NEEDLEPLOT though that might require presummarizing the data before plotting.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Mar 2016 16:46:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/How-to-include-gt-200-midpoints-for-axis1-in-GCHART/m-p/254245#M9197</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2016-03-03T16:46:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to include &gt;200 midpoints for axis1 in GCHART</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/How-to-include-gt-200-midpoints-for-axis1-in-GCHART/m-p/254400#M9199</link>
      <description>Helpful suggestion thank you! I will try. By the way, what is the number limit for gchart using discrete, or we can change setting somewhere?</description>
      <pubDate>Fri, 04 Mar 2016 03:29:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/How-to-include-gt-200-midpoints-for-axis1-in-GCHART/m-p/254400#M9199</guid>
      <dc:creator>Anna_h</dc:creator>
      <dc:date>2016-03-04T03:29:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to include &gt;200 midpoints for axis1 in GCHART</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/How-to-include-gt-200-midpoints-for-axis1-in-GCHART/m-p/254507#M9207</link>
      <description>&lt;P&gt;I did a test and it seems that 200 is the limit for Gchart with discrete VBAR.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The Needleplot doesn't have a limit though the display size may mean that there isn't much visible space between the vertical lines.&lt;/P&gt;
&lt;P&gt;Here is a very brief example:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data needle;
   do xvar = 1 to 400;
      yvar = abs(200-xvar);
      output;
   end;
run;

ods graphics on;

proc sgplot data=needle;
   needle x=xvar y=yvar /
   ;
run;

ods graphics off;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Needleplot would require presummarizing data but I seldom used gchart to do the summaries anyway as I often needed to provide tables as well as charts.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Mar 2016 16:15:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/How-to-include-gt-200-midpoints-for-axis1-in-GCHART/m-p/254507#M9207</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2016-03-04T16:15:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to include &gt;200 midpoints for axis1 in GCHART</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/How-to-include-gt-200-midpoints-for-axis1-in-GCHART/m-p/254517#M9208</link>
      <description>Thanks a lot!</description>
      <pubDate>Fri, 04 Mar 2016 16:30:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/How-to-include-gt-200-midpoints-for-axis1-in-GCHART/m-p/254517#M9208</guid>
      <dc:creator>Anna_h</dc:creator>
      <dc:date>2016-03-04T16:30:12Z</dc:date>
    </item>
  </channel>
</rss>

