Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Are CA.centerAt and CA.orHigher meant to work together? #102

Open
tankorsmash opened this issue Nov 18, 2021 · 0 comments
Open

Are CA.centerAt and CA.orHigher meant to work together? #102

tankorsmash opened this issue Nov 18, 2021 · 0 comments

Comments

@tankorsmash
Copy link

tankorsmash commented Nov 18, 2021

My intention here was to have a graph centered around 1.0, but have the ranges go from 0.5 to 1.5 to begin, which works.

The issue is that when I've got a datapoint, say 1.8, the linechart is off-screen. I'd expect the chart to expand to include 1.8, instead of stopping at 1.5.

CA.domain
    [ CA.lowest 0.5 CA.orLower
    , CA.highest 1.5 CA.orHigher
    , CA.centerAt 1.0
    ]

The behaviour seems to be more like it's starting the initial bounds of the range, but not updating the bounds of the new data, after the data changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant