Provides plotting support for the X axis grid i.e. Depth grid lines and text.
Created on 28 Feb 2011
TODO: Remove APIs that are not used by Plot or anything. Plot only appears to use genXAxisRange() and genXAxisTextRange().
Exception for plotting.
Definition of a grey solid stroke Usage: StrokeBlackGrey._replace(width=2.0)
Class that can generate depth line grid and alphanumeric values. Constructed with integer scale.
Default for unknown units and scale, this is basically like simple graph paper
Default position for text on the X axis
Constructor with integer scale. We make scale a constructor argument as we know that up front. We don’t necessarily know the X units.
Generates a bounded series of X axis line plot positions as (Dim(), Stroke()). evFrom and evTo and EngVal objects.
Generates unbounded series of X line positions as (Dim(), Stroke()).
xFrom - The starting value as a float, positions may not include this if fractional. First x position generated will be math.ceil() if xInc, math.floor() otherwise.
xInc - A boolean, True if X increases.
units - Units of X axis e.g. b’FEET’.
Generates events from/to in units.
Generates a bounded series of X axis line plot positions as (Dim(), value). evFrom and evTo and EngVal objects.
list of weak references to the object (if defined)