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

Version 2.5.0 #3840

Merged
merged 61 commits into from
Feb 8, 2017
Merged

Version 2.5.0 #3840

merged 61 commits into from
Feb 8, 2017

Conversation

simonbrunel
Copy link
Member

@simonbrunel simonbrunel commented Jan 28, 2017

Milestone: 2.5.0
Merged PRs: 50

Checklist:

  • Draft the release notes
  • Update package.json version
  • Publish the documentation (@nnnick)

See the release process for details.

cc @chartjs/maintainers

etimberg and others added 30 commits November 12, 2016 18:48
Add chartjs-plugin-draggable to the list of plugins, update existing ones recently renamed and re-order the list by names.
… added inside the layout system rather than in each axis.
)

When datasets.data contains a null value, the label displays incorrect
value.

code additions:
- unit tests for truthy label values (when data is null)
- checks to ensure handling of null value in getLabelByIndex method

added mock data sets from issue #3528 example

expect the return value from getLabelForIndex method to be valid (truthy)

added check for null of first data value in getLabelForIndex

fixed indentation and null comparison operator in code

fixed mistake in definition of firstData variable

changed testing for data on index 0 to using index variable

changed firstData to use value instead

condense the statments to use value variable
…e default padding was changed from 0 to 10. This change caused all of the test changes since the width of a vertical scale was lowered by 10px
Clean up radial linear scale. It now supports multiple lines for point labels. Fixes #3225
added helper method to adjust the index

pass in chartConfig rather than access within method, make it easier to
test

added semi-colon at the end of helper method

added test for adjustIndex helper method

fixed lint issues

added integration test for the interaction of trigger an event over the
bar

.

.

moved adjustIndex into element helper

removed method from helper and adjusted method in core.interaction

added test for the element adjustIndex helper

added a skipIndexAdjustment method to handle when to skip the adjustment
along with test cases

fixed lint issues

removed the test for the helper method
Prevent the resize method from notifying plugins if it is a silent resize. A silent resize occurs during startup and we do not want plugins to do anything here because the chart is not set up.
…rst width and last width, the fact that arrays of text are

present must be considered. In addition to fixing this, I did some general code cleanup in the fit and calculateLabelRotation methods.
for Bar and horizontalBar type,
include stacked scale.
issue #3589
Implements clipping of items outside the chart area. Resolves #3506 #3491 #2873
Pass the hover event to the onHover event handler

This makes the behavior of the `onHover` handler consistent with the `onClick` handler:

```
function(event, activeElements) {
    var chartInstance = this;
}
```
'x-axis' Behaves like 'index' mode with intersect = false
simonbrunel and others added 10 commits January 15, 2017 14:25
Move base platform definition and logic in src/platform/platform.js and simplify the browser -> Chart.js event mapping by listing only different naming then fallback to the native type.

Replace `createEvent` by `add/removeEventListener` methods which dispatch Chart.js IEvent objects instead of native events. Move `add/removeResizeListener` implementation into the DOM platform which is now accessible via `platform.add/removeEventListener(chart, 'resize', listener)`.

Finally, remove `bindEvent` and `unbindEvent` from the helpers since the implementation is specific to the chart controller (and should be private).
Instead of cloning `me.scaleSizeInUnits` moments and probably throwing the vast majority away, only clone what we need.
vue-chartjs is a wrapper written in vue for chartjs.
Make all `before` hooks cancellable (except `beforeInit`), meaning that if any plugin return explicitly `false`, the current action is not performed. Ensure that `init` hooks are called before `update` hooks and add associated calling order unit tests. Deprecate `Chart.PluginBase` in favor of `IPlugin` (no more an inheritable class) and document plugin hooks (also rename `extension` by `hook`).
@etimberg
Copy link
Member

I have bumped the version number and updated the release notes. If someone could give them a read that'd be great

@etimberg etimberg merged commit 8a7c900 into release Feb 8, 2017
@simonbrunel simonbrunel changed the title Version 2.5 Version 2.5.0 May 4, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.