Sean Lynch

Results 292 comments of Sean Lynch

One option (and maybe the best) is to pre-bin the data using d3's [bin()](https://d3js.org/d3-array/bin) along with either `thresholdTime` from LayerChart (for [nicer](https://observablehq.com/@d3/d3-bin-time-thresholds) date boundaries), or bin by d3-time interval (days,...

Hey @leomorpho, thanks for checking out LayerChart. It looks like you pulled part of `createStackData()` from [utils/stack](https://github.com/techniq/layerchart/blob/main/packages/layerchart/src/lib/utils/stack.ts#L53-L69). Was there something it was lacking (I didn't spot any differences after a...

Sorry for the delay, but take a look at the new `BarChart` with `series` support. This can not be [accomplished](https://www.layerchart.com/docs/components/BarChart#stack_series_(diverging)) with: ```svelte -d.apples, color: "hsl(var(--color-danger))", }, { key: "bananas", color:...

* **#123** 👈 * `main` This stack of pull requests is managed by Graphite. Learn more about stacking. Join @techniq and the rest of your teammates on Graphite

@samal-rasmussen Is this what you are looking for? https://github.com/techniq/layerchart/assets/177476/1f8da6c1-53aa-4d72-ac9d-3f6d8af65513 Fixed via https://github.com/techniq/layerchart/pull/213 and deployed as `0.43.2`

@samal-rasmussen `0.43.3` includes PR https://github.com/techniq/layerchart/pull/215 which improves `Highlight` for non-stack array accessors (i.e. series) when displaying points. I currently need to add a `$key` property to expose the series value...

@samal-rasmussen Actually I think I came up with a cleaner approach by allowing you to pass an `x` or `y` override to `` (similar to `Area`) and render a separate...

Would be nice if `HtmlText` or similar was available with similar features/api (rotate, truncate, etc). Some features like text path would not be possible though.

Similar to Observable Plot's `RuleX` / `RuleY`. - https://observablehq.com/plot/marks/rule#rule-mark - https://observablehq.com/@observablehq/plot-candlestick-chart Could instead update [Rule](https://github.com/techniq/layerchart/blob/master/src/lib/components/Rule.svelte) component to handle property (string / function) or array of properties (string[] / functions[])