/// import { HistogramData, OpacityAddon, OrientationAddon, BarLayoutAddon, DependentAxisLogScaleAddon, AxisTruncationAddon } from '../types/plots'; import { NumberOrDateRange, NumberRange } from '../types/general'; import { PlotProps } from './PlotlyPlot'; export interface HistogramProps extends PlotProps, OrientationAddon, OpacityAddon, BarLayoutAddon<'overlay' | 'stack'>, DependentAxisLogScaleAddon, AxisTruncationAddon { /** Label for independent axis. Defaults to `Bins`. */ independentAxisLabel?: string; /** Label for dependent axis. Defaults to `Count`. */ dependentAxisLabel?: string; /** Range for the dependent axis (usually y-axis) */ dependentAxisRange?: NumberRange; /** Show value for each bar */ showValues?: boolean; /** A range to highlight by means of opacity */ selectedRange?: NumberOrDateRange; /** function to call upon selecting a range (in independent axis) */ onSelectedRangeChange?: (newRange?: NumberOrDateRange) => void; /** Min and max allowed values for the selected range. * Used to keep graphical range selections within the range of the data. Optional. * And now DEPRECATED. Do not use. */ selectedRangeBounds?: NumberOrDateRange; /** Relevant to range selection - flag to indicate if the data is zoomed in. Default false. * Also DEPRECATED along with selectedRangeBounds */ isZoomed?: boolean; /** independent axis range min and max */ independentAxisRange?: NumberOrDateRange; /** Assuming independentAxisRange is inclusive at both ends, * is binStart inclusive or exclusive? Setting this appropriately will * ensure that the bins containing data equal to independentAxisRange min and max are shown * Default 'inclusive' **/ binStartType?: 'inclusive' | 'exclusive'; /** See binStartType for full explanation * is binEnd inclusive or exclusive? default 'inclusive' */ binEndType?: 'inclusive' | 'exclusive'; } /** A Plot.ly based histogram component. */ declare const Histogram: import("react").ForwardRefExoticComponent>; export default Histogram; //# sourceMappingURL=Histogram.d.ts.map