@orbcharts/plugins-basic 3.0.0-alpha.57 → 3.0.0-alpha.59

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@orbcharts/plugins-basic",
3
- "version": "3.0.0-alpha.57",
3
+ "version": "3.0.0-alpha.59",
4
4
  "description": "plugins for OrbCharts",
5
5
  "author": "Blue Planet Inc.",
6
6
  "license": "Apache-2.0",
@@ -36,7 +36,7 @@
36
36
  "vite-plugin-tsconfig": "^1.0.5"
37
37
  },
38
38
  "dependencies": {
39
- "@orbcharts/core": "^3.0.0-alpha.53",
39
+ "@orbcharts/core": "^3.0.0-alpha.54",
40
40
  "d3": "^7.8.5",
41
41
  "rxjs": "^7.8.1"
42
42
  }
@@ -290,6 +290,7 @@ export const gridGroupPositionFnObservable = ({ fullDataFormatter$, gridAxesSize
290
290
  const xIndexScale = createAxisQuantizeScale({
291
291
  axisLabels: data.scaleRangeGroupLabels,
292
292
  axisWidth: data.axisSize.width,
293
+ padding: data.dataFormatter.grid.groupAxis.scalePadding,
293
294
  reverse
294
295
  })
295
296
 
@@ -400,13 +401,15 @@ export const gridGroupPosition = ({ rootSelection, fullDataFormatter$, gridAxesS
400
401
  const xIndexScale$ = combineLatest({
401
402
  reverse: reverse$,
402
403
  gridAxesSize: gridAxesSize$,
403
- scaleRangeGroupLabels: scaleRangeGroupLabels$
404
+ scaleRangeGroupLabels: scaleRangeGroupLabels$,
405
+ fullDataFormatter: fullDataFormatter$
404
406
  }).pipe(
405
407
  switchMap(async d => d),
406
408
  map(data => {
407
409
  return createAxisQuantizeScale({
408
410
  axisLabels: data.scaleRangeGroupLabels,
409
411
  axisWidth: data.gridAxesSize.width,
412
+ padding: data.fullDataFormatter.grid.groupAxis.scalePadding,
410
413
  reverse: data.reverse
411
414
  })
412
415
  })
@@ -2,7 +2,7 @@
2
2
  "extends": "./tsconfig.base.json",
3
3
  "compilerOptions": {
4
4
  "paths":{
5
- "@orbcharts/core": ["./../orbcharts-core/src"]
5
+ "@orbcharts/core": ["./../orbcharts-core"]
6
6
  }
7
7
  }
8
8
  }
package/vite.config.mjs CHANGED
@@ -7,7 +7,7 @@ export default defineConfig(({ command, mode }) => {
7
7
  const alias = mode === 'production'
8
8
  ? {}
9
9
  : {
10
- "@orbcharts/core": path.resolve(__dirname, "./../orbcharts-core/src")
10
+ "@orbcharts/core": path.resolve(__dirname, "./../orbcharts-core")
11
11
  }
12
12
 
13
13
  const tsconfigPath = mode === 'production'