This repository has been archived by the owner on Jul 10, 2020. It is now read-only.
Releases: moberwasserlechner/vaadin-chartjs
Releases · moberwasserlechner/vaadin-chartjs
1.4.0
1.3.0
Features
- #75 Time Scale see Demo thanks to @slatequarry
- #61 Upgrade to ChartJS 2.7.2
- New option
com.byteowls.vaadin.chartjs.options.AbstractOptions#devicePixelRatio
- Allow more than one value in
com.byteowls.vaadin.chartjs.options.scale.RadialPointLabel#fontColor
- New option
com.byteowls.vaadin.chartjs.options.Tooltips#axis
andcom.byteowls.vaadin.chartjs.options.Hover#axis
- New option
- #82 Allow double values for LinearTick options "min", "max", "suggestedMin", "suggestedMax" thanks to @slatequarry
1.2.0
Features
- #73 Legend click listener: Get notified if you set a dataset visible or hide by clicking on the according entry in your legend. thanks @RazvanML Demo
- #63 Integrate chartjs annotation plugin. It is now possible draw lines and boxes. thanks @micw for the initial idea/PR #64. Demo
- #70 Added a new method
com.byteowls.vaadin.chartjs.ChartJs#destroy
, which calls http://www.chartjs.org/docs/latest/developers/api.html#destroy on the js lib.
Bug fix
See in Vaadin Directory
1.1.1
Features
- #60 Zoom / Pan plugin integrated. As the plugin seams to be not actively maintained consider this as a experimental feature. Demo
- #52 Added new zero line options. Demo
- com.byteowls.vaadin.chartjs.options.scale.GridLines#zeroLineBorderDash
- com.byteowls.vaadin.chartjs.options.scale.GridLines#zeroLineBorderDashOffset
Bug fix
- This Version is identical to 1.0.0 but I needed another release because Vaadin Directory changed the structur on how to upload a addon.
I hope to get smaller but more frequent releases out in the future.
1.1.0
Features
- #60 Zoom / Pan plugin integrated. As the plugin seams to be not actively maintained consider this as a experimental feature. Demo
- #52 Added new zero line options. Demo
- com.byteowls.vaadin.chartjs.options.scale.GridLines#zeroLineBorderDash
- com.byteowls.vaadin.chartjs.options.scale.GridLines#zeroLineBorderDashOffset
I hope to get smaller but more frequent releases out in the future.
1.0.0
Features
- New options for Tooltips. Demo
- 'caretPadding' ... com.byteowls.vaadin.chartjs.options.Tooltips#caretPadding
- 'borderColor' ... com.byteowls.vaadin.chartjs.options.Tooltips#borderColor
- 'borderWitdh' ... com.byteowls.vaadin.chartjs.options.Tooltips#borderWidth
- New option for bar-chart scales
- 'maxBarThickness' ... com.byteowls.vaadin.chartjs.options.scale.BaseScale#maxBarThickness
- New option for GridLine:
- Demo 'circular' ... com.byteowls.vaadin.chartjs.options.scale.GridLines#circular
- New option for RadialPointLabel:
- Demo 'display' ... com.byteowls.vaadin.chartjs.options.scale.RadialPointLabel#display
- #51 Filling between datasets for Line and Radar charts
Bug fixes
- #50 Canvas width or height is only set when the canvas element is created Demo
- See Chart.js release notes for any fixes in the javascript lib https://github.com/chartjs/Chart.js/releases/tag/v2.6.0
Breaking Change
- #55 Remove fill option from BarDataset and PieDataset
- #54 Remove Hover.Mode and Tooltip.Mode enums (deprecated in 0.4.0)
- #53 Refactor fill mode enum and move into its own enum class
com.byteowls.vaadin.chartjs.options.FillMode
instead ofcom.byteowls.vaadin.chartjs.options.*elements.Line*.FillMode
Demo - The lineArc setting for the radial linear scale has been removed and replaced by gridLines.circular and pointLabels.display. see
com.byteowls.vaadin.chartjs.options.scale.RadialLinearScale#lineArc
replaced withcom.byteowls.vaadin.chartjs.options.scale.BaseScale#gridLines()#circular
andcom.byteowls.vaadin.chartjs.options.scale.RadialPointLabel#display
- #34 Make Java 8 the minimum required version
- #44 Upgrade to Vaadin 8. This version does not support Vaadin 7!
- Move demo to its own git repository https://github.com/moberwasserlechner/vaadin-chartjs-demo. Now it should be easier to setup the addon in your IDE (even with Gradle)
Info
- Thoughts on financing my OSS work
- Paypal donations does not work, so I removed the badges.
- I believe in open source software and content therefore I decided years ago to release components I create under open source licences. Giving sth back is important. But as time passes by I'm now a entrepreneur and although my open source projects are very small a lot of time is needed to keep them up to date. Don't get me wrong most of the time it's fun and sharpens skills but in the end without proper financing and a business model it will not last.
- Starting with this version
- I will use semantic version. See http://semver.org/ for details
- Commits are commitzen friendly
- Effort for this release: ~20 hours
0.4.0
Addon
- #37 Chart size problem. Thanks for investigating @Maegar @dyorgio
- #42 Missing serialVersionUID in chart config, options and datasets
Upgrade to Chartjs 2.4 #35
New tooltip and hover interaction modes. see ChartJs Issue
com.byteowls.vaadin.chartjs.options.Tooltips.mode(Mode)
deprecated usecom.byteowls.vaadin.chartjs.options.Tooltips.mode(InteractionMode)
insteadcom.byteowls.vaadin.chartjs.options.Hover.mode(Mode)
deprecated usecom.byteowls.vaadin.chartjs.options.Hover.mode(InteractionMode)
instead- Demo
New displayColors option to turn off tooltip color boxes. see ChartJs Issue
com.byteowls.vaadin.chartjs.options.Tooltips.displayColors(boolean)
New tooltip average and nearest positioning modes. see ChartJs Issue
com.byteowls.vaadin.chartjs.options.Tooltips.position(PositionMode)
- Demo
New Element.Line FillModes
com.byteowls.vaadin.chartjs.options.elements.Line.fill(FillMode)
- Demo
Other Options:
com.byteowls.vaadin.chartjs.options.elements.Line.capBezierPoints(boolean)
Upgrade to Chartjs 2.5 #43
Group stacked bar charts
com.byteowls.vaadin.chartjs.data.BarDataset.stack(String)
- Demo
Add rectRounded point style
com.byteowls.vaadin.chartjs.data.PointStyle.rectRounded
- New method
com.byteowls.vaadin.chartjs.options.elements.Point.pointStyle(PointStyle)
- Demo
0.3.0
Addon
- #23 Fix Canvas size problem
- #11 Update data from server side. Thanks @gokhanoner
- #24 Extract data labels from actual dataset.
- #29 Upgrade to Chart.js 2.3.0
Demo
- #20 Missing Fontawesome Icons in demo because of missing dependencies
Development
- #25 Improve project structure and contribution sections. Thanks @gokhanoner for your inputs.