Skip to content

Conversation

jamesrswift
Copy link
Collaborator

An in-progress implementation for area charts. I'm not happy with the shape of the API (trying to figure out whether people will want to group points by series or by x-coordinate).

I'm also hoping this this might help shape a general chart-like solution that can be reused to reduce boilerplate code.

image

To do:

  • Marks and mark styles
  • There's some weird anti-aliasing, I think I'm overdrawing
  • Stacked100 area chart does the scaling calculation wrong
  • Consider the shape of data people are likely to want to input. This is another argument for a generalized "data-shaper" thing
  • Simple (not implemented yet)
  • Overlayed (not implemented yet)
  • Stacked: Started
  • Stacked100: Started

@jamesrswift jamesrswift mentioned this pull request Aug 5, 2024
27 tasks
@johannes-wolf johannes-wolf self-requested a review August 5, 2024 18:40
@johannes-wolf johannes-wolf changed the base branch from master to aggressive-refactoring August 5, 2024 18:41
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

Successfully merging this pull request may close these issues.

1 participant