The library documents itself · Statistics & data-viz
stzHistogram
67 own methods · 0 forms written with extensions, listed under their method
the source: base/stats/stzHistogram.ring(opens in a new tab) · All classes · The area reference: Statistics & data-viz
Under each method, its extensions (Q CS XT Z ZZ IB W U): bold and ticked, it exists; struck, it does not. The extensions and what they mean
Examples: 0 come from the library's tests; 8 were composed from each method's signature and run for this page, on a fresh object, for example o1 = new stzHistogram([ 1, 2, 2, 3, 3, 3, 4, 4, 5 ]). 59 methods have none yet. Examples run on 2026-10-03 20:34 inside the library at commit 0e72e2e2c.
Method
Explanation, as the source carries it
init
(no comment in the source: the name reads as a sentence) initno extension
ToCanvasQ
ROUND FIRST, THEN COMPACT. Rounding kills the float artefact that makes an edge print as 3.40000000004, and compacting keeps a large edge short (2.7K). -- the PIXEL tiers (GR6c) -------------------------------------------- The SAME bins the terminal draws -- counts and labels come from the binning, so the two pictures cannot disagree about the distribution. Bars touch, because the bins do.no extension
ToSVG
(no comment in the source: the name reads as a sentence) to svgno extension
ToPNG
(no comment in the source: the name reads as a sentence) to pngno extension
SetBinCount
Configuration methodsno extension
SetBarCount
Same as SetBinCount: Configuration methodsno extension
SetClassCount
Same as SetBinCount: Configuration methodsno extension
DivideToNClasses
Same as SetBinCount: Configuration methodsno extension
DivideToNGroups
Same as SetBinCount: Configuration methodsno extension
SetBinRange
(no comment in the source: the name reads as a sentence) set bin rangeno extension
SetClassRange
(no comment in the source: the name reads as a sentence) set class rangeno extension
SetHeight
(no comment in the source: the name reads as a sentence) set heightno extension
SetValues
(no comment in the source: the name reads as a sentence) set valuesno extension
IncludeValues
(no comment in the source: the name reads as a sentence) include valuesno extension
AddValues
(no comment in the source: the name reads as a sentence) add valuesno extension
WithoutValues
(no comment in the source: the name reads as a sentence) without valuesno extension
SetAggregation
(no comment in the source: the name reads as a sentence) set aggregationno extension
AggregationType
(no comment in the source: the name reads as a sentence) aggregation typeno extension
composed example
o1 = new stzHistogram([ 1, 2, 2, 3, 3, 3, 4, 4, 5 ]) ? o1.AggregationType() #--> frequencycomposed from the signature, run for this page
Aggregation
(no comment in the source: the name reads as a sentence) aggregationno extension
composed example
o1 = new stzHistogram([ 1, 2, 2, 3, 3, 3, 4, 4, 5 ]) ? o1.Aggregation() #--> frequencycomposed from the signature, run for this page
AggregationTypes
(no comment in the source: the name reads as a sentence) aggregation typesno extension
composed example
o1 = new stzHistogram([ 1, 2, 2, 3, 3, 3, 4, 4, 5 ]) ? @@( o1.AggregationTypes() ) #--> [ "frequency", "sum", "average", "min", "max" ]composed from the signature, run for this page
UseFrequency
(no comment in the source: the name reads as a sentence) use frequencyno extension
UseFreq
(no comment in the source: the name reads as a sentence) use freqno extension
UseSum
(no comment in the source: the name reads as a sentence) use sumno extension
UseAverage
(no comment in the source: the name reads as a sentence) use averageno extension
UseMin
(no comment in the source: the name reads as a sentence) use minno extension
UseMax
(no comment in the source: the name reads as a sentence) use maxno extension
SetStats
(no comment in the source: the name reads as a sentence) set statsno extension
AddStats
(no comment in the source: the name reads as a sentence) add statsno extension
IncludeStats
(no comment in the source: the name reads as a sentence) include statsno extension
SetVAxis
Vertical axis methods (with X aliases for compatibility)no extension
AddVAxis
(no comment in the source: the name reads as a sentence) add v axisno extension
IncludeVAxis
(no comment in the source: the name reads as a sentence) include v axisno extension
WithoutVAxis
(no comment in the source: the name reads as a sentence) without v axisno extension
SetXAxis
X-axis aliases for backward compatibilityno extension
AddXAxis
(no comment in the source: the name reads as a sentence) add x axisno extension
IncludeXAxis
(no comment in the source: the name reads as a sentence) include x axisno extension
WithoutXAxis
(no comment in the source: the name reads as a sentence) without x axisno extension
SetHAxis
Horizontal axis methods (with Y aliases for compatibility)no extension
AddHAxis
(no comment in the source: the name reads as a sentence) add h axisno extension
IncludeHAxis
(no comment in the source: the name reads as a sentence) include h axisno extension
WithoutHAxis
(no comment in the source: the name reads as a sentence) without h axisno extension
SetYAxis
Y-axis aliases for backward compatibilityno extension
AddYAxis
(no comment in the source: the name reads as a sentence) add y axisno extension
IncludeYAxis
(no comment in the source: the name reads as a sentence) include y axisno extension
WithoutYAxis
(no comment in the source: the name reads as a sentence) without y axisno extension
SetLabels
(no comment in the source: the name reads as a sentence) set labelsno extension
AddLabels
(no comment in the source: the name reads as a sentence) add labelsno extension
IncludeLabels
(no comment in the source: the name reads as a sentence) include labelsno extension
WithoutLabels
(no comment in the source: the name reads as a sentence) without labelsno extension
SetPercent
(no comment in the source: the name reads as a sentence) set percentno extension
AddPercent
(no comment in the source: the name reads as a sentence) add percentno extension
IncludePercent
(no comment in the source: the name reads as a sentence) include percentno extension
SetBarWidth
(no comment in the source: the name reads as a sentence) set bar widthno extension
SetMaxWidth
(no comment in the source: the name reads as a sentence) set max widthno extension
SetBarInterSpace
(no comment in the source: the name reads as a sentence) set bar inter spaceno extension
SetBarChar
(no comment in the source: the name reads as a sentence) set bar charno extension
SetFinalBarChar
(no comment in the source: the name reads as a sentence) set final bar charno extension
SetTopBarChar
(no comment in the source: the name reads as a sentence) set top bar charno extension
SetLabelInterSpace
(no comment in the source: the name reads as a sentence) set label inter spaceno extension
Mean
Statistical methods for histogramno extension
composed example
o1 = new stzHistogram([ 1, 2, 2, 3, 3, 3, 4, 4, 5 ]) ? o1.Mean() #--> 3composed from the signature, run for this page
StandardDeviation
(no comment in the source: the name reads as a sentence) standard deviationno extension
composed example
o1 = new stzHistogram([ 1, 2, 2, 3, 3, 3, 4, 4, 5 ]) ? o1.StandardDeviation() #--> 1.22composed from the signature, run for this page
Median
(no comment in the source: the name reads as a sentence) medianno extension
composed example
o1 = new stzHistogram([ 1, 2, 2, 3, 3, 3, 4, 4, 5 ]) ? o1.Median() #--> 3composed from the signature, run for this page
Mode
(no comment in the source: the name reads as a sentence) modeno extension
composed example
o1 = new stzHistogram([ 1, 2, 2, 3, 3, 3, 4, 4, 5 ]) ? @@( o1.Mode() ) #--> [ 2.60, 3.40 ]composed from the signature, run for this page
DataCount
(no comment in the source: the name reads as a sentence) data countalso written: Count · DataSizeno extension
composed example
o1 = new stzHistogram([ 1, 2, 2, 3, 3, 3, 4, 4, 5 ]) ? o1.DataCount() #--> 9composed from the signature, run for this page
Show
(no comment in the source: the name reads as a sentence) showno extension
ToString
The binning and the drawing both live in plot.zig now, so a Python or C face over the engine gets a histogram, not a pile of edges it must draw itself. What stays here is what a face is for: read the configuration, cross once, hand back the text.no extension
ToStringInRing
THE HARO RENDERER THIS WAS PORTED FROM, verbatim, so the guard can prove the two agree character for character.no extension

