- Restored
DisplayFormats
#186
- Scales have been reworked and are now nearly identical to the types defined in ChartJS
- The use of
Color
for various coloring related options is no longer required.- It's now possible to use e.g. strings
- Added
JsonIgnore
to certain fields to help prevent infinite loops #174 - Corrected model for
Title
andFont
#175
- Use
Number
instead ofBigDecimal
in some additional places #159 (@aripddev)
- Simplify API by using
Number
instead ofBigDecimal
,int
anddouble
forDatapoints
#154 (@aripddev)
- Add subtitle option #141 (@aripddev)
- Add
PointStyle#rectRounded
#143 (@aripddev) - Add
BubbleDataset#pointStyle
#144 (@aripddev) reverse
property should be on theScale
object #145- Added all available properties for
Legend
- Allows creation of mixed charts #128
- New chart class:
MixedChart
- Some classes have been renamed
Data
->HomogeneousData
AbstractChart
->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
toJsonNative
method which doesn't run theisDrawable
check #91
⚠️ GroupId changed fromcom.xdev-software
tosoftware.xdev
AngleLines#lineWidth
now usesBigDecimal
#76- Updated dependencies
- Added support for more data structures inside
Dataset#data
Dataset#data
can now containObject
s
- 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 thecharts
package - 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