[squeakland] Charts (was: New Graphing Tools)
sthomas1 at gosargon.com
Sun Oct 16 22:13:13 EDT 2011
Some other thoughts/questions:
- Perhaps have an option to show 0 (or not). This would be useful for
when you have two axis that intersect at 0, as it would look better if we
didn't show the 0 labels.
- When I change the *Line's min val* it changes the max value (and vica
versa). Hmmm, okay I think I'm beginning to understand why you did this. I
was used to setting the min and max value for the axis and having the scale
adjust as opposed to the scale setting the max value (well "Invert always
invert" ;) Have to think about this.
- The labels seem a little too close to the number lines.
- It would be nice to have tiles to specify the font and size for the
labels. (Or course it would be nice to tiles to specify font, size,
centered/left flush|right flush|centered, for all text objects :)
- How can you set the arrow head for the negative direction?
On Sun, Oct 16, 2011 at 8:16 PM, Ricardo Moran <richi.moran at gmail.com>wrote:
> Hi guys, I'm trying again with the graphing tools. It's been a while since
> I worked on this (sorry about that) but I really want to see them
> So now I'm following Bert's suggestions and I'm trying with a less general
> approach: I'm not introducing a new scale on top of the existing one,
> instead I just added a "current object" slot on the number lines, and a
> "current object position in chart" slot that transforms from squeak's pixel
> to the number line scale and viceversa.
> The implementation is much simpler than before but it's more uncomfortable
> IMHO. I think it would be best to have two "transform" functions accepting a
> number as argument and returning it transformed from one scale to the other.
> Unfortunately, it seems Etoys doesn't support this kind of functions nicely,
> all the examples I could find (such as #color:sees:) seem to be a little
> hacked and I wasn't sure if following that path was the right way to
> I think the best would be for you to test it and tell me what you think.
> I'm attaching a project with the new number lines.
> P.S. I also renamed the project to Charts as Bert suggested
> squeakland mailing list
> squeakland at squeakland.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the squeakland