CartesianLayout typedef
CartesianLayout = ({double axisW, bool condensed, double contentWidth, YDomain domain, double labelAngle, double labelH, int labelInterval, double labelWidth, int lineCap, bool needsScroll, double plotH, double slotWidth})
Full geometry for a vertical cartesian chart, in content
coordinates (the plot painter) plus the fixed axis width.
labelAngle is 0 for horizontal labels, -pi/4 for condensed
angled labels; labelInterval thins condensed labels (1 =
every label); labelWidth is the box a condensed label wraps
or truncates to (in scroll mode it is just the slot width).
Implementation
typedef CartesianLayout = ({YDomain domain, double axisW, double slotWidth, double contentWidth, double labelH, double plotH, int lineCap, bool needsScroll, bool condensed, double labelAngle, int labelInterval, double labelWidth});