Skip to content

Releases: VizArtJS/vizart-basic

v2.0.8

09 Dec 01:57
Compare
Choose a tag to compare

🌷 Features

  1. new color api
// use a new scheme
chart.color({scheme: ...})
// use a new type
chart.color({type:'categorical'})
// both type and scheme
chart.color({type: 'categorical', scheme[]})
  1. radar has stack, group, and expand api
// expand to 100% layout
radar.expand();
// no stack layout
radar.group();
// standard stack layout
radar.stack();
  1. sort api
chart.sort(accessor, direction);

v2.0.7

08 Dec 03:57
Compare
Choose a tag to compare

πŸ› Bugfix

  • Fix canvas layer position.

v2.0.6

08 Dec 02:31
Compare
Choose a tag to compare

🌷 Feature

  • Publish ES6 module in format of esm.js.

v2.0.5

08 Dec 02:33
Compare
Choose a tag to compare

πŸ› Bugfix

  • A safer way to build chart state

v2.0.4

07 Dec 14:42
Compare
Choose a tag to compare

πŸ› Bug-fix

  • Bar chart removal transition

v2.0.3

07 Dec 03:51
Compare
Choose a tag to compare

πŸ› Bug-fix

  • Options shall be immutable
  • Rose charts center position

v2.0.2

18 Nov 22:09
Compare
Choose a tag to compare

🌷 Feature

  • 2D Rose demo

v2.0.1

03 Aug 18:57
Compare
Choose a tag to compare

πŸ› Bugfix

  • Corona axis label center

v2.0.0

27 Mar 18:40
Compare
Choose a tag to compare

API changes

v2 internally deprecates ES6 class inheritance and adopts object composition.


Do a global search and replace will seamlessly upgrade to v2. all chart names are in camelCase, no new operator is needed anymore.

// v1
import { Bar } from 'vizart-basic';
const chart = new Bar(domId, options);

// v2
import { bar } from 'vizart-basic';
const chart = bar(domId, options);

chart names:

v1 v2
Bar bar
Area area
Line line
Pie pie
Row row
Scatter scatter
Stream stream
Corona corona
StackedBar stackedBar
StackedArea stackedArea
MultiLine multiLine

API Changes

//v1
transitionColor
//v2
color

New API

stackedArea

  • group() transit to group layout
  • stack() transit to stack layout
  • expand() transit to expand layout

stream

  • wiggle() transit to wiggle layout
  • silhouette() transit to silhouette layout
  • divergent() transit to divergent layout

stackedBar

  • group() transit to group layout
  • stack() transit to stack layout
  • expand() transit to expand layout

v1.1.8

29 Jan 04:08
Compare
Choose a tag to compare

πŸ’‘ Features
Improve documentation on wiki
Coding style
Dependency upgrade

πŸ› Bug Fix

  • fix row chart type