0.12.1 • Published 3 years ago

@datalith/ripple v0.12.1

Weekly downloads
13
License
MIT
Repository
github
Last release
3 years ago

@datalith/ripple

yarn add @datalith/ripple

Docs

<Ripple className="ripple" data={data} />
NameDefaultTypeDescription
classNamestringCustom css classes to apply to the SVG
styleReact.CSSPropertiesCustom style object to apply to the SVG
additionalElementsJSX.ElementOptional elements to add to the SVG
size{ width: number; height: number }Width and Height of the SVG. Default is parent node size.
data*Array<Datum> or Array<number>Array of data
value(Datum) => Datum(Datum) => number or numberValue accessor
valueInactive1numberValue Inactive accessor
fill(Datum) => string or stringFill color accessor
fillInactive#000stringFill Inactive accessor
fillOpacity(Datum) => number or numberFill Opacity accessor
fillOpacityInactive0.3numberFill Opacity Inactive accessor
fillInactive#000stringFill Inactive accessor
stroke(Datum) => string or stringStroke color accessor
strokeInactivetransparentstringStroke Inactive accessor
strokeOpacity(Datum) => number or numberStroke Opacity accessor
strokeOpacityInactive0.3numberStroke Opacity Inactive accessor
strokeInactivetransparentstringStroke Inactive accessor
center{x: width / 2, y: height / 2}{x: number, y: number}Center of the dataviz
tooltip(Datum) => stringReturn HTML or text as a string to show on element mouseover
0.12.1

3 years ago

0.12.0

4 years ago

0.11.0

4 years ago

0.10.0

4 years ago

0.9.0

4 years ago

0.8.0

5 years ago

0.7.0

5 years ago

0.6.0

5 years ago

0.5.0

5 years ago

0.4.0

5 years ago

0.3.0

5 years ago

0.2.0

5 years ago

0.1.0

5 years ago