Sparkline in unicode: Difference between revisions
Content added Content deleted
m (→{{header|NetRexx}}: fix range adjustment) |
|||
Line 262: | Line 262: | ||
slope = '' |
slope = '' |
||
loop iw = 1 to spark.words() |
loop iw = 1 to spark.words() |
||
point = Math.ceil((spark.word(iw) - nmin) / range * barK) |
point = Math.ceil((spark.word(iw) - nmin + 1) / range * barK) |
||
slope = slope || bars.word(point) |
slope = slope || bars.word(point) |
||
end iw |
end iw |