Skip to content

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 requested a review from mariusmuntean May 22, 2020 16:20
@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