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

stzMBarPlot

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

also named: stzMBarChart · stzMultiBarPlot · stzMultiBarChart

the source: base/stats/stzMBarPlot.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; 4 were composed from each method's signature and run for this page, on a fresh object, for example o1 = new stzMBarPlot([ :Mali = [ :y2020 = 42, :y2022 = 18 ], :Niger = [ :y2020 = 87, :y2022 = 40 ] ]). 22 methods have none yet. Examples run on 2026-10-04 07:31 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
the PIXEL tiers (GR6c) -------------------------------------------- Grouped bars: one cluster per category, one bar per series, with the legend a multi-series chart cannot be read without. Series names and categories come from the model, so the legend cannot go stale.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
SetSeriesChars
(no comment in the source: the name reads as a sentence) set series charsno extension
SetBarsChars
(no comment in the source: the name reads as a sentence) set bars charsno extension
SetSeriesSpace
(no comment in the source: the name reads as a sentence) set series spaceno 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
SetCategorySpace
(no comment in the source: the name reads as a sentence) set category spaceno extension
SetCategoryInterSpace
(no comment in the source: the name reads as a sentence) set category inter spaceno extension
SetLegend
(no comment in the source: the name reads as a sentence) set legendno extension
AddLegend
(no comment in the source: the name reads as a sentence) add legendno extension
SetLegendLayout
(no comment in the source: the name reads as a sentence) set legend layoutno extension
SetAverage
(no comment in the source: the name reads as a sentence) set averageno extension
SetAverageLine
(no comment in the source: the name reads as a sentence) set average lineno extension
AddAverage
(no comment in the source: the name reads as a sentence) add averageno extension
AddAverageLine
(no comment in the source: the name reads as a sentence) add average lineno extension
ToString
THE LEGEND SETS THE WIDTH here, which is why it cannot be left to a host to bolt on afterwards: three series named Sales, Costs and Profit need 31 columns of legend under a chart whose bars occupy 32, and a fourth series would make the legend the wider of the two. The engine lays out both together.no extension
ToStringInRing
The Haro renderer this was ported from, kept so the guard can prove the two agree character for character.no extension
SeriesNames
(no comment in the source: the name reads as a sentence) series names
composed example
o1 = new stzMBarPlot([ :Mali = [ :y2020 = 42, :y2022 = 18 ], :Niger = [ :y2020 = 87, :y2022 = 40 ] ])
? @@( o1.SeriesNames() )
#--> [ "mali", "niger" ]
composed from the signature, run for this page
no extension
Categories
(no comment in the source: the name reads as a sentence) categories
composed example
o1 = new stzMBarPlot([ :Mali = [ :y2020 = 42, :y2022 = 18 ], :Niger = [ :y2020 = 87, :y2022 = 40 ] ])
? @@( o1.Categories() )
#--> [ "y2020", "y2022" ]
composed from the signature, run for this page
no extension
SeriesData
(no comment in the source: the name reads as a sentence) series datano extension
SeriesCount
(no comment in the source: the name reads as a sentence) series count
composed example
o1 = new stzMBarPlot([ :Mali = [ :y2020 = 42, :y2022 = 18 ], :Niger = [ :y2020 = 87, :y2022 = 40 ] ])
? o1.SeriesCount()
#--> 2
composed from the signature, run for this page
no extension
CategoryCount
(no comment in the source: the name reads as a sentence) category count
composed example
o1 = new stzMBarPlot([ :Mali = [ :y2020 = 42, :y2022 = 18 ], :Niger = [ :y2020 = 87, :y2022 = 40 ] ])
? o1.CategoryCount()
#--> 2
composed from the signature, run for this page
no extension