Ben Lesh

Results 270 comments of Ben Lesh

@jamesarosen can you rebase? I've made some changes in this area.

This is tricky. It seems like a few cases are not covered: - `null` - `undefined` - `NaN` - `Infinity` I think the behavior you're suggesting is perfect for `undefined`,...

.. and on the `Infinity` side, I think that's an extreme edge case, but I can probably default that to MAX_VALUE or MIN_VALUE depending on the polarity of the thing.

It's tricky. I sort of view the value the graph was _initially_ set with to be the "default", not necessarily the _coded_ default. It seems like we could memoize that...

It should behave the same as a 0, I think.

I really depends on the `yMaxMode` how it will behave. If it's `auto` it should ignore setting the value entirely.

different `yMaxModes`: - `auto`: automatically calculate `yMax` from contained graphics' data - `push`: allow setting of `yMax`, but push the `yMax` value up if the contained data passes it. -...

The method that is going to give you the most control will be using `fixed` in most cases. `auto` and `push` or `push-tick` were really added as conveniences, but might...

> but might not be doing the most efficient thing when trying to suss out where your min and max values lie. For example, maybe your array is already sorted,...

FWIW, the clip path stuff is likely cruft.