@orbcharts/plugins-basic 3.0.0-alpha.36 → 3.0.0-alpha.38

Sign up to get free protection for your applications and to get access to all the features.
Files changed (94) hide show
  1. package/dist/{src → orbcharts-plugins-basic/src}/grid/defaults.d.ts +1 -0
  2. package/dist/{src → orbcharts-plugins-basic/src}/grid/index.d.ts +1 -0
  3. package/dist/orbcharts-plugins-basic/src/grid/plugins/BarsDiverging.d.ts +1 -0
  4. package/dist/{src → orbcharts-plugins-basic/src}/grid/types.d.ts +2 -0
  5. package/dist/orbcharts-plugins-basic/src/index.d.ts +5 -0
  6. package/dist/orbcharts-plugins-basic/src/tree/defaults.d.ts +4 -0
  7. package/dist/orbcharts-plugins-basic/src/tree/index.d.ts +4 -0
  8. package/dist/orbcharts-plugins-basic/src/tree/plugins/TreeLegend.d.ts +1 -0
  9. package/dist/orbcharts-plugins-basic/src/tree/plugins/TreeMap.d.ts +3 -0
  10. package/dist/orbcharts-plugins-basic/src/tree/types.d.ts +21 -0
  11. package/dist/orbcharts-plugins-basic.es.js +5857 -5639
  12. package/dist/orbcharts-plugins-basic.umd.js +7 -7
  13. package/dist/src/index.d.ts +1 -4
  14. package/package.json +2 -2
  15. package/src/base/BaseValueAxis.ts +5 -0
  16. package/src/grid/defaults.ts +4 -0
  17. package/src/grid/index.ts +1 -0
  18. package/src/grid/plugins/BarsDiverging.ts +39 -0
  19. package/src/grid/types.ts +2 -0
  20. package/src/index.ts +2 -1
  21. package/src/tree/defaults.ts +21 -0
  22. package/src/tree/index.ts +4 -0
  23. package/src/tree/plugins/TreeLegend.ts +58 -0
  24. package/src/tree/plugins/TreeMap.ts +298 -0
  25. package/src/tree/types.ts +23 -0
  26. package/dist/src/multiGrid/plugins/Diverging.d.ts +0 -0
  27. package/dist/src/multiGrid/plugins/DivergingValueAxes.d.ts +0 -0
  28. package/dist/src/tree/index.d.ts +0 -0
  29. package/dist/src/tree/plugins/TreeMap.d.ts +0 -0
  30. package/src/multiGrid/plugins/Diverging.ts +0 -0
  31. package/src/multiGrid/plugins/DivergingValueAxes.ts +0 -0
  32. /package/dist/{src → orbcharts-plugins-basic/src}/base/BaseBarStack.d.ts +0 -0
  33. /package/dist/{src → orbcharts-plugins-basic/src}/base/BaseBars.d.ts +0 -0
  34. /package/dist/{src → orbcharts-plugins-basic/src}/base/BaseBarsTriangle.d.ts +0 -0
  35. /package/dist/{src → orbcharts-plugins-basic/src}/base/BaseDots.d.ts +0 -0
  36. /package/dist/{src → orbcharts-plugins-basic/src}/base/BaseGroupArea.d.ts +0 -0
  37. /package/dist/{src → orbcharts-plugins-basic/src}/base/BaseGroupAxis.d.ts +0 -0
  38. /package/dist/{src → orbcharts-plugins-basic/src}/base/BaseLegend.d.ts +0 -0
  39. /package/dist/{src → orbcharts-plugins-basic/src}/base/BaseLines.d.ts +0 -0
  40. /package/dist/{src → orbcharts-plugins-basic/src}/base/BaseValueAxis.d.ts +0 -0
  41. /package/dist/{src → orbcharts-plugins-basic/src}/base/types.d.ts +0 -0
  42. /package/dist/{src → orbcharts-plugins-basic/src}/grid/gridObservables.d.ts +0 -0
  43. /package/dist/{src → orbcharts-plugins-basic/src}/grid/plugins/BarStack.d.ts +0 -0
  44. /package/dist/{src → orbcharts-plugins-basic/src}/grid/plugins/Bars.d.ts +0 -0
  45. /package/dist/{src → orbcharts-plugins-basic/src}/grid/plugins/BarsTriangle.d.ts +0 -0
  46. /package/dist/{src → orbcharts-plugins-basic/src}/grid/plugins/Dots.d.ts +0 -0
  47. /package/dist/{src → orbcharts-plugins-basic/src}/grid/plugins/GridLegend.d.ts +0 -0
  48. /package/dist/{src → orbcharts-plugins-basic/src}/grid/plugins/GroupAux.d.ts +0 -0
  49. /package/dist/{src → orbcharts-plugins-basic/src}/grid/plugins/GroupAxis.d.ts +0 -0
  50. /package/dist/{src → orbcharts-plugins-basic/src}/grid/plugins/Lines.d.ts +0 -0
  51. /package/dist/{src → orbcharts-plugins-basic/src}/grid/plugins/Ranking.d.ts +0 -0
  52. /package/dist/{src → orbcharts-plugins-basic/src}/grid/plugins/RankingAxis.d.ts +0 -0
  53. /package/dist/{src → orbcharts-plugins-basic/src}/grid/plugins/ScalingArea.d.ts +0 -0
  54. /package/dist/{src → orbcharts-plugins-basic/src}/grid/plugins/ValueAxis.d.ts +0 -0
  55. /package/dist/{src → orbcharts-plugins-basic/src}/grid/plugins/ValueStackAxis.d.ts +0 -0
  56. /package/dist/{src → orbcharts-plugins-basic/src}/multiGrid/defaults.d.ts +0 -0
  57. /package/dist/{src → orbcharts-plugins-basic/src}/multiGrid/index.d.ts +0 -0
  58. /package/dist/{src → orbcharts-plugins-basic/src}/multiGrid/multiGridObservables.d.ts +0 -0
  59. /package/dist/{src → orbcharts-plugins-basic/src}/multiGrid/plugins/MultiBarStack.d.ts +0 -0
  60. /package/dist/{src → orbcharts-plugins-basic/src}/multiGrid/plugins/MultiBars.d.ts +0 -0
  61. /package/dist/{src → orbcharts-plugins-basic/src}/multiGrid/plugins/MultiBarsTriangle.d.ts +0 -0
  62. /package/dist/{src → orbcharts-plugins-basic/src}/multiGrid/plugins/MultiDots.d.ts +0 -0
  63. /package/dist/{src → orbcharts-plugins-basic/src}/multiGrid/plugins/MultiGridLegend.d.ts +0 -0
  64. /package/dist/{src → orbcharts-plugins-basic/src}/multiGrid/plugins/MultiGroupAxis.d.ts +0 -0
  65. /package/dist/{src → orbcharts-plugins-basic/src}/multiGrid/plugins/MultiLines.d.ts +0 -0
  66. /package/dist/{src → orbcharts-plugins-basic/src}/multiGrid/plugins/MultiValueAxis.d.ts +0 -0
  67. /package/dist/{src → orbcharts-plugins-basic/src}/multiGrid/plugins/OverlappingValueAxes.d.ts +0 -0
  68. /package/dist/{src → orbcharts-plugins-basic/src}/multiGrid/types.d.ts +0 -0
  69. /package/dist/{src → orbcharts-plugins-basic/src}/multiValue/index.d.ts +0 -0
  70. /package/dist/{src → orbcharts-plugins-basic/src}/multiValue/plugins/Scatter.d.ts +0 -0
  71. /package/dist/{src → orbcharts-plugins-basic/src}/multiValue/plugins/ScatterAxes.d.ts +0 -0
  72. /package/dist/{src → orbcharts-plugins-basic/src}/noneData/defaults.d.ts +0 -0
  73. /package/dist/{src → orbcharts-plugins-basic/src}/noneData/index.d.ts +0 -0
  74. /package/dist/{src → orbcharts-plugins-basic/src}/noneData/plugins/Container.d.ts +0 -0
  75. /package/dist/{src → orbcharts-plugins-basic/src}/noneData/plugins/Tooltip.d.ts +0 -0
  76. /package/dist/{src → orbcharts-plugins-basic/src}/noneData/types.d.ts +0 -0
  77. /package/dist/{src → orbcharts-plugins-basic/src}/relationship/index.d.ts +0 -0
  78. /package/dist/{src → orbcharts-plugins-basic/src}/relationship/plugins/Relationship.d.ts +0 -0
  79. /package/dist/{src → orbcharts-plugins-basic/src}/series/defaults.d.ts +0 -0
  80. /package/dist/{src → orbcharts-plugins-basic/src}/series/index.d.ts +0 -0
  81. /package/dist/{src → orbcharts-plugins-basic/src}/series/plugins/Bubbles.d.ts +0 -0
  82. /package/dist/{src → orbcharts-plugins-basic/src}/series/plugins/Pie.d.ts +0 -0
  83. /package/dist/{src → orbcharts-plugins-basic/src}/series/plugins/PieEventTexts.d.ts +0 -0
  84. /package/dist/{src → orbcharts-plugins-basic/src}/series/plugins/PieLabels.d.ts +0 -0
  85. /package/dist/{src → orbcharts-plugins-basic/src}/series/plugins/SeriesLegend.d.ts +0 -0
  86. /package/dist/{src → orbcharts-plugins-basic/src}/series/plugins/Waffle.d.ts +0 -0
  87. /package/dist/{src → orbcharts-plugins-basic/src}/series/seriesUtils.d.ts +0 -0
  88. /package/dist/{src → orbcharts-plugins-basic/src}/series/types.d.ts +0 -0
  89. /package/dist/{src → orbcharts-plugins-basic/src}/utils/commonUtils.d.ts +0 -0
  90. /package/dist/{src → orbcharts-plugins-basic/src}/utils/d3Graphics.d.ts +0 -0
  91. /package/dist/{src → orbcharts-plugins-basic/src}/utils/d3Utils.d.ts +0 -0
  92. /package/dist/{src → orbcharts-plugins-basic/src}/utils/observables.d.ts +0 -0
  93. /package/dist/{src → orbcharts-plugins-basic/src}/utils/orbchartsUtils.d.ts +0 -0
  94. /package/dist/{vite.config.d.ts → orbcharts-plugins-basic/vite.config.d.ts} +0 -0
@@ -4,6 +4,7 @@ export declare const DEFAULT_LINES_PARAMS: LinesParams;
4
4
  export declare const DEFAULT_DOTS_PARAMS: DotsParams;
5
5
  export declare const DEFAULT_GROUP_AREA_PARAMS: GroupAuxParams;
6
6
  export declare const DEFAULT_BARS_PARAMS: BarsParams;
7
+ export declare const DEFAULT_BARS_DIVERGING_PARAMS: BarsParams;
7
8
  export declare const DEFAULT_BAR_STACK_PARAMS: BarStackParams;
8
9
  export declare const DEFAULT_BARS_TRIANGLE_PARAMS: BarsTriangleParams;
9
10
  export declare const DEFAULT_GROUP_AXIS_PARAMS: GroupAxisParams;
@@ -2,6 +2,7 @@ export * from './defaults';
2
2
  export * from './types';
3
3
  export { Lines } from './plugins/Lines';
4
4
  export { Bars } from './plugins/Bars';
5
+ export { BarsDiverging } from './plugins/BarsDiverging';
5
6
  export { BarStack } from './plugins/BarStack';
6
7
  export { BarsTriangle } from './plugins/BarsTriangle';
7
8
  export { Dots } from './plugins/Dots';
@@ -0,0 +1 @@
1
+ export declare const BarsDiverging: import('@orbcharts/core').PluginConstructor<"grid", string, import('..').BarsParams>;
@@ -27,6 +27,8 @@ export interface BarsParams {
27
27
  barGroupPadding: number;
28
28
  barRadius: number | boolean;
29
29
  }
30
+ export interface BarsDivergingParams extends BarsParams {
31
+ }
30
32
  export interface BarStackParams {
31
33
  barWidth: number;
32
34
  barGroupPadding: number;
@@ -0,0 +1,5 @@
1
+ export * from './grid';
2
+ export * from './multiGrid';
3
+ export * from './noneData';
4
+ export * from './series';
5
+ export * from './tree';
@@ -0,0 +1,4 @@
1
+ import { TreeMapParams, TreeLegendParams } from './types';
2
+
3
+ export declare const DEFAULT_TREE_MAP_PARAMS: TreeMapParams;
4
+ export declare const DEFAULT_TREE_LEGEND_PARAMS: TreeLegendParams;
@@ -0,0 +1,4 @@
1
+ export * from './defaults';
2
+ export * from './types';
3
+ export { TreeLegend } from './plugins/TreeLegend';
4
+ export { TreeMap } from './plugins/TreeMap';
@@ -0,0 +1 @@
1
+ export declare const TreeLegend: import('@orbcharts/core').PluginConstructor<"tree", string, import('..').TreeLegendParams>;
@@ -0,0 +1,3 @@
1
+ import { TreeMapParams } from '../types';
2
+
3
+ export declare const TreeMap: import('@orbcharts/core').PluginConstructor<"tree", string, TreeMapParams>;
@@ -0,0 +1,21 @@
1
+ import { ColorType } from '@orbcharts/core';
2
+ import { ComputedDataTree } from '../../../orbcharts-core/src';
3
+
4
+ export interface TreeMapParams {
5
+ paddingInner: number;
6
+ paddingOuter: number;
7
+ labelColorType: ColorType;
8
+ squarifyRatio: number;
9
+ sort: (a: ComputedDataTree, b: ComputedDataTree) => number;
10
+ }
11
+ export interface TreeLegendParams {
12
+ position: 'top' | 'bottom' | 'left' | 'right';
13
+ justify: 'start' | 'center' | 'end';
14
+ padding: number;
15
+ backgroundFill: ColorType;
16
+ backgroundStroke: ColorType;
17
+ gap: number;
18
+ listRectWidth: number;
19
+ listRectHeight: number;
20
+ listRectRadius: number;
21
+ }