Releases: Kotlin/kandy
Releases · Kotlin/kandy
v0.6.0
Added
- Added candlestick plot (#149, #278). See documentation (guide and examples).
- Added extensions
Plot.toSVG()
,Plot.toPNG()
,Plot.toHTML()
(#293). - Fixed tooltips behaviour (#156, #266). Now explicitly assigning tooltips removes side tooltips.
- Added boxes new whiskerWidth parameter (#299).
- Added void theme (#310).
- Added margin text parameter (#323).
- Added viridis color scales (#301).
- Added new scales transformations (#311).
- Added scale/axis position option (#306).
- Added extension functions to export plots to JPG and PNG as
ByteArray
(#325) by @gulshanpatidar.
Changed
- Fixed naming of flavor/color scheme/theme (#127). Related properties was renamed:
flavor
/Flavor
->theme
/Theme
applyColorScheme
->applyTheme
theme
/Theme
->style
/Style
hide: Boolean
argument intooltips()
was replaced withenable: Boolean
with the opposite behavior.
Fixed
- Tooltip bug (#136)
Documentation
- Added candlestick guide and examples (#149, #278).
- Added documentation for api of layers and statistical transformations (#314).
- Added FAQ section to documentation (#281).
- Fixed duplicating links on getting start page (#313) by @TCampbellSL.
v0.5.0
Api changes:
- Stabilized core API - plot DSL:
- plot creation with
plot {}
andDataFrame.plot {}
- layers adding with
LayerPlotContext.points {}
and other layer functions - mappings (via function invocation) and settings(via var assignment) API
- plot creation with
- Most of internal API in DSL are hidden(#163)
- Statistics was removed from
kandy-lets-plot
. The statistics have been reworked and separated into the new repository (private yet) and artifact. - Restructured packages
Documentation
- All public APIs are documented with KDoc.
- New user documentation is written and available on kotlin.github.io/kandy/
- Also new example gallery is available on kotlin.github.io/kandy/examples
Fixes and improvements
- Fix bugs with plot dataset
- Fix web outputs
- Type parameters in scale creation functions are reordered according to arguments(#206)
- Add scale type bound for aes (#96)
- The static SVG view has been improved: it has become scalable and fitting.
- Small API improvements
Note!
0.4.4
New dataset system: by default layer uses global dataset, but if user makes a first mapping from new source whose size differs from the length of the global dataset columns, the leer creates a new dataset
0.4.3: github compatible plot view
Now lets-plot kandy plots in notebooks are displayed on github in svg format. Check it out:
https://github.com/Kotlin/kandy/blob/main/examples/notebooks/lets-plot/lets_plot_cheatsheet.ipynb
0.4.2: minor improvements
0.4.1
group by dataset handler test
0.4.0
anscombes_quartet notebook