charted 0.6.1
charted: ^0.6.1 copied to clipboard
Visualization toolkit for Dart - Provides D3 (http://d3js.org) like Selection API, utilities to achieve data driven DOM and an easy-to-use Charting library based on the Selection API.
Changelog #
All notable changes to this project will be documented in this file.
This log starts from version 0.5.0. Older versions are omitted, but this should be kept up-to-date when a version update happens in the future.
The format is based on Keep a Changelog
0.6.0 - 2018-07-09 #
Changed #
-
Internal changes to make charted Dart 2.0 compatible.
-
Several typedef signatures have changed:
CompareFunc,InterpolatorGenerator:Breaking typedef signature changes OLD typedef int CompareFunc(dynamic a, dynamic b);NEW typedef int CompareFunc(Comparable a, Comparable b);OLD typedef Interpolator InterpolatorGenerator(a, b);NEW typedef Interpolator InterpolatorGenerator<T>(T a, T b); -
Several member signatures have changed:
Extent.items,LinearScale.interpolator,OrdinalScale.rangePoints,OrdinalScale.rangeBands,OrdinalScale.rangeRoundBands,ScaleUtils.extent,TimeFormat.multi:Breaking member signature changes Class ExtentOLD factory Extent.items(Iterable<T> items, [Comparator compare = Comparable.compare]);NEW factory Extent.items(Iterable<T> items, [Comparator<T> compare = Comparable.compare]);Class LinearScaleOLD InterpolatorGenerator interpolator;NEW InterpolatorGenerator<num> interpolator;Class OrdinalScaleOLD void rangePoints(Iterable range, [double padding]);NEW void rangePoints(Iterable<num> range, [double padding]);OLD void rangeBands(Iterable range, [double padding, double outerPadding]);NEW void rangeBands(Iterable<num> range, [double padding, double outerPadding]);OLD void rangeRoundBands(Iterable range, [double padding, double outerPadding]);NEW void rangeRoundBands(Iterable<num> range, [double padding, double outerPadding]);Class ScaleUtilsOLD static Extent extent(Iterable<num> values)NEW static Extent<num> extent(Iterable<num> values)Class TimeFormatOLD TimeFormatFunction multi(List<List> formats)NEW FormatFunction multi(List<List> formats) -
The
charted.core.utilslibrary'ssumfunction's signature changed:Breaking library member signature changes Library charted.core.utilsOLD num sum(List values)NEW num sum(List<num> values) -
The signature of the
Extentclass changed:Breaking class signature changes Class ExtentOLD class Extent<T> extends Pair<T, T>NEW class Extent<T extends Comparable> extends Pair<T, T>