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

Next ChartState refactor #103

Open
2 tasks
CAYdenberg opened this issue Dec 5, 2021 · 0 comments
Open
2 tasks

Next ChartState refactor #103

CAYdenberg opened this issue Dec 5, 2021 · 0 comments

Comments

@CAYdenberg
Copy link
Owner

CAYdenberg commented Dec 5, 2021

Some items needed:

  • Rather than storing the two viewboxes separately, it would be easier to store a function for scaling and a function for inverse scaling (px -> cartesian)
  • Need a way to tell if a point is within the chart at all (ie, within the viewbox + gutter) ... and possibly by how much (ie if it's a data point that takes up space it should not simply disappear until it's radius is fully outside the viewbox)
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