layercake
layercake copied to clipboard
graphics framework for sveltejs
This adds attribute-level control to the `Svg`, `ScaledSvg`, `Canvas`, `Html`, and `Webgl` layout layers. Addresses #71 .
Per https://github.com/mhkeller/layercake/issues/93
I wonder what the place is for a collection of higher level components such as `BarChart` that would be the same as the current examples on the website but importable....
I was thinking it could be useful to provide for various transform buckets that wrap `` components and whose job it is to transform your data and then pass it...
LayerChart currently has a [Bounds](https://github.com/techniq/layerchart/blob/master/src/lib/components/Bounds.svelte) component that uses a fascade over a d3-scale (see [motionScale()](https://github.com/techniq/layerchart/blob/master/src/lib/utils/scales.ts#L99-L124), which is an abstraction to use either a `tweened()` or `spring()` store. See also [tweenedScale()](https://github.com/techniq/layerchart/blob/master/src/lib/utils/scales.ts#L45-L70)...
Hello, I was wondering if it might be possible to add attribute-level controls on the `` and `` elements (so `Svg`, `ScaledSvg`, `Canvas`, and `Webgl`). My most common use-case for...
I am trying to define a gradient for the area chart using `````` to insert the gradient definition but it does not seem to work - [REPL](https://svelte.dev/repl/65e41de30f1740c7982a3ccf83b404f8?version=3.48.0) here. In general,...
Thank you for writing LayerCake, it is a fantastic base to make custom plots on top of! We are moving from a more "component" based library and really enjoy the...
I was trying to port a hand built visualization to use layercake and I had great difficulty getting it to appear. Almost every part of my visualization is a link....
This includes better and more consistent behavior in axis components. - [x] AxisX.svelte - [x] AxisX.html.svelte - [x] AxisY.svelte - [x] AxisY.html.svelte #### New components - [x] AxisXTop.svelte - [x]...