Full rewrite to lit-element. Demo are now a sub modules from [multi-chart-demo](@preignition/multi-chart-demo)
Version 3 makes the switch from Polymer 2.0 to lit-element, with dependecies managed through pika-web.
Version 2.0.0 is now Polymer 2.0 only.
Web components acting as a d3-class wrapper start with the d3-
prefix. Each wrapper class is saved in its own directory (e.g. d3-axis
for d3-axis, d3-shape
for (d3-shape)[https://github.com/d3/d3-shape], ...)
Geographic elements (geo-chart, choropleth) are now included in a new separate package (multi-geo).
This directory was previously shape
.
- A new class mixin (
multi-drawable
) takes care of drawing/rendering chart components. This role was previously fulfilled bymulti-lifecyle-behavior
. - Dispatching SVG elements to the main chart conatiner are now handled by
dispatch-svg-mixin
. This mixin will look for elemets with[slot-svg]
and stamp them within the svg group of[id=slot-svg]
. - Previous
multi-shape-pie
is renamedmulti-drawable-pie
. - Previous
multi-shape-line
is renamedmulti-drawable-line
.
- Scale multation (e.g. new domain or range) fires a
multi-scale-refresh
event. This allow components using the scale to react to the change.
- Previous
multi-axis
component is now renamed asd3-axis
. Instead of specifying axis type (top, bottom, left, right), we now have components for each axis type:d3-axis-top
,d3-axis-bottom
,d3-axis-left
,d3-axis-right
.
This version users iron-component-page 3.0.1. Ping use polymer analysis > analysis.json
to generate documentation.
- transition
- new library for multi-geo
- use template-for for modular style management
- better explanation/documentation
- migrate multi-verse charts to multi-chart
- geo hexbin for geo draft
- multi-zoom
- line -> check with better bottom-domain
- two-way binding for projection properties
- compose example