Something like:
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
b := RTGrapherBuilder new.
b extent: 300 @ 200.
ds := RTStackedDataSet new.
ds points: RTShape methods.
ds y: #numberOfLinesOfCode.
ds barShape color: Color blue.
b add: ds.
b axisX; axisY.
b build.
RTHTML5Exporter new export: b view
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
#export: accept a view as parameter
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel
On Dec 5, 2014, at 12:07 AM, Offray Vladimir Luna
Cárdenas <offray(a)riseup.net> wrote:
Hi,
It crashes my image. There is any way to export a particular example instead of a
particular one?
Really good effort, by the way.
Cheers,
Offray
El 04/12/14 a las 09:12, Nicolai Hess escribió:
Just WOW!
And for me, it crashes too. I saw this is a couple of time trying the SVG-Export.
Maybe we should change all those examples, that return a canvas instead of
a view, so that they are exported as well (for instance, the Grapher-examples
aren't exported).
nicolai
2014-12-04 10:13 GMT+01:00 Usman Bhatti <usman.bhatti(a)gmail.com
<mailto:usman.bhatti@gmail.com>>:
Hi Milton,
This is really cool stuff. Congrats!!
There are some examples which are empty though such as:
exampleEvolutionOfGraphET2
examplescatterPlots
exampleSimple
I viewed these examples with Chrome.
I also experienced a crash of my image at the end but there was no
pharodebug file.
usman
On Wed, Dec 3, 2014 at 10:04 PM, milton mamani <akevalion(a)gmail.com
<mailto:akevalion@gmail.com>> wrote:
Hi to all,
Try the next piece of code:
RTHTML5ExporterExample new exportAll.
Wait.
Wait again (maybe you can drink a cup of coffe)
Then open the generated file index.html to see the exported examples,
this is only the beginning, there are a lot of work on this exporter.
This exporter aims recreate the visualization of Pharo in HTML with all
their interactions.
Cheers,
Milton
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch <mailto:Moose-dev@iam.unibe.ch>
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch <mailto:Moose-dev@iam.unibe.ch>
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev