Skip to content

Latest commit

 

History

History
109 lines (85 loc) · 4.03 KB

CHANGELOG.md

File metadata and controls

109 lines (85 loc) · 4.03 KB

2.6.0

  • Synced Doughnut/PieOptions from ChartJS source code #293
  • Synced GridLineConfiguration from ChartJS source code / improved Types for more options #289
  • Updated dependencies

2.5.0

  • Synced Legend from ChartJS source code #285

2.4.0

  • PointStyle can also contain non-string constants #280
  • Use CoreInteractionOptions for Options#interaction and Options#hover #281
  • Updated dependencies

2.3.1

  • Synced LineOptions/DataSet stepped and tension with ChartJS source #262
  • Updated dependencies

2.3.0

  • Update available datasets fields from ChartJS source code #244
  • Removed deprecated code

2.2.0

  • Improve color handling #238
    • Change Color to RGBAColor as it only handles RGBA
    • Change all occurrences of Color to Object so that other color models (e.g. HSLA or Hex) can be applied
    • Created HSLAColor that can be used like RGBAColor

2.1.0

  • 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 and Chart#isDrawable
  • Make IndexAxis available in all options

2.0.2

Same as version 2.1.0 - Version was not incremented correctly

2.0.1

  • Restored DisplayFormats #186

2.0.0

  • 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

1.5.0

  • Added JsonIgnore to certain fields to help prevent infinite loops #174
  • Corrected model for Title and Font #175

1.4.1

  • Use Number instead of BigDecimal in some additional places #159 (@aripddev)

1.4.0

  • Simplify API by using Number instead of BigDecimal, int and double for Datapoints #154 (@aripddev)

1.3.1

  • Add subtitle option #141 (@aripddev)
  • Add PointStyle#rectRounded #143 (@aripddev)
  • Add BubbleDataset#pointStyle #144 (@aripddev)
  • reverse property should be on the Scale object #145
  • Added all available properties for Legend

1.3.0

  • Allows creation of mixed charts #128
    • New chart class: MixedChart
    • Some classes have been renamed
      • Data -> HomogeneousData
      • AbstractChart -> HomogeneousChart
  • Slim down test dependencies

1.2.0

  • Add TimeScale and TimeTicks to allow building linear time charts #90 (@astappiev)
  • Add options for the Zoom plugin #117 (@astappiev)
  • Updated dependencies

1.1.3

  • Add toJsonNative method which doesn't run the isDrawable check #91

1.1.2

  • ⚠️ GroupId changed from com.xdev-software to software.xdev

1.1.1

  • AngleLines#lineWidth now uses BigDecimal #76
  • Updated dependencies

1.1.0

  • Added support for more data structures inside Dataset#data
    • Dataset#data can now contain Objects

1.0.2

  • Support Java 11
  • Updated dependencies

1.0.1

1.0.0

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 the charts 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