Version 5.0 #67
stockiNail
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
5.0 is the last stable release.
Documentation: https://pepstock-org.github.io/Charba-Wiki.
API JavaDoc: https://pepstock-org.github.io/Charba/5.0.
Showcase GWT: https://pepstock-org.github.io/Charba-Showcase.
Showcase J2CL: https://pepstock-org.github.io/Charba-Showcase-J2CL.
Breaking changes
onBeforeLabel
,onLabel
andonAfterLabel
methods toTooltipLabelCallback
interface in order to return aList<String>
instead ofString
instances to enable tooltip multilines labels.invokeTooltipsCallbackOnLabel
method toDefaults
class in order to return aList<String>
instead ofString
instances.Meter
andGauge
controller:ValueLabel
andDescriptionLabel
elements in the meter and gauge dataset in order to configure how to render the labels.Render
enumeration because is not used anymore because the rendering as percentage can be set byValueLabel
and the label can be configured inDescriptionLabel
.CornerRadiusCallback
class. UseBorderRadiusCallback
one.BorderRadiusCallback
, adding the generic for scriptable options context class.cornerRadius
option toborderRadius
inLineLabel
andBoxAnnotation
classes.divider*
andgroupDividers
options fromTreemapDataset
class in favor ofDividers
node.font
,hoverFont
,color
,hoverColor
andgroupLabels
options fromTreemapDataset
class in favor ofLabels
andCaptions
nodes.Dash
class fromTreemapDataset
because not needed anymore.Features
SizeAxis
andColorAxis
(GEO charts) as scriptable ones.projection
andprojectionInvert
methods to GEO charts in order to translates latitude and longitude in XY coordinates and viceversa.getColorForValue
andgetColorForValueAsString
methods to GEO color axis in order to get the color for a specific value.getSizeForValue
method to GEO size axis in order to get the size for a specific value.cornerRadius
of the tooltip byBarBorderRadius
object.boxPadding
option toTooltips
options and configuration classes.inflateAmount
option toBar
options and configuration classes and toBarDataset
class.autoPadding
option toLayout
options and configuration classes.formatNumber
methods toHelpers
, provided out-of-the-box by CHART.JS.isZoomedOrPanned
method toZoomPlugin
in order to get if the chart is zoomed or panned.rotation
option toEllipseAnnotation
class.BarBorderRadius
object toborderRadius
option inLineLabel
andBoxAnnotation
classes.borderCapStyle
,borderColor
,borderDash
,borderDashOffset
,borderJoinStyle
andborderWidth
options toLineLabel
class.align
,position
andformatter
options toLabels
node inTreemapDataset
class in order to improve labels rendering.align
andformatter
options toCaptions
node inTreemapDataset
class in order to improve captions rendering.Developing
This discussion was created from the release Version 5.0.
Beta Was this translation helpful? Give feedback.
All reactions