[Pharo-dev] [fun] Sparkline in Pharo

Alexandre Bergel alexandre.bergel at me.com
Wed Feb 26 15:40:08 EST 2014


Hi!

I am playing with unicode characters:

-=-=-=-=-=-=-=-=-=-=-=-=
Gofer new
		url: 'http://smalltalkhub.com/mc/abergel/Sparkline/main';
		addPackage: 'Sparkline';
		load.
-=-=-=-=-=-=-=-=-=-=-=-=

#( 1 2 3 4) spark => '▁▃▅▇’
#(-5 10 0) spark => '▁█▃'
RxsNode withAllSubclasses spark: #numberOfMethods => '▂▃▂▃▁▁▅█▁▁▂▁’



I got the inspiration from https://github.com/holman/spark

By the way, I would love to have a short tutorial about unicode characters at esug.

Cheers,
Alexandre
-- 
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pharo.org/pipermail/pharo-dev_lists.pharo.org/attachments/20140226/0ebd8589/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screen Shot 2014-02-26 at 5.18.30 PM.png
Type: image/png
Size: 47600 bytes
Desc: not available
URL: <http://lists.pharo.org/pipermail/pharo-dev_lists.pharo.org/attachments/20140226/0ebd8589/attachment-0001.png>


More information about the Pharo-dev mailing list