Category talk:Wren-math: Difference between revisions
m
→Source code: Change to comment.
(→Source code: Nums.barChart method tweaked to deal better with zero data.) |
m (→Source code: Change to comment.) |
||
Line 936:
// 'width' is the total width of the chart in characters to which the labels/data will
// automatically be scaled. 'symbol' is the character to be used to draw each bar,
// 'symbol2' is used to represent scaled non-zero data and 'symbol3' zero data which
// would otherwise be blank. The actual data is printed at the end of each bar.
static barChart (title, width, labels, data, symbol, symbol2, symbol3) {
var barCount = labels.count
|