@vizzly/dashboard 0.15.0-dev-4a90180f693d878d9bfd1449280e08ac6afa15d7 → 0.15.0-dev-0deaef621a2f2e1193124d502137c2500f5e1855

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.
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
- import { ChartTheme } from '../../../types';
3
2
  import { AreaChartRepresentation, CurveTypes } from '../../../../../shared-logic/src/AreaChartV2/types';
3
+ import { ChartTheme } from '../../../types';
4
4
  export declare type AreaChartProps = {
5
5
  uniqueId: string;
6
6
  width: number;
@@ -7,5 +7,6 @@ export declare type DataLabelProps = {
7
7
  dy?: number;
8
8
  color?: string;
9
9
  backgroundColor?: string;
10
+ horizontalAnchor?: 'start' | 'middle' | 'end' | 'inherit' | undefined;
10
11
  };
11
12
  export declare const DataLabel: React.FC<DataLabelProps>;
@@ -1,7 +1,16 @@
1
1
  /// <reference types="react" />
2
+ import { ScaleLinear } from '@visx/vendor/d3-scale';
2
3
  import { Margin } from '../../utils/buildMargin';
3
4
  export declare const Line: ({ margin, x, height }: {
4
5
  margin: Margin;
5
6
  x: number;
6
7
  height: number;
7
8
  }) => JSX.Element;
9
+ export declare const ZeroHorizontalLine: ({ yScale, chartWidth, }: {
10
+ yScale: ScaleLinear<number, number, never>;
11
+ chartWidth: number;
12
+ }) => JSX.Element;
13
+ export declare const ZeroVerticalLine: ({ xScale, chartHeight, }: {
14
+ xScale: ScaleLinear<number, number, never>;
15
+ chartHeight: number;
16
+ }) => JSX.Element;