- Synced
Doughnut/PieOptions
from ChartJS source code #293 - Synced
GridLineConfiguration
from ChartJS source code / improved Types for more options #289 - Updated dependencies
- Synced
Legend
from ChartJS source code #285
- PointStyle can also contain non-string constants #280
- Use
CoreInteractionOptions
forOptions#interaction
andOptions#hover
#281 - Updated dependencies
- Synced
LineOptions/DataSet
stepped
andtension
with ChartJS source #262 - Updated dependencies
- Update available datasets fields from ChartJS source code #244
- Removed deprecated code
- Improve color handling #238
- Change
Color
toRGBAColor
as it only handles RGBA - Change all occurrences of
Color
toObject
so that other color models (e.g. HSLA or Hex) can be applied - Created
HSLAColor
that 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#toJsonNative
andChart#isDrawable
- Make
IndexAxis
available 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
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