5.8 is the last stable release.
Documentation: https://pepstock-org.github.io/Charba-Wiki.
API JavaDoc: https://pepstock-org.github.io/Charba/5.8.
Showcase GWT: https://pepstock-org.github.io/Charba-Showcase.
Showcase J2CL: https://pepstock-org.github.io/Charba-Showcase-J2CL.
Breaking changes
- remove color and font callbacks from treemap labels. Use
ColorsCallback
andFontsCallback
instead, in order to return a list of colors and fonts.
Features
- import CHART.JS TREEMAP controller version v2.1.3.
- import CHART.JS MATRIX controller version v1.3.0.
- import CHART.JS SANKEY controller version v0.12.0.
- import CHART.JS ANNOTATION plugin version v2.1.0.
- import CHART.JS ZOOM plugin version v2.0.0.
- import CHART.JS LUXON adapter version v1.3.0.
- import LUXON datetime library version v3.1.1.
- enable
Zoom
plugin use for sankey and treemap charts. - enable
Annotation
plugin use for matrix charts. - add
treeLeafKey
andborderRadius
option to TreeMapDataset class. - add
overflow
option to TreeMapDataset labels class. - change
color
andhoverColor
options in TreeMapDataset labels class in order to enable to set different colors on multiple lines labels. - change
font
andhoverFont
options in TreeMapDataset labels class in order to enable to set different fonts on multiple lines labels. - enable
events
option to be set by a Set of objects in the chart, legend and tooltip configuration. - enable
label
option to ellipse annotation configuration. - enable
caption
option to the label of line annotation configuration. - add
scaleMode
option to the zoom plugin configuration. - add
drawTime
option toDrag
option of the zoom plugin configuration. - add
zoomRect
methods to zoom programmatically in the zoom plugin.
Development
- change dependency for Google Closure Compiler, version v20221102.