YAxisFunction

Undocumented in source.
alias YAxisFunction = YAxis delegate

Examples

XAxis ax;
auto f = xaxisRange( 0, 1 );
assertEqual( f(ax).min, 0 );
assertEqual( f(ax).max, 1 );

YAxis yax;
auto yf = yaxisRange( 0, 1 );
assertEqual( yf(yax).min, 0 );
assertEqual( yf(yax).max, 1 );
XAxis xax;
auto xf = xaxisLabel( "x" );
assertEqual( xf(xax).label, "x" );

YAxis yax;
auto yf = yaxisLabel( "y" );
assertEqual( yf(yax).label, "y" );
XAxis xax;
auto xf = xaxisOffset( 1 );
assertEqual( xf(xax).offset, 1 );

YAxis yax;
auto yf = yaxisOffset( 2 );
assertEqual( yf(yax).offset, 2 );

Meta