@orbcharts/plugins-basic 3.0.0-alpha.50 → 3.0.0-alpha.51

Sign up to get free protection for your applications and to get access to all the features.
Files changed (85) hide show
  1. package/LICENSE +200 -200
  2. package/dist/orbcharts-plugins-basic.es.js +4893 -4913
  3. package/dist/orbcharts-plugins-basic.umd.js +7 -7
  4. package/dist/src/base/BaseGroupAxis.d.ts +1 -0
  5. package/dist/src/grid/index.d.ts +1 -1
  6. package/dist/src/grid/plugins/BarsPN.d.ts +1 -0
  7. package/dist/src/grid/types.d.ts +3 -2
  8. package/dist/src/series/types.d.ts +2 -3
  9. package/package.json +42 -42
  10. package/src/base/BaseBarStack.ts +778 -778
  11. package/src/base/BaseBars.ts +764 -764
  12. package/src/base/BaseBarsTriangle.ts +672 -672
  13. package/src/base/BaseDots.ts +513 -502
  14. package/src/base/BaseGroupAxis.ts +562 -496
  15. package/src/base/BaseLegend.ts +641 -641
  16. package/src/base/BaseLineAreas.ts +625 -625
  17. package/src/base/BaseLines.ts +699 -699
  18. package/src/base/BaseValueAxis.ts +478 -478
  19. package/src/base/types.ts +2 -2
  20. package/src/grid/defaults.ts +125 -123
  21. package/src/grid/gridObservables.ts +248 -248
  22. package/src/grid/index.ts +15 -15
  23. package/src/grid/plugins/BarStack.ts +43 -43
  24. package/src/grid/plugins/Bars.ts +44 -44
  25. package/src/grid/plugins/{BarsDiverging.ts → BarsPN.ts} +41 -41
  26. package/src/grid/plugins/BarsTriangle.ts +42 -42
  27. package/src/grid/plugins/Dots.ts +37 -37
  28. package/src/grid/plugins/GridLegend.ts +59 -59
  29. package/src/grid/plugins/GroupAux.ts +645 -645
  30. package/src/grid/plugins/GroupAxis.ts +35 -35
  31. package/src/grid/plugins/LineAreas.ts +39 -39
  32. package/src/grid/plugins/Lines.ts +38 -38
  33. package/src/grid/plugins/ScalingArea.ts +173 -173
  34. package/src/grid/plugins/ValueAxis.ts +36 -36
  35. package/src/grid/plugins/ValueStackAxis.ts +38 -38
  36. package/src/grid/types.ts +122 -120
  37. package/src/index.ts +9 -9
  38. package/src/multiGrid/defaults.ts +152 -152
  39. package/src/multiGrid/index.ts +13 -13
  40. package/src/multiGrid/multiGridObservables.ts +44 -44
  41. package/src/multiGrid/plugins/MultiBarStack.ts +78 -78
  42. package/src/multiGrid/plugins/MultiBars.ts +77 -77
  43. package/src/multiGrid/plugins/MultiBarsTriangle.ts +77 -77
  44. package/src/multiGrid/plugins/MultiDots.ts +65 -65
  45. package/src/multiGrid/plugins/MultiGridLegend.ts +89 -89
  46. package/src/multiGrid/plugins/MultiGroupAxis.ts +69 -69
  47. package/src/multiGrid/plugins/MultiLineAreas.ts +67 -67
  48. package/src/multiGrid/plugins/MultiLines.ts +66 -66
  49. package/src/multiGrid/plugins/MultiValueAxis.ts +69 -69
  50. package/src/multiGrid/plugins/MultiValueStackAxis.ts +69 -69
  51. package/src/multiGrid/plugins/OverlappingValueAxes.ts +166 -166
  52. package/src/multiGrid/plugins/OverlappingValueStackAxes.ts +167 -167
  53. package/src/multiGrid/types.ts +71 -71
  54. package/src/noneData/defaults.ts +64 -64
  55. package/src/noneData/index.ts +3 -3
  56. package/src/noneData/plugins/Container.ts +10 -10
  57. package/src/noneData/plugins/Tooltip.ts +310 -310
  58. package/src/noneData/types.ts +26 -26
  59. package/src/series/defaults.ts +126 -126
  60. package/src/series/index.ts +9 -9
  61. package/src/series/plugins/Bubbles.ts +545 -602
  62. package/src/series/plugins/Pie.ts +576 -576
  63. package/src/series/plugins/PieEventTexts.ts +262 -262
  64. package/src/series/plugins/PieLabels.ts +304 -304
  65. package/src/series/plugins/Rose.ts +472 -472
  66. package/src/series/plugins/RoseLabels.ts +362 -362
  67. package/src/series/plugins/SeriesLegend.ts +59 -59
  68. package/src/series/seriesObservables.ts +145 -145
  69. package/src/series/seriesUtils.ts +51 -51
  70. package/src/series/types.ts +83 -83
  71. package/src/tree/defaults.ts +22 -22
  72. package/src/tree/index.ts +3 -3
  73. package/src/tree/plugins/TreeLegend.ts +59 -59
  74. package/src/tree/plugins/TreeMap.ts +305 -305
  75. package/src/tree/types.ts +23 -23
  76. package/src/utils/commonUtils.ts +21 -21
  77. package/src/utils/d3Graphics.ts +124 -124
  78. package/src/utils/d3Utils.ts +73 -73
  79. package/src/utils/observables.ts +14 -14
  80. package/src/utils/orbchartsUtils.ts +100 -100
  81. package/tsconfig.dev.json +16 -16
  82. package/tsconfig.json +13 -13
  83. package/tsconfig.prod.json +13 -13
  84. package/vite.config.js +49 -49
  85. package/dist/src/grid/plugins/BarsDiverging.d.ts +0 -1
@@ -7,6 +7,7 @@ export interface BaseGroupAxisParams {
7
7
  labelColorType: ColorType;
8
8
  axisLineVisible: boolean;
9
9
  axisLineColorType: ColorType;
10
+ ticks: number | null | 'all';
10
11
  tickFormat: string | ((text: any) => string);
11
12
  tickLineVisible: boolean;
12
13
  tickPadding: number;
@@ -3,7 +3,7 @@ export * from './types';
3
3
  export { Lines } from './plugins/Lines';
4
4
  export { LineAreas } from './plugins/LineAreas';
5
5
  export { Bars } from './plugins/Bars';
6
- export { BarsDiverging } from './plugins/BarsDiverging';
6
+ export { BarsPN } from './plugins/BarsPN';
7
7
  export { BarStack } from './plugins/BarStack';
8
8
  export { BarsTriangle } from './plugins/BarsTriangle';
9
9
  export { Dots } from './plugins/Dots';
@@ -0,0 +1 @@
1
+ export declare const BarsPN: import('@orbcharts/core').PluginConstructor<"grid", string, import('..').BarsParams>;
@@ -31,7 +31,7 @@ export interface BarsParams {
31
31
  barGroupPadding: number;
32
32
  barRadius: number | boolean;
33
33
  }
34
- export interface BarsDivergingParams extends BarsParams {
34
+ export interface BarsPNParams extends BarsParams {
35
35
  }
36
36
  export interface BarStackParams {
37
37
  barWidth: number;
@@ -49,6 +49,7 @@ export interface GroupAxisParams {
49
49
  labelColorType: ColorType;
50
50
  axisLineVisible: boolean;
51
51
  axisLineColorType: ColorType;
52
+ ticks: number | null | 'all';
52
53
  tickFormat: string | ((text: any) => string);
53
54
  tickLineVisible: boolean;
54
55
  tickPadding: number;
@@ -63,7 +64,7 @@ export interface ValueAxisParams {
63
64
  labelColorType: ColorType;
64
65
  axisLineVisible: boolean;
65
66
  axisLineColorType: ColorType;
66
- ticks: number;
67
+ ticks: number | null;
67
68
  tickFormat: string | ((text: d3.NumberValue) => string);
68
69
  tickLineVisible: boolean;
69
70
  tickPadding: number;
@@ -12,13 +12,12 @@ export interface BubblesParams {
12
12
  lineHeight: number;
13
13
  lineLengthMin: number;
14
14
  };
15
- highlightRIncrease: number;
16
15
  arcScaleType: ArcScaleType;
17
16
  }
18
17
  export interface PieParams {
19
18
  outerRadius: number;
20
19
  innerRadius: number;
21
- mouseoverOuterRadius: number;
20
+ outerRadiusWhileHighlight: number;
22
21
  startAngle: number;
23
22
  endAngle: number;
24
23
  padAngle: number;
@@ -35,7 +34,7 @@ export interface PieEventTextsParams {
35
34
  }
36
35
  export interface PieLabelsParams {
37
36
  outerRadius: number;
38
- mouseoverOuterRadius: number;
37
+ outerRadiusWhileHighlight: number;
39
38
  startAngle: number;
40
39
  endAngle: number;
41
40
  labelCentroid: number;
package/package.json CHANGED
@@ -1,42 +1,42 @@
1
- {
2
- "name": "@orbcharts/plugins-basic",
3
- "version": "3.0.0-alpha.50",
4
- "description": "plugins for OrbCharts",
5
- "author": "Blue Planet Inc.",
6
- "license": "Apache-2.0",
7
- "keywords": [
8
- "d3",
9
- "rxjs",
10
- "svg",
11
- "visualization",
12
- "infographic",
13
- "graph",
14
- "chart"
15
- ],
16
- "private": false,
17
- "publishConfig": {
18
- "access": "public",
19
- "registry": "https://registry.npmjs.org/"
20
- },
21
- "files": [
22
- "*"
23
- ],
24
- "module": "./dist/orbcharts-plugins-basic.es.js",
25
- "types": "./dist/src/index.d.ts",
26
- "scripts": {
27
- "test": "echo \"Error: no test specified\" && exit 1",
28
- "build": "vite build --mode release"
29
- },
30
- "devDependencies": {
31
- "@types/d3": "^7.4.0",
32
- "ts-loader": "^9.4.2",
33
- "typescript": "^5.0.4",
34
- "vite": "^5.3.5",
35
- "vite-plugin-dts": "^3.7.3"
36
- },
37
- "dependencies": {
38
- "@orbcharts/core": "^3.0.0-alpha.48",
39
- "d3": "^7.8.5",
40
- "rxjs": "^7.8.1"
41
- }
42
- }
1
+ {
2
+ "name": "@orbcharts/plugins-basic",
3
+ "version": "3.0.0-alpha.51",
4
+ "description": "plugins for OrbCharts",
5
+ "author": "Blue Planet Inc.",
6
+ "license": "Apache-2.0",
7
+ "keywords": [
8
+ "d3",
9
+ "rxjs",
10
+ "svg",
11
+ "visualization",
12
+ "infographic",
13
+ "graph",
14
+ "chart"
15
+ ],
16
+ "private": false,
17
+ "publishConfig": {
18
+ "access": "public",
19
+ "registry": "https://registry.npmjs.org/"
20
+ },
21
+ "files": [
22
+ "*"
23
+ ],
24
+ "module": "./dist/orbcharts-plugins-basic.es.js",
25
+ "types": "./dist/src/index.d.ts",
26
+ "scripts": {
27
+ "test": "echo \"Error: no test specified\" && exit 1",
28
+ "build": "vite build --mode release"
29
+ },
30
+ "devDependencies": {
31
+ "@types/d3": "^7.4.0",
32
+ "ts-loader": "^9.4.2",
33
+ "typescript": "^5.0.4",
34
+ "vite": "^5.3.5",
35
+ "vite-plugin-dts": "^3.7.3"
36
+ },
37
+ "dependencies": {
38
+ "@orbcharts/core": "^3.0.0-alpha.48",
39
+ "d3": "^7.8.5",
40
+ "rxjs": "^7.8.1"
41
+ }
42
+ }