Charts-kt Releases

1.0.13

  • Add chartingSize to the Chart interface, giving the Size of the charting zone

1.0.12

  • Workaround performance issue (that could lead to long webpage-wide freezes) caused by slow ArrayList.addAll on Kotlin/JS KT-57607
  • At least 2x better rendering performance
  • Improved highlight on hover performance. Noticeable on charts with many elements
  • Deprecate performanceMode: the optimizations it was enabling are now always on
  • Several general fixes, many fixes for iOS, and some fixes for Android carried from Data2Viz releases 0.10.2 to 0.10.5 included
  • Other internal improvements
  • Compiled with Kotlin 1.8.10

1.0.11

  • Upgrade to Data2Viz version 0.10.1
  • CHRT-252 Optimize the calls to computeLabelSpaceAndRotation (CHRT-252)
  • CHRT-199 The chart refresh function is now public (CHRT-199)
  • CHRT-249 Intoduce the applyZoom function (CHRT-249)
  • CHRT-250 Platform is now public, user can handle platform-specific code (CHRT-250)
  • Events listeners functions can now stop or propagate the base event

1.0.10

Stable release of previous 1.0.10-RC1

1.0.10-RC1

  • Use Kotlin v 1.6.21
  • Use Data2Viz 0.10.0
  • Change KPointerEvents values with new objects
  • Fix an issue when using “pinch to zoom” with very small values
  • Fix an issue when using “selection to zoom” with a very small selection
  • Added the EventType.Fling and manage it in the default getChartActionOnUserEvent
  • Add the pinch gesture to trigger zoom/pan in a same movement
  • Unify touch and mouse events in the event controller
  • Unify EventContext and UserEvent classes
  • Rework EventContext based on the D2V events changes
  • Create a new EventType : Cancel: hide selection for the defaultChartActionOnUserEvent

1.0.9

  • The selection now remains after a zoom/pan (CHRT-244)

1.0.8

  • All the selection events now implement the SelectionEvent interface

1.0.8-RC7

  • Add more documentation on the ChartController interface
  • Add missing documentation on the ZoomAction class
  • Fix an issue with missing / empty labels on the DefaultAxisRenderer

1.0.8-RC6

  • Introduce the PanAction and ZoomAction data class
  • CHRT-211 Deprecate the “ticks” variable (CHRT-211)
  • CHRT-209 Major optimization on the computeLabelSpaceAndRotation function (CHRT-209)
  • CHRT-241 EventContext now handles the zoom and pan constraints defined by user (CHRT-241)
  • CHRT-243 Handle specifically the selection zoom (CHRT-243)
  • CHRT-124 New behavior for ZoomMode.XY, you can now zoom in X-only, Y-only or XY with the same movement (CHRT-124)
  • CHRT-234 First implementation of a “smart layout” tooltipBuilder that takes the global size into account (CHRT-234)
  • CHRT-176 Make the title of the tooltip user-configurable (CHRT-176)
  • CHRT-241 EventContext now handles the zoom and pan constraints defined by user (CHRT-241)
  • Remove the bindCursorOn property as it is managed by the getChartActionOnUserEvent lambda
  • Rename clearSelection to hideSelection for clarity
  • Small refactoring of the zoom algorithm for clarity
  • Hide selection when clicking, wheeling and dbl-clicking

1.0.8-RC5

  • Introduce the getChartActionOnUserEvent lambda to customize any event control
  • Introduce the SelectedDatum class to get more information about a selected sign
  • Add several performance improvement and lazy inits

1.0.8-RC4

  • The BoxPlot now has its own experimental decorator
  • CHRT-232 Fix an issue where a custom cursor is not refreshed when zooming/panning (CHRT-232)

1.0.8-RC3

This version uses the latest 0.9.1 version of data2viz. Data2viz is now released on maven central and has a new prefix in front of each artifact. If you want to add a dependency on a data2viz module you should do it with the prefix d2v. For instance:

io.data2viz.d2v:d2v-random:0.9.1
  • CHRT-229 Fix an issue where selection was cleaned after a highlight (CHRT-229)
  • CHRT-213 You can now force to use bandwidth on any discrete axis (CHRT-213)

1.0.8-RC1

  • use data2viz 0.9 with JavaFx 11,
  • chart size does not change vizContainer size.

1.07 and 1.0.7-RC7

  • Fix an issue when displaying a Boxplot with shape Hourglass and no mean value
  • Tooltip customisation is now accessible via the tooltipBuilder lambda

1.0.7-RC6

  • RichTextBuilder.

1.0.7-RC5

  • CHRT-224 mobile events: does not use density anymore. fix endTouch without move. (CHRT-224)
  • CHRT-223 : don’t recompute eventZones for LineMarkImpl and AreaMarkImpl.kt (CHRT-223)

1.0.7-RC4

  • CHRT-206 Automatic control of the density of the gridlines (CHRT-206)
  • CHRT-212 Improve the BoxPlot mark (CHRT-212)
  • CHRT-215 Cursor improvements (user control and data aware) (CHRT-215)

1.0.7-RC3

  • CHRT-219 Manage series in boxPlot (CHRT-219)
  • CHRT-217 Make the event cancelable by the user (CHRT-217)
  • CHRT-216 Add the possibility to add/remove elements from a selection (CHRT-216)

1.0.7-RC4

  • CHRT-206 Automatic control of the density of the gridlines (CHRT-206)
  • CHRT-212 Improve the BoxPlot mark (CHRT-212)
  • CHRT-215 Cursor improvements (user control and data aware) (CHRT-215)

1.0.7-RC3

  • CHRT-219 Manage series in boxPlot (CHRT-219)
  • CHRT-217 Make the event cancelable by the user (CHRT-217)
  • CHRT-216 Add the possibility to add/remove elements from a selection (CHRT-216)

1.0.7-RC2

  • upgrade to kotlin 1.5.31, data2viz 0.8.15

1.0.6

  • AxisRenderer: fix the labels rotation for very small axes (CHRT-173)
  • Cursor: you can now use a custom cursor decorator (CHRT-191)
  • Marks: add the possibility to customize the “event zone” (CHRT-193)
  • Zoom: fix the zoom ratio with selection zoom when selection is null (CHRT-195)
  • Zoom: fix the zoom ratio with mouse-wheel zoom (CHRT-196)
  • AxisRenderer can decrease size or rotate labels if needed (CHRT-198)
  • Chart: create a refresh function (CHRT-199)
  • LineMark: use the SelectionDecorator (CHRT-186)
  • Highlight/selection: can now be defined for each mark (CHRT-185)
  • Configuration: fix delegation of Stroke and Font properties after a copy (CHRT-183)
  • Performance: better performance when using Symbols (CHRT-184)
  • PlotMark: the “plot mark” is now called a “dot mark”, the plot() function has been deprecated.

1.0.5

  • using data2viz 0.8.12

1.0.4

  • Marks: deprecate the symbol & showSymbols property, replace it with marker & showMarkers (CHRT-177)
  • Axis: the axis bandwidth is now determined automatically depending on the marks used in the chart (CHRT-133)

1.0.3

  • Marks: deprecate the symbol & showSymbols property, replace it with marker & showMarkers (CHRT-177)
  • Axis: the axis bandwidth is now determined automatically depending on the marks used in the chart (CHRT-133)
  • Title: center the title, considering the whole size of the chart, not just the main charting zone (CHRT-175)
  • Pan: fix an issue where scrolling (pan) to the origin position was not effective (CHRT-174)
  • Double formatters: fix an issue where negative numbers were not rounded like the positive ones (CHRT-172)
  • Line: fix an issue where the last segment of a fractionated line was missing (CHRT-171)

1.0.2

  • Chart: the background color can now be set at runtime (CHRT-170)
  • Area: stacked area with missing categories: a warning message now informs the user the dataset is incomplete (CHRT-157)
  • BarMark: the “position” property of the DatumDecorator(s) are now at the center of the “top” of each bar (CHRT-163)
  • LineMark: fix an issue when the last point of the line was missing or null (CHRT-169)
  • Axis: add fixed rotation for labels, the property is “labelRotation” (CHRT-161)
  • Axis: increase readability by using a different text alignment depending on the rotation (CHRT-160)
  • Axis: improve the DefaultAxisRenderer: more precise sizing, rotating labels, better smart layout (CHRT-150)
  • Axis: fix issue, setting an Axis title through the DSL is now possible and overrides the Dimension’s name (CHRT-153)
  • AxisConfig: deprecate the axisLabelLayout & discreteTickSkip properties as axes now use smart layout (CHRT-159)
  • Cursor: mode “Auto” now gives the priority to “discrete” axes (CHRT-154)
  • Cursor: change the default color to 50% alpha (CHRT-152)
  • Title: the title padding is now effective (CHRT-165)
  • Tooltip & Legend: these 2 components now manage “Labelled” elements (CHRT-149)
  • EventController: the highlight/selection feedback is better for “row” and “column” mode (CHRT-146)

1.0.1

Fix #CHRT-145: Legend not displayed before highlight.

1.0.0

package name changed: the main packages changed from io.data2viz.charting to io.data2viz.charts.

SizeManager : To instantiate a SizeManager (interface) you now need to call sizeManager() instead of the previous direct constructor call SizeManager().

Configuration: all the configuration overrides are now in a config lambda inside the chart.

0.8.4

viz: add newVizContainer that adds a viz container as a child of body (for play.data2viz.io).