Hi,
I just started to get into Roassal (with Pharo 4.0) with the goal to
visualize financial data like forex charts.
The common visualization is by using japanese candlesticks [1]
Because there is not predefined TRShape/ RTShape, I would need to create
those shapes on my own.
I suspect that this task can't be too complicated but because I'm that very
new to Roassal, I'm asking for some hints and maybe code examples.
The data needed to visualize one candlestick consists of a few numbers, e.g.
20150501 001300;1.120890;1.120910;1.120890;1.120900;0 (-> downloaded from
[2])
First two numbers are Date and Time, the next four Numbers are: open, high,
low, close, that last one is the volume and can be omitted.
There is a bar to describe the price movement (open/ close) and wicks that
describe the highest course and the lowest course during that time frame.
The above data describes a One-Minute-Candle.
So I'd really appreciate if anyone could give me hints or send me to the
right direciction.
regards
Stefan
[1] http://en.wikipedia.org/wiki/Candlestick_chart
[2] http://www.histdata.com/
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 1121 by jc.b...(a)gmail.com: DNU allVisibleSlots
https://code.google.com/p/moose-technology/issues/detail?id=1121
Describe the problem: what do you get? what do you expect?
A red DNU appears within the inspector when selecting an item + the lower
part of the panel is blurry
How to reproduce the problem: step by step if necessary
Open the MoosePanel
Create a mooseModel from ST code for example choosing Asm-Jit packages
select the model
select the model classes
browse a class in inspector
in the lower panel type "self allDeclaredProperties" and click on ctrl + G
select an item
Additional information: platform, context which may impact the problem
Moose 5.1 (version 1003)
Linux
Please fill in the labels with the following information:
* Type-Defect,
* Component-XXX
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
Hello Pharoers,
We propose a Pharo sprint / Moose dojo on Friday, 22nd May, starting at
10:00am. (Local Time Lille).
It will be at the Inria Lille, Building B, third floor (RMoD offices).
Remotely, you can join us on the official IRC channel #pharo on
irc.freenode.net server. During the sprint, we will try to synchronize
local and remote Pharo sprinters.
As the building is not open to the public, please contact us before if
you plan to come.
JC
Hey guys, I asked this on Pharo Dev, but this is probably the right place :)
Tudor Girba-2 wrote
> The editor should be provided if you load the
> Glamour-Presentations-Magritte.
> ...
> You get a GLMMagrittePresentation and if you want to use it in the
> inspector, you have to define your own extension that uses it.
I'm sorry, I'm still not understanding... I only know how to hook into the
inspector via <gtInspectorPresentationOrder: aNumber>. How does that relate
to GLMMagrittePresentation? How specifically do I have a Magritte
presentation appear by default in GT for an object? Is there an example or
doc somewhere?
-----
Cheers,
Sean
--
View this message in context: http://forum.world.st/Fwd-Magritte-Auto-GT-Presentation-tp4825662.html
Sent from the Moose mailing list archive at Nabble.com.
Hi,
I restored v 3.0.7 in config of glamour because it is needed :).
Name: ConfigurationOfGlamour-usmanbhatti.213
Author: usmanbhatti
Time: 21 May 2015, 4:04:47.151738 pm
UUID: 06ab5906-8d61-49ee-84bf-97dfd9a325ae
Ancestors: ConfigurationOfGlamour-AndreiChis.212
restoring version 3.0.7 because we are still loading it for synectique
tools...once we move on to the new release based on Pharo 4.0, we might be
able to clean it up, until then it'll be necessary to keep it.
When I try to load Moose 5.1 in Pharo 4.0:
Gofer new
smalltalkhubUser: 'Moose' project: 'Moose';
package: 'ConfigurationOfMoose';
load.
(ConfigurationOfMoose project version: '5.1') load
I have the following package dependency error:
This package depends on the following classes:
DeepActionStrategy
You must resolve these dependencies before you will be able to load
these definitions:
MalGraphBuilderStrategy
executeOnObject:
executeOnRelationFrom:to:
graph
graph:
initialize
--
Serge Stinckwich
UCBN & UMI UMMISCO 209 (IRD/UPMC)
Every DSL ends up being Smalltalk
http://www.doesnotunderstand.org/
Hi. Here's how I'm using GanttChart - for process monitoring, I have some
process that run throughout the day, and I like to be able to see back a
bit how often the fail (or don't run) over the month. For this view, I
group them up at the day period.
Here's the script (picture below):
green := Color green alpha: 0.4.
red := Color red alpha: 0.6.
gray := Color gray alpha: 0.4.
data := {
{ #good. 0. 18. #P1. green. }. { #good. 24. 31. #P1. green. }.
{ #good. 0. 23. #P2. green. }. {#good. 24. 31. #P2. green. }.
{ #good. 0. 8. #P3. green. }. { #failed. 8. 9. #P3. red. }. {#good. 9. 31.
#P3. green. }.
{ #good. 0. 24. #P4. green. }. {#good. 25. 31. #P4. green. }.
}.
b := RTTimeline new.
s := RTTimelineSet new.
s objects: data.
s lineIdentifier: #fourth.
s start: #second.
s end: #third.
s shape fillColor: #fifth.
b add: s.
b axisX
numberOfLabels: 5;
labelRotation: -45;
labelConversion: [ :v | Date year: 2015 day: v + 107 ].
d := RTVerticalTickLineDecorator new.
d shape line color: Color white.
b axisX numberOfDecoratorTicks: 31.
b addDecorator: d.
b open.
[image: Inline image 1]
Each veritcal bar is a day. Did this with
changing RTVerticalTickLineDecorator to check for a different step than the
label step - basically, caused the decorator to use a sub-tick number
(using b axisX numberOfDecoratorTicks: 31 - new method added).
So, the request - is there a correct way to do this?
-cbc
Hi,
I'm working with RTDynamicStackedGrapher to generate dynamic stacked graph
and I want to add a name on the X axis below every bar.
I see something like this working on RTStackedDataSet with the message
barChartWithBarCenteredTitle: .
There is something working for RTDynamicStackedGrapher?
Hi!
Is there any plan to move on Pharo 5?
Can someone trigger a build?
Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Hi!
After having loaded Roassal2 in Pharo5, a view cannot be rendered using GTInspector because of some packages that are not loaded by the ConfigurationOfRoassal2. This is easy to fix. However, Glamour-Roassal2-Presentations cannot be loaded in Pharo 5 because of the missing GLMScriptingEditorTemplate.
The class GLMRoassal2Easel depends on GLMScriptingEditorTemplate.
Should I remove GLMRoassal2Easel from Glamour-Roassal2-Presentations ?
Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Hi,
I'm currently working on the way we manage the input files and the output files.
The way we manage the files now makes hard some improvement of Pillar.
That's why with Damien we though about makes some changes. The changes
are big so I wanted to talk about that with you.
We propose to have always 1 file with all the work inside. That can
use the inputFile tag. For example:
"${inputFile:Chapter1.pillar}$
${inputFile:Chapter2.pillar}$
${inputFile:Chapter3.pillar}$
${inputFile:Chapter4.pillar}$"
And the option "separateOutputFiles" will now create 1 file each time
we have a new Chapter. (!Level 1 header).
That will make simpler the way to number everything and to create
anchor because those 2 doesn't work well with the "separateOutputFile"
option.
What do you thing? That would be good with you?
--
Cheers
Cyril Ferlicot
Hello,
I have noticed that working with large collections in the new inspector is noticeable slower than with the old one :(
I executed a tiny benchmark that is just inspecting a 1.000.000 objects collection:
—————————
Smalltalk tools inspectorTool: GTInspector.
Transcript show: 'Exp with GT-Inspector: '.
Transcript show: [
((1 to: 1000000) collect: [ :i | Object new ]) inspect ] timeToRun.
Transcript cr.
Smalltalk tools inspectorTool: EyeInspector.
Transcript show: 'Exp with EyeInspector: '.
Transcript show: [
((1 to: 1000000) collect: [ :i | Object new ]) inspect ] timeToRun.
—————————
And the results were:
Exp with GT-Inspector: 0:00:01:04.979
Exp with EyeInspector: 0:00:00:00.381
Are you facing the same issue?
Alejandro
Hello,
I would like to know why the Meta Editor in the Moose panel and the implementing class GLMMagrittePresentation have been removed from the Moose 5.1 image because I want to annotate a model with it.
If it is not possible to do it work for Moose 5.1, is there an equivalent?
Thanks in advance,
Cheers
Vincent
________________________________
Ce message et les pi?ces jointes sont confidentiels et r?serv?s ? l'usage exclusif de ses destinataires. Il peut ?galement ?tre prot?g? par le secret professionnel. Si vous recevez ce message par erreur, merci d'en avertir imm?diatement l'exp?diteur et de le d?truire. L'int?grit? du message ne pouvant ?tre assur?e sur Internet, la responsabilit? de Worldline ne pourra ?tre recherch?e quant au contenu de ce message. Bien que les meilleurs efforts soient faits pour maintenir cette transmission exempte de tout virus, l'exp?diteur ne donne aucune garantie ? cet ?gard et sa responsabilit? ne saurait ?tre recherch?e pour tout dommage r?sultant d'un virus transmis.
This e-mail and the documents attached are confidential and intended solely for the addressee; it may also be privileged. If you receive this e-mail in error, please notify the sender immediately and destroy it. As its integrity cannot be secured on the Internet, the Worldline liability cannot be triggered for the message content. Although the sender endeavours to maintain a computer virus-free network, the sender does not warrant that this transmission is virus-free and will not be liable for any damages resulting from any virus transmitted.
Hi!
For a given famix class “cls” and a given famix method “m” (m is defined in cls), I would like to get the methods called by m that belongs to cls. Why is the simplest way to get this? I try the following:
(m queryAllOutgoingInvocations withinClass: cls) asArray flatCollect: #candidates
But I am sure there is a simpler way to do this…. Any hint?
Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Hi!
This may be interesting for some of your.
A bug has been fixed this morning regarding the composition of dynamic stacked grapher. You can check the video https://vimeo.com/127707899
to have an idea. This is the result of the script:
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
composer := RTComposer new.
a := RTDynamicStackedGrapher new.
a minY: -200; maxY: 200.
a view: composer view.
a y: #yourself.
a build.
composer group: #first.
b := RTDynamicStackedGrapher new.
b minY: -200; maxY: 200.
b view: composer view.
b y: #yourself.
b build.
composer group: #second.
composer move: #first onTheLeftOf: #second.
composer nameGroup: #first as: 'aFirstName'.
composer nameGroup: #second as: 'aSecondName'.
composer setGeneralTitle: 'aGeneralTitle'.
composer view addMenu: 'Left' callback: [ a add: 400 atRandom - 200 ].
composer view addMenu: 'Right' callback: [ b add: 400 atRandom - 200 ].
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Hi Natalia,
We have just added RWPopup.
-=-=-=-=-=-=-=-=-=-=-=-=
v := RWView new.
shape := RWCube new color: [ :m | Color random asWDColor ].
es := shape elementsOn: (1 to: 100).
RWCubeLayout on: es.
v addAll: es.
es do: [ :e | e addInteraction: RWPopup ].
v
-=-=-=-=-=-=-=-=-=-=-=-=
Let us know how it goes
Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
> On May 12, 2015, at 1:09 PM, Natalia Tymchuk <natalia.tymchuk(a)unikernel.net> wrote:
>
> Hi.
> I also trying to work with Roassal3D. I don’t decide yet what I like more: Roassal3D or RWoden.
> And there I also cannot find how to add highlighting and menu, in your letter you wrote that you have it.
> Can you write how does it called there.
>
> Thanks,
> Natalia
Hi All!
I implemented a small data analyser based on Glamour and Roassal.
I took the gtInspector to Glamour browser approach and this was very easy!
No I have one problem. For one object I have 5 tabs of Roassal
visualiyation and I am reading data from a DB. It is not much but the
post processing for the view seems to be a little too complicated....
Is there a way to make such processing just lazy? I mean only once the
user actually opens a particular tab?
Thanks!
Sebastian
Since GLMInputTextPresentation (or how it was called, I forget it) is gone, and actually was never there…
how can I have the equivalent? I’m sure you had the problem in which you need some… how do you solve it?
Esteban
Hi,
I’ve launched my oldish project, and encountered an issue with new grapher. When one uses #labelConversion: he has to define an axis label for a certain index of dataset. But in latest Grapher this index can exceed the total number of dataset entries. While this is not an issue for continuos data, I am experiencing problems when I want to graph readings in a stacked manner. For example I have data readings taken in a different moment of time, and I wan to label the index of a reading and it’s time, to give and idea where in time it is, but when I’m asked about the label on 4 indices after my last reading I cannot put there anything.
Uko
I have a browser with a tree and a text after it…
I want my browser to show with an initial value. This does not seems to work:
presenter tree;
children: [ :node | node children ];
selection: { someNode }.
nor:
presenter tree;
children: [ :node | node children ];
selectionPath: { someNode }.
I’m lost :)
Esteban
Hi,
it seems that last control point of a bezier line is off.
Here is a comparative view of RTBezierLine (black line) and bezier line
done with SVG (red line). Notice how the bottom half is flatlined and
doesn't match up.
And the code (based on RTRoassalExample>>exampleBezierCurve):
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| v e1 e2 l s p1 p2 path svg|
v := RTView new.
e1 := (RTEllipse new size: 15; color: (Color blue alpha: 0.4)) element.
e2 := (RTEllipse new size: 15; color: (Color blue alpha: 0.4)) element.
e2 translateBy: -150 @ 150.
p1 := RTBox element.
p2 := RTBox element.
p1 translateTo: (e2 position x + e1 position x / 2) @ e1 position y.
p2 translateTo: (e2 position x + e1 position x / 2) @ e2 position y.
v add: p1.
v add: p2.
s := RTBezierLine new.
s color: Color black.
s controllingElements: (Array with: p1 with: p2).
l := s edgeFrom: e1 to: e2.
v add: e1.
v add: e2.
v add: l.
path := 'M -150 150 Q -75 150 -75 75 Q -75 0 0 0'.
svg := RTSVGPath new borderColor: Color red; path: path; element.
v add: svg.
^ v
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Peter
… if we have XML, why not CSV and JSON? This is all wide-spread standard
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Hi, in all versions of Roassal I could as an element in which view it is. But it looks like Roassal-Woden doesn’t have this API. Is there a different philosophy?
Uko
Hi all,
When I'm trying to install CoreRoassal by running this:
~~~~
Gofer new
smalltalkhubUser: 'Moose' project: 'GToolkit';
package: 'GT-InspectorExtensions-CoreRoassal';
load.
~~~~
I get this message:
~~~~
This package depends on the following classes:
RTBoxPlotDataSet
You must resolve these dependencies before you will be able to load
these definitions:
examplesProvider
~~~~
I don't how to find the dependencies to get a clean install. Can
somebody point me in the right direction?
Cheers,
Offray