So, Kevin, I separeted the x-axs labels as you requested, you can try it, just do:
| diagram | diagram := GETDiagramBuilder new. diagram verticalBarDiagram models: (-10 to: 10); color: [ :each | (each > 0) ifTrue: [ Color blue ] ifFalse: [ Color red ] ]; modelAxis. "<--- new!" ^ diagram open Also, in the future if you mail Alex about Graph-ET make sure you CC me pls ^^ Cheers! > From: [hidden email] > Date: Thu, 2 Jan 2014 14:48:35 -0300 > To: [hidden email] > Subject: [Moose-dev] Re: New in Graph-ET > > Screenshot on: > https://www.facebook.com/photo.php?fbid=566658236754111&set=a.566523986767536.1073741839.340543479365589&type=3&theater > > Alexandre > > > On Jan 2, 2014, at 2:20 PM, Daniel Aviv Notario <[hidden email]> wrote: > > > 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: [hidden email] > > To: [hidden email] > > 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. > > <cyclomaticGraph.png> > > 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" <[hidden email]> > > À: [hidden email], [hidden email] > > 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 > > [hidden email] > > https://www.iam.unibe.ch/mailman/listinfo/moose-dev > > > > > > _______________________________________________ Moose-dev mailing list [hidden email]://www.iam.unibe.ch/mailman/listinfo/moose-dev > > _______________________________________________ > > Moose-dev mailing list > > [hidden email] > > https://www.iam.unibe.ch/mailman/listinfo/moose-dev > > -- > _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: > Alexandre Bergel http://www.bergel.eu > ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. > > > > > _______________________________________________ > Moose-dev mailing list > [hidden email] > https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
Free forum by Nabble | Edit this page |