@redsift/charts 8.0.0 → 8.0.2
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.
- package/index.d.ts +8 -0
- package/index.js +3841 -49
- package/index.js.map +1 -1
- package/package.json +2 -2
package/index.d.ts
CHANGED
|
@@ -402,6 +402,8 @@ interface ChartContainerProps extends Omit<ComponentProps<'div'>, 'title'>, Styl
|
|
|
402
402
|
chartProps?: ComponentProps<'div'>;
|
|
403
403
|
/** Ref to the chart. */
|
|
404
404
|
chartRef?: RefObject<HTMLDivElement>;
|
|
405
|
+
/** Description. */
|
|
406
|
+
description?: string;
|
|
405
407
|
/** Id. */
|
|
406
408
|
id?: string;
|
|
407
409
|
/** Method called when the Reset button is displayed (defines whether or not the button should be displayed). */
|
|
@@ -659,6 +661,8 @@ interface ScatterPlotProps extends ChartContainerProps {
|
|
|
659
661
|
dotRole?: DotProps['role'];
|
|
660
662
|
/** Component to use if the chart is empty (replacing the default one). */
|
|
661
663
|
emptyComponent?: ReactNode;
|
|
664
|
+
/** Whether the Control Keys panel is displayed or not. */
|
|
665
|
+
hideControlKeyPanel?: boolean;
|
|
662
666
|
/** Whether the scatter plot dots are selectable using brush or not. */
|
|
663
667
|
isBrushable?: boolean;
|
|
664
668
|
/** Method to determine whether a dot is selected or not. */
|
|
@@ -689,8 +693,12 @@ interface ScatterPlotProps extends ChartContainerProps {
|
|
|
689
693
|
variant?: ScatterPlotVariant;
|
|
690
694
|
/** X axis variant. */
|
|
691
695
|
xAxisVariant?: AxisVariant;
|
|
696
|
+
/** X axis placement. */
|
|
697
|
+
xAxisPlacement?: 'bottom' | 'top' | 'both';
|
|
692
698
|
/** Y axis variant. */
|
|
693
699
|
yAxisVariant?: AxisVariant;
|
|
700
|
+
/** Y axis placement. */
|
|
701
|
+
yAxisPlacement?: 'right' | 'left' | 'both';
|
|
694
702
|
}
|
|
695
703
|
type StyledScatterPlotProps = ScatterPlotProps & {};
|
|
696
704
|
|