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

Dataset rework #112

Merged
merged 20 commits into from
May 23, 2020
Merged

Conversation

Joelius300
Copy link
Contributor

@Joelius300 Joelius300 commented May 22, 2020

Fixes #96

Most relevant information can be found there.

Apart from that there are few side-effects/additional features that come with this PR. These include:

  • Clipping
  • Renaming some properties to comply with conventions
  • Floating bars, fixes Ranges (floating-bars) in Bar Chart #100
  • Start moving away from the Moment wrapper. We'll just use DateTime in the future.
  • The Hidden property was removed as it shouldn't be used. This adds room for implementing interop to handle that but for now, let's leave it at that.
  • Point, TimePoint, BubblePoint and FloatingBarPoint are now implemented as readonly structs
  • The mixable chart stuff was removed. The mixable chart has to be thought through and will be addressed at a later time.

As a side-note, I recently found out that Chart.js actually tracks the changes you make to the data and animates the chart accordingly on update. This would have to be implemented on dataset level. With the general structure being fixed now and a robust API in place, we can tackle this feature later on but it's not part of this PR.

fixes #49
fixes #38

@Joelius300 Joelius300 changed the title Feature/dataset rework Dataset rework May 22, 2020
@mariusmuntean mariusmuntean merged commit d9a313b into mariusmuntean:master May 23, 2020
@Joelius300 Joelius300 mentioned this pull request May 25, 2020
@Joelius300 Joelius300 deleted the feature/dataset-rework branch June 5, 2020 17:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants