Hi everybody,
I have this problem with a proc gchart using axis statement :
WARNING: The MINOR= option on AXIS statement 2 was ignored
because the Nature de l'événement axis does not
support MINOR=.
So i can't have minor ticks on my horiszontal axis.
Are you trying to use it on the maxis? (ie, midpoint/bar axis?)
Indeed I am using it on MAXIS for Vbar GCHART
That's not allowed (there aren't really even "major" tickmarks on the bar/midpoint axis)
If you want minor tickmarks on the bar/midpoint axis, you'll have to use gplot, and the 'needle' interpolation (with large width= values, so that the needles look like bars). In gplot, the (fake) bars will be proportionally spaced, and then it will make mathematical sense to have the concept of tickmarks.
Oh really!! so i can't have subgroups with gplot not like gchart , isn't it?
Well ... anything's "possible" -- you just have to ask, is the desired visual effect (in this case, minor tickmarks between bars) important enough to jump through hoops (more complex data manipulations, and less straightforward code) required to get the desired visual effect...
With gplot 'needle' plots, you can overlay the needle segments such that it produces the visual effect of subgrouped bars (but considerable data-manipulation is required to make this work). Here's an example (in this case I'm using skinny needles, and in your case you'd use wide needles). Note that with the data I'm using, having the bars spaced proportionally (on a time axis), and having tickmarks "between" the bars is actually meaningful.
Okey, I have to think about it very interesting, but using this i'll have to change all my programs, may be let down the minor tricks :smileygrin:
Do the minor ticks in the non-SAS maps you're converting to SAS serve a purpose?
Some softwares just stick in "decorative" minor tickmarks between bars, which serve no real purpose.
no it is just a visual choice i think, "communication direction" wants this visual, that's all
Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
Register now!
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.