Add axis -type option
Brought to you by:
ghowlett
This patch adds the -type option to the axis. With
this option you can set/inquire the axis type:
left, right, top, bottom.
So now you can use it like this:
.sc axis configure $axis -type left
which is equivalent to
.sc yaxis use $axis
And also, you can inquire the axis type, or where is
mapped, with
.sc axis configure $axis -type
which will return left, right, top or bottom.
The '-type' option was choosed to do this to resemble
the element -type option.
The option was also added to the fixes axis, for
compatibility,
but maybe it is not neccesary.
Marcelo
Modified exampl that uses the axis -type option