- Updated dependencies
Java 17 is now required
- Updated dependencies
- Updated to Jackson v3 #477
- Updated dependencies
- Synced
LineOptionsfrom ChartJS source code #439 - Updated dependencies
- Migrated deployment to Sonatype Maven Central Portal #155
- Synced
TooltipOptionsfrom ChartJS source code #330
Title: Make it possible to set custom padding and multi-line text #316
- Synced
Doughnut/PieOptionsfrom ChartJS source code #293 - Synced
GridLineConfigurationfrom ChartJS source code / improved Types for more options #289 - Updated dependencies
- Synced
Legendfrom ChartJS source code #285
- PointStyle can also contain non-string constants #280
- Use
CoreInteractionOptionsforOptions#interactionandOptions#hover#281 - Updated dependencies
- Synced
LineOptions/DataSetsteppedandtensionwith ChartJS source #262 - Updated dependencies
- Update available datasets fields from ChartJS source code #244
- Removed deprecated code
- Improve color handling #238
- Change
ColortoRGBAColoras it only handles RGBA - Change all occurrences of
ColortoObjectso that other color models (e.g. HSLA or Hex) can be applied - Created
HSLAColorthat can be used likeRGBAColor
- Change
- Charts no longer check if they are drawable #198
- ChartJS behavior: If a chart can't be drawn it will render a empty canvas
- Deprecated methods:
Chart#toJsonNativeandChart#isDrawable
- Make
IndexAxisavailable in all options
Same as version 2.1.0 - Version was not incremented correctly
- Restored
DisplayFormats#186
- Scales have been reworked and are now nearly identical to the types defined in ChartJS
- The use of
Colorfor various coloring related options is no longer required.- It's now possible to use e.g. strings
- Added
JsonIgnoreto certain fields to help prevent infinite loops #174 - Corrected model for
TitleandFont#175
- Use
Numberinstead ofBigDecimalin some additional places #159 (@aripddev)
- Simplify API by using
Numberinstead ofBigDecimal,intanddoubleforDatapoints#154 (@aripddev)
- Add subtitle option #141 (@aripddev)
- Add
PointStyle#rectRounded#143 (@aripddev) - Add
BubbleDataset#pointStyle#144 (@aripddev) reverseproperty should be on theScaleobject #145- Added all available properties for
Legend
- Allows creation of mixed charts #128
- New chart class:
MixedChart - Some classes have been renamed
Data->HomogeneousDataAbstractChart->HomogeneousChart
- New chart class:
- Slim down test dependencies
- Add TimeScale and TimeTicks to allow building linear time charts #90 (@astappiev)
- Add options for the Zoom plugin #117 (@astappiev)
- Updated dependencies
- Add
toJsonNativemethod which doesn't run theisDrawablecheck #91
⚠️ GroupId changed fromcom.xdev-softwaretosoftware.xdev
AngleLines#lineWidthnow usesBigDecimal#76- Updated dependencies
- Added support for more data structures inside
Dataset#dataDataset#datacan now containObjects
- Support Java 11
- Updated dependencies
- Added support for stacked bar chart with groups (@dlemaignent)
Initial release
Support for Chart.js v4
Noteworthy changes compared to Chart.java:
- Changed the package to
software.xdev.chartjs.model - All charts (e.g.
BarChart,LineChart, ...) are now inside thechartspackage - Breaking API changes due to compatibility with Chart.js v4; You may checkout the migration guides
- JSON is no longer pretty printed by default due to performance reasons
- Implemented integration tests
- Requires Java 17