@orbcharts/plugins-basic 3.0.0-beta.1 → 3.0.0-beta.11

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.
Files changed (181) hide show
  1. package/dist/{src → orbcharts-plugins-basic/src}/base/BaseBars.d.ts +2 -2
  2. package/dist/{src → orbcharts-plugins-basic/src}/base/BaseBarsTriangle.d.ts +2 -2
  3. package/dist/{src → orbcharts-plugins-basic/src}/base/BaseDots.d.ts +2 -2
  4. package/dist/{src → orbcharts-plugins-basic/src}/base/BaseGroupAxis.d.ts +2 -2
  5. package/dist/{src → orbcharts-plugins-basic/src}/base/BaseLegend.d.ts +1 -1
  6. package/dist/{src → orbcharts-plugins-basic/src}/base/BaseLineAreas.d.ts +3 -3
  7. package/dist/{src → orbcharts-plugins-basic/src}/base/BaseLines.d.ts +3 -3
  8. package/dist/{src/base/BaseBarStack.d.ts → orbcharts-plugins-basic/src/base/BaseStackedBar.d.ts} +6 -6
  9. package/dist/{src → orbcharts-plugins-basic/src}/base/BaseValueAxis.d.ts +3 -2
  10. package/dist/{src → orbcharts-plugins-basic/src}/grid/defaults.d.ts +4 -4
  11. package/dist/{src → orbcharts-plugins-basic/src}/grid/gridObservables.d.ts +5 -5
  12. package/dist/{src → orbcharts-plugins-basic/src}/grid/index.d.ts +2 -2
  13. package/dist/orbcharts-plugins-basic/src/grid/plugins/StackedBar.d.ts +1 -0
  14. package/dist/orbcharts-plugins-basic/src/grid/plugins/StackedValueAxis.d.ts +1 -0
  15. package/dist/orbcharts-plugins-basic/src/index.d.ts +7 -0
  16. package/dist/{src → orbcharts-plugins-basic/src}/multiGrid/defaults.d.ts +4 -4
  17. package/dist/{src → orbcharts-plugins-basic/src}/multiGrid/index.d.ts +3 -3
  18. package/dist/orbcharts-plugins-basic/src/multiGrid/plugins/MultiStackedBar.d.ts +1 -0
  19. package/dist/orbcharts-plugins-basic/src/multiGrid/plugins/MultiStackedValueAxis.d.ts +1 -0
  20. package/dist/orbcharts-plugins-basic/src/multiGrid/plugins/OverlappingStackedValueAxes.d.ts +1 -0
  21. package/dist/orbcharts-plugins-basic/src/multiValue/defaults.d.ts +9 -0
  22. package/dist/orbcharts-plugins-basic/src/multiValue/index.d.ts +8 -0
  23. package/dist/orbcharts-plugins-basic/src/multiValue/multiValueObservables.d.ts +33 -0
  24. package/dist/orbcharts-plugins-basic/src/multiValue/plugins/MultiValueLegend.d.ts +1 -0
  25. package/dist/orbcharts-plugins-basic/src/multiValue/plugins/MultiValueTooltip.d.ts +1 -0
  26. package/dist/orbcharts-plugins-basic/src/multiValue/plugins/Scatter.d.ts +3 -0
  27. package/dist/orbcharts-plugins-basic/src/multiValue/plugins/ScatterBubbles.d.ts +3 -0
  28. package/dist/orbcharts-plugins-basic/src/multiValue/plugins/XYAux.d.ts +3 -0
  29. package/dist/orbcharts-plugins-basic/src/multiValue/plugins/XYAxes.d.ts +3 -0
  30. package/dist/orbcharts-plugins-basic/src/multiValue/plugins/XYZoom.d.ts +1 -0
  31. package/dist/orbcharts-plugins-basic/src/relationship/defaults.d.ts +6 -0
  32. package/dist/orbcharts-plugins-basic/src/relationship/index.d.ts +5 -0
  33. package/dist/orbcharts-plugins-basic/src/relationship/plugins/ForceDirected.d.ts +3 -0
  34. package/dist/orbcharts-plugins-basic/src/relationship/plugins/ForceDirectedBubbles.d.ts +3 -0
  35. package/dist/orbcharts-plugins-basic/src/relationship/plugins/RelationshipLegend.d.ts +1 -0
  36. package/dist/orbcharts-plugins-basic/src/relationship/plugins/RelationshipTooltip.d.ts +1 -0
  37. package/dist/orbcharts-plugins-basic/src/relationship/relationshipObservables.d.ts +1 -0
  38. package/dist/{src → orbcharts-plugins-basic/src}/series/seriesObservables.d.ts +3 -3
  39. package/dist/{src → orbcharts-plugins-basic/src}/utils/commonUtils.d.ts +1 -1
  40. package/dist/{src → orbcharts-plugins-basic/src}/utils/d3Utils.d.ts +2 -2
  41. package/dist/{src → orbcharts-plugins-basic/src}/utils/observables.d.ts +1 -1
  42. package/dist/{src → orbcharts-plugins-basic/src}/utils/orbchartsUtils.d.ts +3 -3
  43. package/dist/orbcharts-plugins-basic.es.js +13327 -10361
  44. package/dist/orbcharts-plugins-basic.umd.js +99 -49
  45. package/dist/src/index.d.ts +1 -5
  46. package/package.json +4 -4
  47. package/src/base/BaseBars.ts +5 -5
  48. package/src/base/BaseBarsTriangle.ts +6 -4
  49. package/src/base/BaseDots.ts +3 -54
  50. package/src/base/BaseGroupAxis.ts +50 -50
  51. package/src/base/BaseLegend.ts +25 -21
  52. package/src/base/BaseLineAreas.ts +4 -4
  53. package/src/base/BaseLines.ts +3 -3
  54. package/src/base/{BaseBarStack.ts → BaseStackedBar.ts} +22 -20
  55. package/src/base/BaseTooltip.ts +5 -2
  56. package/src/base/BaseValueAxis.ts +84 -81
  57. package/src/grid/defaults.ts +15 -13
  58. package/src/grid/gridObservables.ts +56 -47
  59. package/src/grid/index.ts +2 -2
  60. package/src/grid/plugins/GridLegend.ts +2 -2
  61. package/src/grid/plugins/GridZoom.ts +20 -20
  62. package/src/grid/plugins/GroupAux.ts +216 -211
  63. package/src/grid/plugins/{BarStack.ts → StackedBar.ts} +7 -7
  64. package/src/grid/plugins/{ValueStackAxis.ts → StackedValueAxis.ts} +6 -5
  65. package/src/grid/plugins/ValueAxis.ts +1 -0
  66. package/src/index.ts +2 -5
  67. package/src/multiGrid/defaults.ts +11 -11
  68. package/src/multiGrid/index.ts +3 -3
  69. package/src/multiGrid/plugins/MultiBars.ts +1 -1
  70. package/src/multiGrid/plugins/MultiBarsTriangle.ts +1 -1
  71. package/src/multiGrid/plugins/MultiGridLegend.ts +2 -2
  72. package/src/multiGrid/plugins/MultiGroupAxis.ts +1 -1
  73. package/src/multiGrid/plugins/{MultiBarStack.ts → MultiStackedBar.ts} +8 -8
  74. package/src/multiGrid/plugins/{MultiValueStackAxis.ts → MultiStackedValueAxis.ts} +4 -3
  75. package/src/multiGrid/plugins/MultiValueAxis.ts +2 -1
  76. package/src/multiGrid/plugins/{OverlappingValueStackAxes.ts → OverlappingStackedValueAxes.ts} +9 -8
  77. package/src/multiGrid/plugins/OverlappingValueAxes.ts +4 -3
  78. package/src/multiValue/defaults.ts +167 -0
  79. package/src/multiValue/index.ts +9 -0
  80. package/src/multiValue/multiValueObservables.ts +297 -0
  81. package/src/multiValue/plugins/MultiValueLegend.ts +107 -0
  82. package/src/multiValue/plugins/MultiValueTooltip.ts +66 -0
  83. package/src/multiValue/plugins/Scatter.ts +426 -0
  84. package/src/multiValue/plugins/ScatterBubbles.ts +554 -0
  85. package/src/multiValue/plugins/XYAux.ts +682 -0
  86. package/src/multiValue/plugins/XYAxes.ts +685 -0
  87. package/src/multiValue/plugins/XYZoom.ts +300 -0
  88. package/src/noneData/plugins/Container.ts +23 -23
  89. package/src/noneData/plugins/Tooltip.ts +365 -365
  90. package/src/relationship/defaults.ts +197 -0
  91. package/src/relationship/index.ts +5 -0
  92. package/src/relationship/plugins/ForceDirected.ts +1169 -0
  93. package/src/relationship/plugins/ForceDirectedBubbles.ts +1394 -0
  94. package/src/relationship/plugins/RelationshipLegend.ts +100 -0
  95. package/src/relationship/plugins/RelationshipTooltip.ts +66 -0
  96. package/src/relationship/relationshipObservables.ts +50 -0
  97. package/src/series/defaults.ts +13 -12
  98. package/src/series/plugins/Bubbles.ts +22 -22
  99. package/src/series/plugins/Pie.ts +2 -2
  100. package/src/series/plugins/PieEventTexts.ts +22 -21
  101. package/src/series/plugins/PieLabels.ts +2 -2
  102. package/src/series/plugins/Rose.ts +2 -2
  103. package/src/series/plugins/RoseLabels.ts +2 -2
  104. package/src/series/plugins/SeriesLegend.ts +4 -4
  105. package/src/series/seriesObservables.ts +3 -3
  106. package/src/tree/defaults.ts +3 -3
  107. package/src/tree/plugins/TreeLegend.ts +3 -10
  108. package/src/utils/commonUtils.ts +5 -5
  109. package/src/utils/d3Utils.ts +4 -3
  110. package/src/utils/observables.ts +2 -2
  111. package/src/utils/orbchartsUtils.ts +28 -12
  112. package/dist/src/grid/plugins/BarStack.d.ts +0 -1
  113. package/dist/src/grid/plugins/ValueStackAxis.d.ts +0 -1
  114. package/dist/src/multiGrid/plugins/MultiBarStack.d.ts +0 -1
  115. package/dist/src/multiGrid/plugins/MultiValueStackAxis.d.ts +0 -1
  116. package/dist/src/multiGrid/plugins/OverlappingValueStackAxes.d.ts +0 -1
  117. package/dist/src/multiValue/plugins/Scatter.d.ts +0 -0
  118. package/dist/src/multiValue/plugins/ScatterAxes.d.ts +0 -0
  119. package/dist/src/noneData/plugins/Container.d.ts +0 -1
  120. package/dist/src/noneData/plugins/Tooltip.d.ts +0 -3
  121. package/dist/src/relationship/index.d.ts +0 -0
  122. package/dist/src/relationship/plugins/Relationship.d.ts +0 -0
  123. package/src/base/BaseGroupArea.ts +0 -0
  124. package/src/multiValue/plugins/ScatterAxes.ts +0 -0
  125. package/src/relationship/plugins/Relationship.ts +0 -0
  126. /package/dist/{lib → orbcharts-plugins-basic/lib}/core-types.d.ts +0 -0
  127. /package/dist/{lib → orbcharts-plugins-basic/lib}/core.d.ts +0 -0
  128. /package/dist/{lib → orbcharts-plugins-basic/lib}/plugins-basic-types.d.ts +0 -0
  129. /package/dist/{src → orbcharts-plugins-basic/src}/base/BaseTooltip.d.ts +0 -0
  130. /package/dist/{src → orbcharts-plugins-basic/src}/base/types.d.ts +0 -0
  131. /package/dist/{src → orbcharts-plugins-basic/src}/const.d.ts +0 -0
  132. /package/dist/{src → orbcharts-plugins-basic/src}/grid/plugins/Bars.d.ts +0 -0
  133. /package/dist/{src → orbcharts-plugins-basic/src}/grid/plugins/BarsPN.d.ts +0 -0
  134. /package/dist/{src → orbcharts-plugins-basic/src}/grid/plugins/BarsTriangle.d.ts +0 -0
  135. /package/dist/{src → orbcharts-plugins-basic/src}/grid/plugins/Dots.d.ts +0 -0
  136. /package/dist/{src → orbcharts-plugins-basic/src}/grid/plugins/GridLegend.d.ts +0 -0
  137. /package/dist/{src → orbcharts-plugins-basic/src}/grid/plugins/GridTooltip.d.ts +0 -0
  138. /package/dist/{src → orbcharts-plugins-basic/src}/grid/plugins/GridZoom.d.ts +0 -0
  139. /package/dist/{src → orbcharts-plugins-basic/src}/grid/plugins/GroupAux.d.ts +0 -0
  140. /package/dist/{src → orbcharts-plugins-basic/src}/grid/plugins/GroupAxis.d.ts +0 -0
  141. /package/dist/{src → orbcharts-plugins-basic/src}/grid/plugins/LineAreas.d.ts +0 -0
  142. /package/dist/{src → orbcharts-plugins-basic/src}/grid/plugins/Lines.d.ts +0 -0
  143. /package/dist/{src → orbcharts-plugins-basic/src}/grid/plugins/ValueAxis.d.ts +0 -0
  144. /package/dist/{src → orbcharts-plugins-basic/src}/multiGrid/multiGridObservables.d.ts +0 -0
  145. /package/dist/{src → orbcharts-plugins-basic/src}/multiGrid/plugins/MultiBars.d.ts +0 -0
  146. /package/dist/{src → orbcharts-plugins-basic/src}/multiGrid/plugins/MultiBarsTriangle.d.ts +0 -0
  147. /package/dist/{src → orbcharts-plugins-basic/src}/multiGrid/plugins/MultiDots.d.ts +0 -0
  148. /package/dist/{src → orbcharts-plugins-basic/src}/multiGrid/plugins/MultiGridLegend.d.ts +0 -0
  149. /package/dist/{src → orbcharts-plugins-basic/src}/multiGrid/plugins/MultiGridTooltip.d.ts +0 -0
  150. /package/dist/{src → orbcharts-plugins-basic/src}/multiGrid/plugins/MultiGroupAxis.d.ts +0 -0
  151. /package/dist/{src → orbcharts-plugins-basic/src}/multiGrid/plugins/MultiLineAreas.d.ts +0 -0
  152. /package/dist/{src → orbcharts-plugins-basic/src}/multiGrid/plugins/MultiLines.d.ts +0 -0
  153. /package/dist/{src → orbcharts-plugins-basic/src}/multiGrid/plugins/MultiValueAxis.d.ts +0 -0
  154. /package/dist/{src → orbcharts-plugins-basic/src}/multiGrid/plugins/OverlappingValueAxes.d.ts +0 -0
  155. /package/dist/{src/grid → orbcharts-plugins-basic/src/multiValue}/plugins/Ranking.d.ts +0 -0
  156. /package/dist/{src/grid → orbcharts-plugins-basic/src/multiValue}/plugins/RankingAxis.d.ts +0 -0
  157. /package/dist/{src → orbcharts-plugins-basic/src}/noneData/defaults.d.ts +0 -0
  158. /package/dist/{src → orbcharts-plugins-basic/src}/noneData/index.d.ts +0 -0
  159. /package/dist/{src/base/BaseGroupArea.d.ts → orbcharts-plugins-basic/src/noneData/plugins/Container.d.ts} +0 -0
  160. /package/dist/{src/multiValue/index.d.ts → orbcharts-plugins-basic/src/noneData/plugins/Tooltip.d.ts} +0 -0
  161. /package/dist/{src → orbcharts-plugins-basic/src}/series/defaults.d.ts +0 -0
  162. /package/dist/{src → orbcharts-plugins-basic/src}/series/index.d.ts +0 -0
  163. /package/dist/{src → orbcharts-plugins-basic/src}/series/plugins/Bubbles.d.ts +0 -0
  164. /package/dist/{src → orbcharts-plugins-basic/src}/series/plugins/Pie.d.ts +0 -0
  165. /package/dist/{src → orbcharts-plugins-basic/src}/series/plugins/PieEventTexts.d.ts +0 -0
  166. /package/dist/{src → orbcharts-plugins-basic/src}/series/plugins/PieLabels.d.ts +0 -0
  167. /package/dist/{src → orbcharts-plugins-basic/src}/series/plugins/Rose.d.ts +0 -0
  168. /package/dist/{src → orbcharts-plugins-basic/src}/series/plugins/RoseLabels.d.ts +0 -0
  169. /package/dist/{src → orbcharts-plugins-basic/src}/series/plugins/SeriesLegend.d.ts +0 -0
  170. /package/dist/{src → orbcharts-plugins-basic/src}/series/plugins/SeriesTooltip.d.ts +0 -0
  171. /package/dist/{src → orbcharts-plugins-basic/src}/series/plugins/Waffle.d.ts +0 -0
  172. /package/dist/{src → orbcharts-plugins-basic/src}/series/seriesUtils.d.ts +0 -0
  173. /package/dist/{src → orbcharts-plugins-basic/src}/tree/defaults.d.ts +0 -0
  174. /package/dist/{src → orbcharts-plugins-basic/src}/tree/index.d.ts +0 -0
  175. /package/dist/{src → orbcharts-plugins-basic/src}/tree/plugins/TreeLegend.d.ts +0 -0
  176. /package/dist/{src → orbcharts-plugins-basic/src}/tree/plugins/TreeMap.d.ts +0 -0
  177. /package/dist/{src → orbcharts-plugins-basic/src}/tree/plugins/TreeTooltip.d.ts +0 -0
  178. /package/dist/{src → orbcharts-plugins-basic/src}/utils/d3Graphics.d.ts +0 -0
  179. /package/dist/{vite.config.d.ts → orbcharts-plugins-basic/vite.config.d.ts} +0 -0
  180. /package/src/{grid → multiValue}/plugins/Ranking.ts +0 -0
  181. /package/src/{grid → multiValue}/plugins/RankingAxis.ts +0 -0
@@ -1,6 +1,6 @@
1
1
  import { Observable, Subject } from 'rxjs';
2
2
  import { BasePluginFn } from './types';
3
- import { ComputedDatumGrid, ComputedDataGrid, ComputedLayoutDataGrid, GridContainerPosition, EventGrid, ChartParams, TransformData } from '../../lib/core-types';
3
+ import { ComputedDatumGrid, ComputedDataGrid, ComputedLayoutDataGrid, ContainerPositionScaled, EventGrid, ChartParams, TransformData } from '../../lib/core-types';
4
4
  import { BaseBarsParams } from '../../lib/plugins-basic-types';
5
5
  import * as d3 from 'd3';
6
6
  interface BaseBarsContext {
@@ -22,7 +22,7 @@ interface BaseBarsContext {
22
22
  height: number;
23
23
  }>;
24
24
  gridHighlight$: Observable<ComputedDatumGrid[]>;
25
- gridContainerPosition$: Observable<GridContainerPosition[]>;
25
+ gridContainerPosition$: Observable<ContainerPositionScaled[]>;
26
26
  isSeriesSeprate$: Observable<boolean>;
27
27
  event$: Subject<EventGrid>;
28
28
  }
@@ -1,6 +1,6 @@
1
1
  import { Observable, Subject } from 'rxjs';
2
2
  import { BasePluginFn } from './types';
3
- import { ComputedDatumGrid, ComputedDataGrid, ComputedLayoutDataGrid, DataFormatterTypeMap, EventGrid, ChartParams, GridContainerPosition, TransformData } from '../../lib/core-types';
3
+ import { ComputedDatumGrid, ComputedDataGrid, ComputedLayoutDataGrid, DataFormatterTypeMap, EventGrid, ChartParams, ContainerPositionScaled, TransformData } from '../../lib/core-types';
4
4
  import { BaseBarsTriangleParams } from '../../lib/plugins-basic-types';
5
5
  import * as d3 from 'd3';
6
6
  interface BaseBarsContext {
@@ -22,7 +22,7 @@ interface BaseBarsContext {
22
22
  height: number;
23
23
  }>;
24
24
  gridHighlight$: Observable<ComputedDatumGrid[]>;
25
- gridContainerPosition$: Observable<GridContainerPosition[]>;
25
+ gridContainerPosition$: Observable<ContainerPositionScaled[]>;
26
26
  isSeriesSeprate$: Observable<boolean>;
27
27
  event$: Subject<EventGrid>;
28
28
  }
@@ -1,6 +1,6 @@
1
1
  import { Observable, Subject } from 'rxjs';
2
2
  import { BasePluginFn } from './types';
3
- import { ComputedDatumGrid, ComputedDataGrid, ComputedLayoutDataGrid, EventGrid, ChartParams, GridContainerPosition, TransformData } from '../../lib/core-types';
3
+ import { ComputedDatumGrid, ComputedDataGrid, ComputedLayoutDataGrid, EventGrid, ChartParams, ContainerPositionScaled, TransformData } from '../../lib/core-types';
4
4
  import { BaseDotsParams } from '../../lib/plugins-basic-types';
5
5
  import * as d3 from 'd3';
6
6
  interface BaseDotsContext {
@@ -22,7 +22,7 @@ interface BaseDotsContext {
22
22
  height: number;
23
23
  }>;
24
24
  gridHighlight$: Observable<ComputedDatumGrid[]>;
25
- gridContainerPosition$: Observable<GridContainerPosition[]>;
25
+ gridContainerPosition$: Observable<ContainerPositionScaled[]>;
26
26
  event$: Subject<EventGrid>;
27
27
  }
28
28
  export declare const createBaseDots: BasePluginFn<BaseDotsContext>;
@@ -1,5 +1,5 @@
1
1
  import { Observable } from 'rxjs';
2
- import { ComputedDataGrid, GridContainerPosition, DataFormatterGrid, ChartParams, TransformData } from '../../lib/core-types';
2
+ import { ComputedDataGrid, ContainerPositionScaled, DataFormatterGrid, ChartParams, TransformData } from '../../lib/core-types';
3
3
  import { BaseGroupAxisParams } from '../../lib/plugins-basic-types';
4
4
  import { BasePluginFn } from './types';
5
5
  import * as d3 from 'd3';
@@ -15,7 +15,7 @@ interface BaseGroupAxisContext {
15
15
  width: number;
16
16
  height: number;
17
17
  }>;
18
- gridContainerPosition$: Observable<GridContainerPosition[]>;
18
+ gridContainerPosition$: Observable<ContainerPositionScaled[]>;
19
19
  isSeriesSeprate$: Observable<boolean>;
20
20
  textSizePx$: Observable<number>;
21
21
  }
@@ -5,7 +5,7 @@ import { BaseLegendParams } from '../../lib/plugins-basic-types';
5
5
  import * as d3 from 'd3';
6
6
  interface BaseLegendContext {
7
7
  rootSelection: d3.Selection<any, unknown, any, unknown>;
8
- seriesLabels$: Observable<string[]>;
8
+ legendLabels$: Observable<string[]>;
9
9
  fullParams$: Observable<BaseLegendParams>;
10
10
  layout$: Observable<Layout>;
11
11
  fullChartParams$: Observable<ChartParams>;
@@ -1,6 +1,6 @@
1
1
  import { Observable, Subject } from 'rxjs';
2
2
  import { BasePluginFn } from './types';
3
- import { ComputedDatumGrid, ComputedDataGrid, ComputedLayoutDataGrid, DataFormatterGrid, EventGrid, GridContainerPosition, ChartParams, Layout, TransformData } from '../../lib/core-types';
3
+ import { ComputedDatumGrid, ComputedDataGrid, ComputedLayoutDataGrid, DataFormatterGrid, EventGrid, ContainerPositionScaled, ChartParams, Layout, TransformData } from '../../lib/core-types';
4
4
  import { BaseLineAreasParams } from '../../lib/plugins-basic-types';
5
5
  import * as d3 from 'd3';
6
6
  interface BaseLineAreasContext {
@@ -22,8 +22,8 @@ interface BaseLineAreasContext {
22
22
  height: number;
23
23
  }>;
24
24
  gridHighlight$: Observable<ComputedDatumGrid[]>;
25
- gridContainerPosition$: Observable<GridContainerPosition[]>;
26
- allContainerPosition$: Observable<GridContainerPosition[]>;
25
+ gridContainerPosition$: Observable<ContainerPositionScaled[]>;
26
+ allContainerPosition$: Observable<ContainerPositionScaled[]>;
27
27
  layout$: Observable<Layout>;
28
28
  event$: Subject<EventGrid>;
29
29
  }
@@ -1,6 +1,6 @@
1
1
  import { Observable, Subject } from 'rxjs';
2
2
  import { BasePluginFn } from './types';
3
- import { ComputedDatumGrid, ComputedDataGrid, ComputedLayoutDataGrid, DataFormatterGrid, EventGrid, GridContainerPosition, ChartParams, Layout, TransformData } from '../../lib/core-types';
3
+ import { ComputedDatumGrid, ComputedDataGrid, ComputedLayoutDataGrid, DataFormatterGrid, EventGrid, ContainerPositionScaled, ChartParams, Layout, TransformData } from '../../lib/core-types';
4
4
  import { BaseLinesParams } from '../../lib/plugins-basic-types';
5
5
  import * as d3 from 'd3';
6
6
  interface BaseLinesContext {
@@ -22,8 +22,8 @@ interface BaseLinesContext {
22
22
  height: number;
23
23
  }>;
24
24
  gridHighlight$: Observable<ComputedDatumGrid[]>;
25
- gridContainerPosition$: Observable<GridContainerPosition[]>;
26
- allContainerPosition$: Observable<GridContainerPosition[]>;
25
+ gridContainerPosition$: Observable<ContainerPositionScaled[]>;
26
+ allContainerPosition$: Observable<ContainerPositionScaled[]>;
27
27
  layout$: Observable<Layout>;
28
28
  event$: Subject<EventGrid>;
29
29
  }
@@ -1,9 +1,9 @@
1
1
  import { Observable, Subject } from 'rxjs';
2
2
  import { BasePluginFn } from './types';
3
- import { ComputedDatumGrid, ComputedDataGrid, ComputedLayoutDataGrid, DataFormatterGrid, EventGrid, ChartParams, GridContainerPosition, TransformData } from '../../lib/core-types';
4
- import { BaseBarStackParams } from '../../lib/plugins-basic-types';
3
+ import { ComputedDatumGrid, ComputedDataGrid, ComputedLayoutDataGrid, DataFormatterGrid, EventGrid, ChartParams, ContainerPositionScaled, TransformData } from '../../lib/core-types';
4
+ import { BaseStackedBarParams } from '../../lib/plugins-basic-types';
5
5
  import * as d3 from 'd3';
6
- interface BaseBarStackContext {
6
+ interface BaseStackedBarContext {
7
7
  selection: d3.Selection<any, unknown, any, unknown>;
8
8
  computedData$: Observable<ComputedDataGrid>;
9
9
  computedLayoutData$: Observable<ComputedLayoutDataGrid>;
@@ -12,7 +12,7 @@ interface BaseBarStackContext {
12
12
  seriesLabels$: Observable<string[]>;
13
13
  SeriesDataMap$: Observable<Map<string, ComputedDatumGrid[]>>;
14
14
  GroupDataMap$: Observable<Map<string, ComputedDatumGrid[]>>;
15
- fullParams$: Observable<BaseBarStackParams>;
15
+ fullParams$: Observable<BaseStackedBarParams>;
16
16
  fullDataFormatter$: Observable<DataFormatterGrid>;
17
17
  fullChartParams$: Observable<ChartParams>;
18
18
  gridAxesTransform$: Observable<TransformData>;
@@ -23,9 +23,9 @@ interface BaseBarStackContext {
23
23
  height: number;
24
24
  }>;
25
25
  gridHighlight$: Observable<ComputedDatumGrid[]>;
26
- gridContainerPosition$: Observable<GridContainerPosition[]>;
26
+ gridContainerPosition$: Observable<ContainerPositionScaled[]>;
27
27
  isSeriesSeprate$: Observable<boolean>;
28
28
  event$: Subject<EventGrid>;
29
29
  }
30
- export declare const createBaseBarStack: BasePluginFn<BaseBarStackContext>;
30
+ export declare const createBaseStackedBar: BasePluginFn<BaseStackedBarContext>;
31
31
  export {};
@@ -1,11 +1,12 @@
1
1
  import { Observable } from 'rxjs';
2
2
  import { BasePluginFn } from './types';
3
- import { ComputedDataGrid, DataFormatterGrid, ChartParams, GridContainerPosition, TransformData } from '../../lib/core-types';
3
+ import { ComputedDataGrid, DataFormatterGrid, ChartParams, ContainerPositionScaled, TransformData } from '../../lib/core-types';
4
4
  import { BaseValueAxisParams } from '../../lib/plugins-basic-types';
5
5
  import * as d3 from 'd3';
6
6
  interface BaseLinesContext {
7
7
  selection: d3.Selection<any, unknown, any, unknown>;
8
8
  computedData$: Observable<ComputedDataGrid>;
9
+ filteredMinMaxValue$: Observable<[number, number]>;
9
10
  fullParams$: Observable<BaseValueAxisParams>;
10
11
  fullDataFormatter$: Observable<DataFormatterGrid>;
11
12
  fullChartParams$: Observable<ChartParams>;
@@ -15,7 +16,7 @@ interface BaseLinesContext {
15
16
  width: number;
16
17
  height: number;
17
18
  }>;
18
- gridContainerPosition$: Observable<GridContainerPosition[]>;
19
+ gridContainerPosition$: Observable<ContainerPositionScaled[]>;
19
20
  isSeriesSeprate$: Observable<boolean>;
20
21
  }
21
22
  export declare const createBaseValueAxis: BasePluginFn<BaseLinesContext>;
@@ -1,16 +1,16 @@
1
- import { LinesParams, LineAreasParams, GroupAuxParams, DotsParams, BarsParams, BarStackParams, BarsTriangleParams, GroupAxisParams, ValueAxisParams, ValueStackAxisParams, GridTooltipParams, GridZoomParams, GridLegendParams } from '../../lib/plugins-basic-types';
1
+ import { LinesParams, LineAreasParams, GroupAuxParams, DotsParams, BarsParams, StackedBarParams, BarsTriangleParams, GroupAxisParams, ValueAxisParams, StackedValueAxisParams, GridTooltipParams, GridZoomParams, GridLegendParams } from '../../lib/plugins-basic-types';
2
2
 
3
3
  export declare const DEFAULT_LINES_PARAMS: LinesParams;
4
4
  export declare const DEFAULT_LINE_AREAS_PARAMS: LineAreasParams;
5
5
  export declare const DEFAULT_DOTS_PARAMS: DotsParams;
6
- export declare const DEFAULT_GROUP_AREA_PARAMS: GroupAuxParams;
6
+ export declare const DEFAULT_GROUP_AUX_PARAMS: GroupAuxParams;
7
7
  export declare const DEFAULT_BARS_PARAMS: BarsParams;
8
8
  export declare const DEFAULT_BARS_DIVERGING_PARAMS: BarsParams;
9
- export declare const DEFAULT_BAR_STACK_PARAMS: BarStackParams;
9
+ export declare const DEFAULT_STACKED_BAR_PARAMS: StackedBarParams;
10
10
  export declare const DEFAULT_BARS_TRIANGLE_PARAMS: BarsTriangleParams;
11
11
  export declare const DEFAULT_GROUP_AXIS_PARAMS: GroupAxisParams;
12
12
  export declare const DEFAULT_VALUE_AXIS_PARAMS: ValueAxisParams;
13
- export declare const DEFAULT_VALUE_STACK_AXIS_PARAMS: ValueStackAxisParams;
13
+ export declare const DEFAULT_STACKED_VALUE_AXIS_PARAMS: StackedValueAxisParams;
14
14
  export declare const DEFAULT_GRID_ZOOM_PARAMS: GridZoomParams;
15
15
  export declare const DEFAULT_GRID_LEGEND_PARAMS: GridLegendParams;
16
16
  export declare const DEFAULT_GRID_TOOLTIP_PARAMS: GridTooltipParams;
@@ -1,12 +1,12 @@
1
1
  import { Observable } from 'rxjs';
2
- import { ChartParams, DataFormatterGrid, ComputedDataGrid, TransformData, GridContainerPosition, Layout } from '../../lib/core-types';
2
+ import { ChartParams, DataFormatterGrid, ComputedDataGrid, TransformData, ContainerPositionScaled, Layout } from '../../lib/core-types';
3
3
  import * as d3 from 'd3';
4
4
  export declare const gridSelectionsObservable: ({ selection, pluginName, clipPathID, seriesLabels$, gridContainerPosition$, gridAxesTransform$, gridGraphicTransform$ }: {
5
5
  selection: d3.Selection<any, unknown, any, unknown>;
6
6
  pluginName: string;
7
7
  clipPathID: string;
8
8
  seriesLabels$: Observable<string[]>;
9
- gridContainerPosition$: Observable<GridContainerPosition[]>;
9
+ gridContainerPosition$: Observable<ContainerPositionScaled[]>;
10
10
  gridAxesTransform$: Observable<TransformData>;
11
11
  gridGraphicTransform$: Observable<TransformData>;
12
12
  }) => {
@@ -23,13 +23,13 @@ export declare const gridGroupPositionFnObservable: ({ fullDataFormatter$, gridA
23
23
  }>;
24
24
  computedData$: Observable<ComputedDataGrid>;
25
25
  fullChartParams$: Observable<ChartParams>;
26
- gridContainerPosition$: Observable<GridContainerPosition[]>;
26
+ gridContainerPosition$: Observable<ContainerPositionScaled[]>;
27
27
  layout$: Observable<Layout>;
28
28
  }) => Observable<(event: any) => {
29
29
  groupIndex: number;
30
30
  groupLabel: string;
31
31
  }>;
32
- export declare const gridGroupPosition: ({ rootSelection, fullDataFormatter$, gridAxesSize$, computedData$, fullChartParams$, gridContainerPosition$, layout$ }: {
32
+ export declare const gridGroupPositionObservable: ({ rootSelection, fullDataFormatter$, gridAxesSize$, computedData$, fullChartParams$, gridContainerPosition$, layout$ }: {
33
33
  rootSelection: d3.Selection<any, unknown, any, unknown>;
34
34
  fullDataFormatter$: Observable<DataFormatterGrid>;
35
35
  gridAxesSize$: Observable<{
@@ -38,7 +38,7 @@ export declare const gridGroupPosition: ({ rootSelection, fullDataFormatter$, gr
38
38
  }>;
39
39
  computedData$: Observable<ComputedDataGrid>;
40
40
  fullChartParams$: Observable<ChartParams>;
41
- gridContainerPosition$: Observable<GridContainerPosition[]>;
41
+ gridContainerPosition$: Observable<ContainerPositionScaled[]>;
42
42
  layout$: Observable<Layout>;
43
43
  }) => Observable<{
44
44
  groupIndex: number;
@@ -3,13 +3,13 @@ export { Lines } from './plugins/Lines';
3
3
  export { LineAreas } from './plugins/LineAreas';
4
4
  export { Bars } from './plugins/Bars';
5
5
  export { BarsPN } from './plugins/BarsPN';
6
- export { BarStack } from './plugins/BarStack';
6
+ export { StackedBar } from './plugins/StackedBar';
7
7
  export { BarsTriangle } from './plugins/BarsTriangle';
8
8
  export { Dots } from './plugins/Dots';
9
9
  export { GridLegend } from './plugins/GridLegend';
10
10
  export { GroupAxis } from './plugins/GroupAxis';
11
11
  export { ValueAxis } from './plugins/ValueAxis';
12
- export { ValueStackAxis } from './plugins/ValueStackAxis';
12
+ export { StackedValueAxis } from './plugins/StackedValueAxis';
13
13
  export { GridTooltip } from './plugins/GridTooltip';
14
14
  export { GridZoom } from './plugins/GridZoom';
15
15
  export { GroupAux } from './plugins/GroupAux';
@@ -0,0 +1 @@
1
+ export declare const StackedBar: import('@orbcharts/core-types/dist/src/types/Plugin').PluginConstructor<"grid", "StackedBar", import('@orbcharts/plugins-basic-types').StackedBarParams>;
@@ -0,0 +1 @@
1
+ export declare const StackedValueAxis: import('@orbcharts/core-types/dist/src/types/Plugin').PluginConstructor<"grid", "StackedValueAxis", import('@orbcharts/plugins-basic-types').StackedValueAxisParams>;
@@ -0,0 +1,7 @@
1
+ export * from './grid';
2
+ export * from './multiGrid';
3
+ export * from './multiValue';
4
+ export * from './noneData';
5
+ export * from './relationship';
6
+ export * from './series';
7
+ export * from './tree';
@@ -1,15 +1,15 @@
1
- import { MultiGridLegendParams, MultiBarsParams, MultiBarStackParams, MultiBarsTriangleParams, MultiLinesParams, MultiLineAreasParams, MultiDotsParams, MultiGroupAxisParams, MultiGridTooltipParams, MultiValueAxisParams, MultiValueStackAxisParams, OverlappingValueAxesParams, OverlappingValueStackAxesParams } from '../../lib/plugins-basic-types';
1
+ import { MultiGridLegendParams, MultiBarsParams, MultiStackedBarParams, MultiBarsTriangleParams, MultiLinesParams, MultiLineAreasParams, MultiDotsParams, MultiGroupAxisParams, MultiGridTooltipParams, MultiValueAxisParams, MultiStackedValueAxisParams, OverlappingValueAxesParams, OverlappingStackedValueAxesParams } from '../../lib/plugins-basic-types';
2
2
 
3
3
  export declare const DEFAULT_MULTI_GRID_LEGEND_PARAMS: MultiGridLegendParams;
4
4
  export declare const DEFAULT_MULTI_GROUP_AXIS_PARAMS: MultiGroupAxisParams;
5
5
  export declare const DEFAULT_MULTI_VALUE_AXIS_PARAMS: MultiValueAxisParams;
6
- export declare const DEFAULT_MULTI_VALUE_STACK_AXIS_PARAMS: MultiValueStackAxisParams;
6
+ export declare const DEFAULT_MULTI_STACKED_VALUE_AXIS_PARAMS: MultiStackedValueAxisParams;
7
7
  export declare const DEFAULT_MULTI_BARS_PARAMS: MultiBarsParams;
8
- export declare const DEFAULT_MULTI_BAR_STACK_PARAMS: MultiBarStackParams;
8
+ export declare const DEFAULT_MULTI_STACKED_BAR_PARAMS: MultiStackedBarParams;
9
9
  export declare const DEFAULT_MULTI_BARS_TRIANGLE_PARAMS: MultiBarsTriangleParams;
10
10
  export declare const DEFAULT_MULTI_LINES_PARAMS: MultiLinesParams;
11
11
  export declare const DEFAULT_MULTI_LINE_AREAS_PARAMS: MultiLineAreasParams;
12
12
  export declare const DEFAULT_MULTI_DOTS_PARAMS: MultiDotsParams;
13
13
  export declare const DEFAULT_OVERLAPPING_VALUE_AXES_PARAMS: OverlappingValueAxesParams;
14
- export declare const DEFAULT_OVERLAPPING_VALUE_STACK_AXES_PARAMS: OverlappingValueStackAxesParams;
14
+ export declare const DEFAULT_OVERLAPPING_STACKED_VALUE_AXES_PARAMS: OverlappingStackedValueAxesParams;
15
15
  export declare const DEFAULT_MULTI_GRID_TOOLTIP_PARAMS: MultiGridTooltipParams;
@@ -1,7 +1,7 @@
1
1
  export * from './defaults';
2
2
  export { MultiGridLegend } from './plugins/MultiGridLegend';
3
3
  export { MultiBars } from './plugins/MultiBars';
4
- export { MultiBarStack } from './plugins/MultiBarStack';
4
+ export { MultiStackedBar } from './plugins/MultiStackedBar';
5
5
  export { MultiBarsTriangle } from './plugins/MultiBarsTriangle';
6
6
  export { MultiLines } from './plugins/MultiLines';
7
7
  export { MultiLineAreas } from './plugins/MultiLineAreas';
@@ -9,6 +9,6 @@ export { MultiDots } from './plugins/MultiDots';
9
9
  export { MultiGroupAxis } from './plugins/MultiGroupAxis';
10
10
  export { MultiValueAxis } from './plugins/MultiValueAxis';
11
11
  export { MultiGridTooltip } from './plugins/MultiGridTooltip';
12
- export { MultiValueStackAxis } from './plugins/MultiValueStackAxis';
12
+ export { MultiStackedValueAxis } from './plugins/MultiStackedValueAxis';
13
13
  export { OverlappingValueAxes } from './plugins/OverlappingValueAxes';
14
- export { OverlappingValueStackAxes } from './plugins/OverlappingValueStackAxes';
14
+ export { OverlappingStackedValueAxes } from './plugins/OverlappingStackedValueAxes';
@@ -0,0 +1 @@
1
+ export declare const MultiStackedBar: import('@orbcharts/core-types/dist/src/types/Plugin').PluginConstructor<"multiGrid", "MultiStackedBar", import('@orbcharts/plugins-basic-types').MultiStackedBarParams>;
@@ -0,0 +1 @@
1
+ export declare const MultiStackedValueAxis: import('@orbcharts/core-types/dist/src/types/Plugin').PluginConstructor<"multiGrid", "MultiStackedValueAxis", import('@orbcharts/plugins-basic-types').MultiValueAxisParams>;
@@ -0,0 +1 @@
1
+ export declare const OverlappingStackedValueAxes: import('@orbcharts/core-types/dist/src/types/Plugin').PluginConstructor<"multiGrid", "OverlappingStackedValueAxes", import('@orbcharts/plugins-basic-types').OverlappingStackedValueAxesParams>;
@@ -0,0 +1,9 @@
1
+ import { MultiValueLegendParams, MultiValueTooltipParams, ScatterParams, ScatterBubblesParams, XYAuxParams, XYAxesParams, XYZoomParams } from '../../lib/plugins-basic-types';
2
+
3
+ export declare const DEFAULT_MULTI_VALUE_LEGEND_PARAMS: MultiValueLegendParams;
4
+ export declare const DEFAULT_MULTI_VALUE_TOOLTIP_PARAMS: MultiValueTooltipParams;
5
+ export declare const DEFAULT_SCATTER_PARAMS: ScatterParams;
6
+ export declare const DEFAULT_SCATTER_BUBBLES_PARAMS: ScatterBubblesParams;
7
+ export declare const DEFAULT_X_Y_AUX_PARAMS: XYAuxParams;
8
+ export declare const DEFAULT_X_Y_AXES_PARAMS: XYAxesParams;
9
+ export declare const DEFAULT_X_Y_ZOOM_PARAMS: XYZoomParams;
@@ -0,0 +1,8 @@
1
+ export * from './defaults';
2
+ export { MultiValueLegend } from './plugins/MultiValueLegend';
3
+ export { MultiValueTooltip } from './plugins/MultiValueTooltip';
4
+ export { Scatter } from './plugins/Scatter';
5
+ export { ScatterBubbles } from './plugins/ScatterBubbles';
6
+ export { XYAux } from './plugins/XYAux';
7
+ export { XYAxes } from './plugins/XYAxes';
8
+ export { XYZoom } from './plugins/XYZoom';
@@ -0,0 +1,33 @@
1
+ import { Observable } from 'rxjs';
2
+ import { DataFormatterMultiValue, ComputedLayoutDatumMultiValue, TransformData, ContainerPositionScaled, Layout } from '../../lib/core-types';
3
+ import * as d3 from 'd3';
4
+ export declare const multiValueSelectionsObservable: ({ selection, pluginName, clipPathID, categoryLabels$, multiValueContainerPosition$, multiValueGraphicTransform$ }: {
5
+ selection: d3.Selection<any, unknown, any, unknown>;
6
+ pluginName: string;
7
+ clipPathID: string;
8
+ categoryLabels$: Observable<string[]>;
9
+ multiValueContainerPosition$: Observable<ContainerPositionScaled[]>;
10
+ multiValueGraphicTransform$: Observable<TransformData>;
11
+ }) => {
12
+ categorySelection$: Observable<d3.Selection<SVGGElement, string, any, unknown>>;
13
+ axesSelection$: Observable<d3.Selection<SVGGElement, string, any, unknown>>;
14
+ defsSelection$: Observable<d3.Selection<SVGDefsElement, string, any, unknown>>;
15
+ graphicGSelection$: Observable<d3.Selection<SVGGElement, string, any, unknown>>;
16
+ };
17
+ export declare const multiValueXYPositionObservable: ({ rootSelection, fullDataFormatter$, filteredMinMaxXYData$, multiValueContainerPosition$, layout$ }: {
18
+ rootSelection: d3.Selection<any, unknown, any, unknown>;
19
+ fullDataFormatter$: Observable<DataFormatterMultiValue>;
20
+ filteredMinMaxXYData$: Observable<{
21
+ minXDatum: ComputedLayoutDatumMultiValue;
22
+ maxXDatum: ComputedLayoutDatumMultiValue;
23
+ minYDatum: ComputedLayoutDatumMultiValue;
24
+ maxYDatum: ComputedLayoutDatumMultiValue;
25
+ }>;
26
+ multiValueContainerPosition$: Observable<ContainerPositionScaled[]>;
27
+ layout$: Observable<Layout>;
28
+ }) => Observable<{
29
+ x: number;
30
+ y: number;
31
+ xValue: number;
32
+ yValue: number;
33
+ }>;
@@ -0,0 +1 @@
1
+ export declare const MultiValueLegend: import('@orbcharts/core-types/dist/src/types/Plugin').PluginConstructor<"multiValue", "MultiValueLegend", import('@orbcharts/plugins-basic-types').MultiValueLegendParams>;
@@ -0,0 +1 @@
1
+ export declare const MultiValueTooltip: import('@orbcharts/core-types/dist/src/types/Plugin').PluginConstructor<"multiValue", "MultiValueTooltip", import('@orbcharts/plugins-basic-types').MultiValueTooltipParams>;
@@ -0,0 +1,3 @@
1
+ import { ScatterParams } from '../../../lib/plugins-basic-types';
2
+
3
+ export declare const Scatter: import('@orbcharts/core-types/dist/src/types/Plugin').PluginConstructor<"multiValue", "Scatter", ScatterParams>;
@@ -0,0 +1,3 @@
1
+ import { ScatterBubblesParams } from '../../../lib/plugins-basic-types';
2
+
3
+ export declare const ScatterBubbles: import('@orbcharts/core-types/dist/src/types/Plugin').PluginConstructor<"multiValue", "ScatterBubbles", ScatterBubblesParams>;
@@ -0,0 +1,3 @@
1
+ import { XYAuxParams } from '../../../lib/plugins-basic-types';
2
+
3
+ export declare const XYAux: import('@orbcharts/core-types/dist/src/types/Plugin').PluginConstructor<"multiValue", "XYAux", XYAuxParams>;
@@ -0,0 +1,3 @@
1
+ import { XYAxesParams } from '../../../lib/plugins-basic-types';
2
+
3
+ export declare const XYAxes: import('@orbcharts/core-types/dist/src/types/Plugin').PluginConstructor<"multiValue", "XYAxes", XYAxesParams>;
@@ -0,0 +1 @@
1
+ export declare const XYZoom: import('@orbcharts/core-types/dist/src/types/Plugin').PluginConstructor<"multiValue", "XYZoom", import('@orbcharts/plugins-basic-types').XYZoomParams>;
@@ -0,0 +1,6 @@
1
+ import { ForceDirectedParams, ForceDirectedBubblesParams, RelationshipLegendParams, RelationshipTooltipParams } from '../../lib/plugins-basic-types';
2
+
3
+ export declare const DEFAULT_FORCE_DIRECTED_PARAMS: ForceDirectedParams;
4
+ export declare const DEFAULT_FORCE_DIRECTED_BUBBLES_PARAMS: ForceDirectedBubblesParams;
5
+ export declare const DEFAULT_RELATIONSHIP_LEGEND_PARAMS: RelationshipLegendParams;
6
+ export declare const DEFAULT_RELATIONSHIP_TOOLTIP_PARAMS: RelationshipTooltipParams;
@@ -0,0 +1,5 @@
1
+ export * from './defaults';
2
+ export { ForceDirected } from './plugins/ForceDirected';
3
+ export { ForceDirectedBubbles } from './plugins/ForceDirectedBubbles';
4
+ export { RelationshipLegend } from './plugins/RelationshipLegend';
5
+ export { RelationshipTooltip } from './plugins/RelationshipTooltip';
@@ -0,0 +1,3 @@
1
+ import { ForceDirectedParams } from '../../../lib/plugins-basic-types';
2
+
3
+ export declare const ForceDirected: import('@orbcharts/core-types/dist/src/types/Plugin').PluginConstructor<"relationship", "ForceDirected", ForceDirectedParams>;
@@ -0,0 +1,3 @@
1
+ import { ForceDirectedBubblesParams } from '../../../lib/plugins-basic-types';
2
+
3
+ export declare const ForceDirectedBubbles: import('@orbcharts/core-types/dist/src/types/Plugin').PluginConstructor<"relationship", "ForceDirectedBubbles", ForceDirectedBubblesParams>;
@@ -0,0 +1 @@
1
+ export declare const RelationshipLegend: import('@orbcharts/core-types/dist/src/types/Plugin').PluginConstructor<"relationship", "RelationshipLegend", import('@orbcharts/plugins-basic-types').RelationshipLegendParams>;
@@ -0,0 +1 @@
1
+ export declare const RelationshipTooltip: import('@orbcharts/core-types/dist/src/types/Plugin').PluginConstructor<"relationship", "RelationshipTooltip", import('@orbcharts/plugins-basic-types').RelationshipTooltipParams>;
@@ -1,12 +1,12 @@
1
1
  import { Observable } from 'rxjs';
2
- import { SeriesContainerPosition } from '../../lib/core-types';
2
+ import { ContainerPosition } from '../../lib/core-types';
3
3
  import * as d3 from 'd3';
4
4
  export declare const seriesStartSelectionObservable: ({ selection, pluginName, separateSeries$, seriesLabels$, seriesContainerPosition$ }: {
5
5
  selection: d3.Selection<any, unknown, any, unknown>;
6
6
  pluginName: string;
7
7
  separateSeries$: Observable<boolean>;
8
8
  seriesLabels$: Observable<string[]>;
9
- seriesContainerPosition$: Observable<SeriesContainerPosition[]>;
9
+ seriesContainerPosition$: Observable<ContainerPosition[]>;
10
10
  }) => {
11
11
  seriesStartSelection$: Observable<d3.Selection<SVGGElement, string, any, unknown>>;
12
12
  };
@@ -15,7 +15,7 @@ export declare const seriesCenterSelectionObservable: ({ selection, pluginName,
15
15
  pluginName: string;
16
16
  separateSeries$: Observable<boolean>;
17
17
  seriesLabels$: Observable<string[]>;
18
- seriesContainerPosition$: Observable<SeriesContainerPosition[]>;
18
+ seriesContainerPosition$: Observable<ContainerPosition[]>;
19
19
  }) => {
20
20
  seriesCenterSelection$: Observable<d3.Selection<SVGGElement, string, any, unknown>>;
21
21
  };
@@ -1,2 +1,2 @@
1
1
  export declare function measureTextWidth(text: string, size?: number): number;
2
- export declare function getMinAndMax(data: number[]): [number, number];
2
+ export declare function getMinMax(data: number[]): [number, number];
@@ -9,5 +9,5 @@ export declare function makeD3Arc({ axisWidth, innerRadius, outerRadius, padAngl
9
9
  padAngle: number;
10
10
  cornerRadius: number;
11
11
  }): d3.Arc<any, d3.DefaultArcObject>;
12
- export declare const parseTickFormatValue: (value: any, tickFormat: string | ((text: d3.NumberValue) => string)) => string;
13
- export declare const parseDateTickFormatValue: (value: any, tickFormat: string | ((text: d3.NumberValue) => string)) => string;
12
+ export declare const parseTickFormatValue: (value: any, tickFormat: string | ((text: d3.NumberValue) => string | d3.NumberValue)) => string;
13
+ export declare const parseDateTickFormatValue: (value: any, tickFormat: string | ((text: d3.NumberValue) => string | d3.NumberValue)) => string;
@@ -1,3 +1,3 @@
1
1
  import { Observable } from 'rxjs';
2
2
  import * as d3 from 'd3';
3
- export declare function d3EventObservable(selection: d3.Selection<any, any, any, any>, event: any): Observable<unknown>;
3
+ export declare function d3EventObservable(selection: d3.Selection<any, any, any, any>, event: any): Observable<MouseEvent>;
@@ -1,10 +1,10 @@
1
- import { AxisPosition, ColorType, ChartParams, ComputedDatumBase, ComputedDatumCategoryValue } from '../../lib/core-types';
1
+ import { AxisPosition, ColorType, ChartParams, ComputedDatumBase, ComputedDatumBaseValue, ComputedDatumBaseCategory } from '../../lib/core-types';
2
2
 
3
- export declare function getMinAndMaxValue(data: ComputedDatumBase[]): [number, number];
3
+ export declare function getMinMaxValue(data: (ComputedDatumBase & ComputedDatumBaseValue)[]): [number, number];
4
4
  export declare function getColor(colorType: ColorType, fullChartParams: ChartParams): string;
5
5
  export declare function getSeriesValueColor(): void;
6
6
  export declare function getCategoryValueColor({ datum, colorType, fullChartParams }: {
7
- datum: ComputedDatumCategoryValue;
7
+ datum: ComputedDatumBaseCategory;
8
8
  colorType: ColorType;
9
9
  fullChartParams: ChartParams;
10
10
  }): void;