layercake
layercake copied to clipboard
graphics framework for sveltejs
Here's a rough 1st draft for closing #120. Feel free to suggest or apply yourself substantial changes.
Can you please add some Axis examples with ticks on opposite side (right or top) and chart with more than one axis in one direction?
It seems the example component doesn't take into account the actual $width and $height range. It probably has to do with the resize function.
After attempting to port a working Svelte 3/LayerCake app (using `npm i -S --force LayerCake`) I got the error above (`ERR_SVELTE_TOO_MANY_UPDATES`). To verify the bug wasn't on my side, I...
Setting the domain via `xDomain`, `yDomain`, `rDomain` or `zDomain` is very similar to setting it via `extents` with the exception that domains set via `extents` skip measuring the extent for...
Sometimes you want to create a chart inside a hidden or small element and so you should be able to suppress the warning about its parent dimensions being negative or...
Pretty easy fix here. On the column chart make these two adjustments: ```svelte $: columnHeight = d => { return Math.abs($yGet(d) - $yScale(0) ); }; ``` and ``` y="{Math.min($yScale(0), $yGet(d))}"...
Per https://github.com/mhkeller/layercake/issues/199
Currently, the Axis components use percentages so they can be used in server-side charts. But you may want to use them also in normal charts that don't use `percentRange` if,...
Currently, if you set an accessor for x y or z and you pass in an ordinal scale, the domain will be [calculated as unique elements](https://github.com/mhkeller/layercake/blob/76b2d37aa151567e8573c40e39d9b590c75cfd81/src/lib/helpers/calcScaleExtents.js#L23), say, for a color...