Softanza
StartFrançais
Softanza
The library documents itself · Statistics & data-viz

stzHBarPlot

22 own methods · 0 forms written with extensions, listed under their method · Also inherits from stzBarPlot (47)

also named: stzHBarChart

the source: base/stats/stzHBarPlot.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 stzHBarPlot([ :Small = 1, :Large = 1000 ]). 14 methods have none yet. Examples run on 2026-10-03 12:54 inside the library at commit 0e72e2e2c.

Method
Explanation, as the source carries it
PlotKind
Override configuration methods for horizontal orientation The pixel backends (GR6) are inherited whole; only the ORIENTATION differs, and saying so here is the entire override. Placed AFTER the attribute block on purpose: in Haro, a class's attributes must all precede its first method, and putting this at the top of the class quietly turned every declaration below it into dead code.no extension
SetSize
(no comment in the source: the name reads as a sentence) set sizeno extension
Size
(no comment in the source: the name reads as a sentence) size
composed example
o1 = new stzHBarPlot([ :Small = 1, :Large = 1000 ])
? @@( o1.Size() )
#--> [ 12, 18 ]
composed from the signature, run for this page
no extension
SizeHV
(no comment in the source: the name reads as a sentence) size hv
composed example
o1 = new stzHBarPlot([ :Small = 1, :Large = 1000 ])
? @@( o1.SizeHV() )
#--> [ 18, 12 ]
composed from the signature, run for this page
no extension
SizeVH
(no comment in the source: the name reads as a sentence) size vh
composed example
o1 = new stzHBarPlot([ :Small = 1, :Large = 1000 ])
? @@( o1.SizeVH() )
#--> [ 12, 18 ]
composed from the signature, run for this page
no extension
SetBarHeight
(no comment in the source: the name reads as a sentence) set bar heightno extension
SetBarInterSpace
(no comment in the source: the name reads as a sentence) set bar inter spaceno extension
SetBarSpace
(no comment in the source: the name reads as a sentence) set bar spaceno extension
SetInterBarSpace
(no comment in the source: the name reads as a sentence) set inter bar spaceno extension
SetWidth
(no comment in the source: the name reads as a sentence) set widthno extension
SetHVAxis
(no comment in the source: the name reads as a sentence) set hv axisno extension
Width
(no comment in the source: the name reads as a sentence) width
composed example
o1 = new stzHBarPlot([ :Small = 1, :Large = 1000 ])
? o1.Width()
#--> 18
composed from the signature, run for this page
no extension
SetHeight
(no comment in the source: the name reads as a sentence) set heightno extension
Height
(no comment in the source: the name reads as a sentence) height
composed example
o1 = new stzHBarPlot([ :Small = 1, :Large = 1000 ])
? o1.Height()
#--> 12
composed from the signature, run for this page
no extension
SetMaxHeight
(no comment in the source: the name reads as a sentence) set max heightno extension
MaxHeight
(no comment in the source: the name reads as a sentence) max height
composed example
o1 = new stzHBarPlot([ :Small = 1, :Large = 1000 ])
? o1.MaxHeight()
#--> 30
composed from the signature, run for this page
no extension
SetVAxisLabels
(no comment in the source: the name reads as a sentence) set v axis labelsno extension
AddVAxisLabels
(no comment in the source: the name reads as a sentence) add v axis labelsno extension
WithoutAxisLabels
(no comment in the source: the name reads as a sentence) without axis labelsno extension
WithoutVAxisLabels
(no comment in the source: the name reads as a sentence) without v axis labelsno extension
ToString
THIS OVERRIDE IS LOAD-BEARING. stzHBarPlot inherits from stzBarPlot, and when the vertical ToString() moved to the engine this class silently inherited it -- so horizontal plots rendered as VERTICAL ones. Nothing errored: the examples only check for errors and the subclass guard did not compare pictures, so a wrong plot sailed through. A horizontal plot is not the vertical one transposed -- different bar glyph, labels down the left, one row per bar, different axis columns -- which is why this class overrode nearly every drawing routine in the first place.
composed example
o1 = new stzHBarPlot([ :Small = 1, :Large = 1000 ])
? o1.ToString()
#--> ▲
#--> Small │ ▇
#--> Large │ ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇
#-->       ╰──────────────────►
composed from the signature, run for this page
no extension
ToStringInRing
The Haro renderer this was ported from, kept so the guard can prove the two agree character for character.
composed example
o1 = new stzHBarPlot([ :Small = 1, :Large = 1000 ])
? o1.ToStringInRing()
#--> ▲
#--> Small │ ▇
#--> Large │ ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇
#-->       ╰──────────────────►
composed from the signature, run for this page
no extension