EyeSee

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

EyeSee

Júlio Martins
CONTENTS DELETED
The author has deleted this message.
Reply | Threaded
Open this post in threaded view
|

Re: EyeSee

Tudor Girba-2
Hi,


2011/12/1 Júlio Martins <[hidden email]>:

> 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,

The best is to increase the width of the overall diagram (and perhaps
rotate the labels). For example:

chart := ESDiagramRenderer new.
chart verticalBarDiagram
                y: [:each | each];
identifier: [:each | each asString ];
regularAxis;
width: 800;
rotatedLabels: true;
models: (1 to: 50).
chart open

Cheers,
Doru


>
> On 30 November 2011 12:05, Tudor Girba-2 [via Smalltalk] <[hidden email]>
> 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]> 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]>
>> >>
>>
>> >> 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]
>> >> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>> >>
>> >
>> >
>> >
>> > --
>> > Andre Hora
>> >
>> >
>> > _______________________________________________
>> > Moose-dev mailing list
>> > [hidden email]
>> > https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>> >
>>
>>
>>
>> --
>> www.tudorgirba.com
>>
>> "Every thing has its own flow"
>>
>> _______________________________________________
>> Moose-dev mailing list
>> [hidden email]
>> 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 [hidden email]
>> To unsubscribe from Moose, click here.
>> NAML
>
>
>
> ________________________________
> View this message in context: EyeSee
> Sent from the Moose mailing list archive at Nabble.com.
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>



--
www.tudorgirba.com

"Every thing has its own flow"

_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev