Releases: chartjs/chartjs-plugin-annotation
Releases · chartjs/chartjs-plugin-annotation
v1.4.0
Essential Links
Enhancements
- #690 Enable rotation support to label of box annotation
- #679 Add stroke width and color options to label text
- #672 Enable rotation support to label annotation
- #668 Enable rotation support to box annotation
Bugs Fixed
- #688 Fix the usage where jsDOM is not present
- #682 Fix callout drawing that happens even if disabled
Documentation
- #704 Fix point sample on combined annotations
- #696 Add inner chart sample
- #691 Fix wrong sentence in the line annotation documentation
- #684 Add samples of image and canvas as label content
Development
- #708 Bump 1.4.0, update deps, fix some fixtures
- #705 Remove the assignment used only once
- #707 Bump karma from 6.3.14 to 6.3.16
- #700 Bump url-parse from 1.5.7 to 1.5.10
- #699 Bump prismjs from 1.26.0 to 1.27.0
- #694 Add dependencies label of PR to development section in release note
- #693 Bump url-parse from 1.5.4 to 1.5.7
- #689 Bump follow-redirects from 1.14.7 to 1.14.8
- #683 Bump karma from 6.3.12 to 6.3.14
- #667 Move elements management functions to a dedicated file
Thanks to @dependabot, @dependabot[bot], @kurkle and @stockiNail
v1.3.1
Essential Links
Bugs Fixed
- #671 Fix the usage of the backgroundColor callback for applying a gradient on label annotation
- #670 Fix the usage of the original coordinates for applying a gradient on ellipse
- #664 Update the warning logic for missing scale
Documentation
- #663 Documentation updates
Development
- #673 Bump version to 1.3.1
Thanks to @joshkel and @stockiNail
v1.3.0
Essential Links
Enhancements
- #555 Enable sub elements
- #608 Add arrows decoration to line annotation
- #619 Properly consider the border thickness on the annotations' events
- #600 Enable shadowing on the annotations
Bugs Fixed
- #653 Directly assign new element resolved properties
- #635 Fix auto callout position calculation in label annotation
- #627 Fix the scale limit update when annotation value is 0
- #603 Fixes events triggering on the label of a line annotation
Documentation
- #654 Fix wrong dataset index in sample
- #628 Fix the default options values in the documentation
- #623 Normalize table headers and samples blocks sequence in the documentation
- #613 Enable the link to label configuration from the guide navigation menu
- #609 Update labelVisibility sample to demonstrate different approaches
- #607 Remove `point` node from label annotation sample
- #606 Sort alphabetically the options definitions in the documentation
Development
- #661 Bump version to 1.3.0, update deps
- #657 Line: change event tests to inRange tests
- #650 Move events test cases to events.spec
- #651 Polygon: change event tests to inRange tests
- #649 Point: change event tests to inRange tests
- #647 Label fixtures: merge canvas test cases and remove useless point test
- #648 Label: change event tests to inRange tests
- #646 Label fixtures: merge similar callout test cases
- #645 Label fixtures: merge missing scales test cases
- #644 Add tests for missing and empty label content
- #643 Label fixtures: merge position tests in vertical and horizontal ones
- #641 Label fixtures: combine border tests to one file
- #640 Label fixtures: remove point tests, update padding
- #639 Remove old test cases
- #637 Tests: use helper function to fetch elements
- #638 Chart.js < v3.7 warning instead of exception
- #634 Box: test borderWidths. Ellipse: change events tests to inRange tests
- #632 Box: change event tests to inRange tests
- #633 Remove not used default route for backgroundColor option in label annotation
- #631 Remove (some) reduntant properties from fixtures
- #614 Improve event handling adding test cases
- #617 Remove `readValueToProps` function of options helpers
- #616 Add specific test cases for ellipse annotation event handling
- #622 Add test cases to test one or both missing scales
- #612 Sort shadow color default options alphabetically
- #605 Remove renaming the imports from chartjs.helpers of callback function
- #604 Add JSDoc to `labelIsVisible` method of line annotation
- #599 Use PI constant of Chartjs helpers instead of Math.PI
- #598 Normalize border style setting
Thanks to @joshkel, @kurkle and @stockiNail
v1.2.2
Essential Links
Bugs Fixed
- #595 Fix dynamically showing/hiding line label
- #591 Properly consider the line thickness in the intersect calculation
- #583 Fix events catching on rotated ellipse annotations
- #582 Remove undefined event listeners from state if disabled at runtime
Types
- #586 new annotation types added to ElementOptionsByType
Documentation
- #587 Add borderJoinStyle round to the road signals sample
- #584 Change `var` to `const` in the samples
Development
- #592 Bump version to 1.2.2, update deps
- #578 Fix complexity and duplicated code on scale management
- #571 Store drawable elements to the state
- #570 Sort default options alphabetically
- #574 Move scale management functions to a dedicated file
Thanks to @elitastic, @kurkle and @stockiNail
v1.2.1
v1.2.0
Essential Links
- #558 Remove `point` node from label annotation
- #521 Add pointStyle and rotation to point options (label and point annotations)
- #525 Updates README with new features
- #507 Add callout and point nodes to the label annotation
- #501 Add borderCapStyle and borderJoinStyle options to BoxAnnotation
Enhancements
- #554 Enable label `position` as percentage of the size
- #551 Add `xAdjust` and `yAdjust` options to point and polygon annotations
- #534 Enable HTMLCanvasElement as label content
- #527 Add point positioning by box options for point, polygon and label annotations
- #528 Use the context of element for events dispatching
- #523 Add clip option
- #503 Add POLYGON annotation
- #506 Enable label padding as object
- #502 Add LABEL annotation and label node to BOX annotation
Bugs Fixed
- #560 Fix `animations` option type and add missing documentation
- #547 Make a consistent implementations of `inRange` in all annotations
- #550 Fix `isBoundToPoint` function implementation
- #541 Enable label annotation animations
- #530 Log warning when unknown annotation type is used
- #526 Log a warning instead of throwing when non-existing scale id is used
- #518 Throw error when non-existing scale id is used
Types
- #560 Fix `animations` option type and add missing documentation
- #517 Add missing options to types definition
Documentation
- #560 Fix `animations` option type and add missing documentation
- #548 Disclosure box sample is made responsive
- #538 Add samples to the documentation
- #536 Add note about clip option usage and events catching
- #518 Throw error when non-existing scale id is used
- #505 Fix line annotation documentation
- #499 Fix broken 'View this example' link
- #500 Add border* options documentation and types for the label in the line annotation
Development
- #561 Bump version to 1.2.0, update dependencies
- #544 Resolve circulare dependencies
- #519 Move annotation types handling to types/index.js
Thanks to @Marcel0024, @kurkle and @stockiNail
v1.1.0
Essential Links
Enhancements
- #456 Add rotation support for ellipse annotations
- #457 Per corner cornerRadius for box and line label
- #459 Add border support for line label
- #451 Pass event instance to listeners
Bugs Fixed
- #485 Fix type for CoreAnnotationOptions.borderDash
- #475 Use font.lineHeight instead of font.size for labelling in line annotation
- #458 Hide line-annotations completely outside chartArea
Types
- #485 Fix type for CoreAnnotationOptions.borderDash
- #471 Typings for default settings on element
- #453 LabelOptions.width and .height are optional
- #448 Add missing animations prop to options interface.
Documentation
- #476 Fix the point annotation documentation guide
- #460 docs: typo YMax -> yMax
- #455 Prevent error when removing data in point sample
- #447 Change important note part to title of the block
- #440 Update types of config
- #436 Move readme example from codepen to docs
Development
Thanks to @LeeLenaleee, @elitastic, @kurkle, @multipolygon, @philfontaine and @stockiNail
v1.0.2
v1.0.1
v1.0.0
Essential Links
Enhancements
- #386 Enables textAlign option to line label
Bugs Fixed
- #393 Update option typings, fix `type`
- #385 Depend on chart.js v3.0.1
- #378 Skip annotations outside chartArea
Types
Documentation
- #390 Add sample on bar chart
- #382 Add ellipse sample
- #380 Update vuepress-theme-chartjs
- #377 Add note about registering
- #376 Type fixes
Development
- #394 Bump version to 1.0.0
- #384 Depend on chart.js v3.0.0
- #383 Add point example
- #381 Add version information to charts in documentation
- #379 Update dependencies
Thanks to @joshkel, @kurkle and @stockiNail
Included changes from pre-releases
- https://github.com/chartjs/chartjs-plugin-annotation/releases/tag/v1.0.0-rc
- https://github.com/chartjs/chartjs-plugin-annotation/releases/tag/v1.0.0-beta.4
- https://github.com/chartjs/chartjs-plugin-annotation/releases/tag/v1.0.0-beta.3
- https://github.com/chartjs/chartjs-plugin-annotation/releases/tag/v1.0.0-beta.2
- https://github.com/chartjs/chartjs-plugin-annotation/releases/tag/v1.0.0-beta