Hi Kevin,
 
I don't know if it is this you're looking for. Give it a try, it's already commited, you can do as follows:

| diagram |
diagram := GETDiagramBuilder new.
diagram verticalBarDiagram
models: (1 to: 10);
modelAxis. "<-- This is it"
^ diagram open


There's a few catches:
- With big numbers, the labels are all clumped up... There's no solution yet for this as Roassal can't rotate labels yet (but it's on the TODO for sure).
- It is only available for vertical bar diagrams (it's trivial to do it for the horizontal and I'll do it now).

;-P


Date: Thu, 2 Jan 2014 16:27:13 +0100
From: kevin.lanvin@inria.fr
To: moose-dev@iam.unibe.ch
Subject: [Moose-dev] Re: New in Graph-ET

Hello,

What you did is really great, and I need something like that, but I'm working with BarDiagrams actually.
It would be perfect if we could use a point collection to get values on the X axis , but with no scale.

As you can see here, XAxis numbers are important but can't be scaled if we don't want to have some big holes in the middle of the diagram.

Thank you for being working on this.
Kevin


De: "Daniel Aviv Notario" <daniel_avivnotario@hotmail.com>
À: moose-dev@iam.unibe.ch, pharo-dev@lists.pharo.org
Envoyé: Jeudi 2 Janvier 2014 15:40:40
Objet: [Moose-dev] New in Graph-ET

Hi guys!

It's been a while since I posted in this list.

The reason why I'm posting is because I finally finished my exams (yay!) and now I have some time to spare developing Graph-ET. I noticed a lot of you have been trying it, thank you for that :) I will try and answer all your questions regarding Graph-ET in the next few days.

Meanwhile, today I did a little work on Scatterplots, you can go play with that, here's an example for you:

| diag col |
col := OrderedCollection new.
col add: (1@1).
col add: (1@2).
col add: (2@1).
col add: (2@2).
col add: (0.75@0.5).
col add: (0.6@1.5).
diag := GETDiagramBuilder new.
(diag scatterplot)
models: col;
x: [ :mod | mod x ];
y: [ :mod | mod y ];
regularAxis.

diag open

It's really pretty basic, I think changing the size and shape of he object should be nice.

In ESUG I was working in animations, but I dropped it, I'll try again soon, but not inmediatly. Other things I think I'll work is improving the axis values in the labels and various customizations and bug-fixing.

Also, I would like to hear from you, what can I work on? I been recieving a lot of suggestions, and I'm glad. So if you have a request, doubt, complaint, comments or anything really you can contact me and I'll try and answer ASAP.

Hope hearing from you!
Daniel

_______________________________________________
Moose-dev mailing list
Moose-dev@iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev


_______________________________________________ Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev