layerchart 2.0.0-next.39 → 2.0.0-next.40

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -317,10 +317,12 @@
317
317
  <Chart
318
318
  bind:context
319
319
  data={chartData}
320
+ {xScale}
320
321
  x={xProp ?? (isVertical ? series.map((s) => s.value ?? s.key) : undefined)}
321
322
  {xDomain}
322
323
  xBaseline={!isVertical || (xScale && isScaleTime(xScale)) ? undefined : 0}
323
324
  xNice={orientation === 'vertical'}
325
+ {yScale}
324
326
  y={yProp ?? (isVertical ? undefined : series.map((s) => s.value ?? s.key))}
325
327
  yBaseline={isVertical || (yScale && isScaleTime(yScale)) ? undefined : 0}
326
328
  yNice={orientation === 'horizontal'}
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "author": "Sean Lynch <techniq35@gmail.com>",
5
5
  "license": "MIT",
6
6
  "repository": "techniq/layerchart",
7
- "version": "2.0.0-next.39",
7
+ "version": "2.0.0-next.40",
8
8
  "devDependencies": {
9
9
  "@changesets/cli": "^2.29.6",
10
10
  "@iconify-json/lucide": "^1.2.62",