Hi Tudor!
Thanks for help!
During the time when I was trying to understand how to populate a chart
model, I had the impression that charts need an instance of Collection to
work properly. You used a specie of Collection too in your example, so it
seems that I was correct in my supposition. I tried use an instance of Set
to populate a model but I was not able to get a result, only when I choose
an instance of OrderedCollection i was able to construct the chart.
Take advantage of your example, I would like to know how increases the
space between the bars of a vertical bar chart. When there is many data to
show, the bar diminish and when I try increase the size of a bar, all bars
gets united and the visualization gets bad,
On 30 November 2011 12:05, Tudor Girba-2 [via Smalltalk] <
ml-node+s1294792n4123105h44(a)n4.nabble.com> wrote:
Hi,
Here is a simple example:
chart := ESDiagramRenderer new.
chart verticalBarDiagram
y: [:eachAssociation | eachAssociation value];
identifier: [:eachAssociation | eachAssociation key];
regularAxis;
models: {'a'->3 . 'b'->30 . 'c'->12}.
chart open
The input is the collection of association. For each entry, you will
get a bar, where the size of the bar is provided by executing the y
block, and the label associated with the bar will be provided by
executing the identifier block.
If you give us more details, we can probably help more.
Cheers,
Doru
On Wed, Nov 30, 2011 at 2:58 PM, Andre Hora <[hidden
email]<http://user/SendEmail.jtp?type=node&node=4123105&i=0>>
wrote:
What is specifically your problem?
To better understand EyeSee you can check the examples in ESExamples.
They
are very simple and intuitive.
The model you pass to EyeSee is independent of "type of data". You can
pass
a MooseGroup, a collection, etc.
2011/11/30 Júlio Martins <[hidden
email]<http://user/SendEmail.jtp?type=node&node=4123105&i=1>>
>
> Hi!
>
> I need create a vertical bar chart with and I am having some difficulty
to
> deal of EyeSee technology.
>
> My great difficulty is populate the chart model with correct data that
> will appear in my chart. I cannot understand what type of data this
model
> accept, for example I tryed to put an
instance of MooseGroup, but it
didn't
> work.
> I search for some help, but the only thing that i found was examples of
> charts between classes of EyeSee, but this examples don't talk for
itself
because
it haven't any comments.
Might someone help to understand better the EyeSee?
Thanks in advance
Julio Martins
________________________________
View this message in context: EyeSee
Sent from the Moose mailing list archive at
Nabble.com.
_______________________________________________
Moose-dev mailing list
[hidden email] <http://user/SendEmail.jtp?type=node&node=4123105&i=2>
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
--
Andre Hora
_______________________________________________
Moose-dev mailing list
[hidden email] <http://user/SendEmail.jtp?type=node&node=4123105&i=3>
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
--
www.tudorgirba.com
"Every thing has its own flow"
_______________________________________________
Moose-dev mailing list
[hidden email] <http://user/SendEmail.jtp?type=node&node=4123105&i=4>
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
------------------------------
If you reply to this email, your message will be added to the discussion
below:
http://forum.world.st/EyeSee-tp4122989p4123105.html
To start a new topic under Moose, email
ml-node+s1294792n1310756h25(a)n4.nabble.com
To unsubscribe from Moose, click
here<http://forum.world.st/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=1310756&code=amxlYW5kcm8ubWFydGluc0BnbWFpbC5jb218MTMxMDc1NnwtMTA2ODQ0ODY4OA==>
.
NAML<http://forum.world.st/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.InstantMailNamespace&breadcrumbs=instant+emails%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>