stream-charts
    Preparing search index...
    interface Props {
        dropDataAfter?: number;
        interpolation?: CurveFactory;
        panEnabled?: boolean;
        showPoints?: boolean;
        withCadenceOf?: number;
        zoomEnabled?: boolean;
        zoomKeyModifiersRequired?: boolean;
        zoomMaxScaleFactor?: number;
        zoomMinScaleFactor?: number;
    }
    Index

    Properties

    dropDataAfter?: number

    The number of milliseconds of data to hold in memory before dropping it. Defaults to infinity (i.e. no data is dropped)

    interpolation?: CurveFactory

    The line interpolation curve factory. See the d3 documentation for curves at https://github.com/d3/d3-shape#curves for information on available interpolations

    panEnabled?: boolean

    Enables panning (default is false)

    showPoints?: boolean

    When set to true plots the data points as well as the line.

    withCadenceOf?: number

    When set, uses a cadence with the specified refresh period (in milliseconds). For plots where the updates are slow (> 100 ms) using a cadence of 10 to 25 ms smooths out the updates and makes the plot updates look cleaner. When updates are around 25 ms or less, then setting the cadence period too small will result in poor update performance. Generally at high update speeds, the cadence is unnecessary. Finally, using cadence, sets the max time to the current time.

    zoomEnabled?: boolean

    Enables zooming (default is false)

    zoomKeyModifiersRequired?: boolean

    When true, requires that the shift or control key be pressed while scrolling in order to activate the zoom

    zoomMaxScaleFactor?: number

    The largest scale factor allowed for zooming (out). For example, a setting of 2.0 means that at this value, the length of 1 unit covers 1/2 the number of pixels. Effectively, the larger this factor, the more the user can "zoom out". Default value is 1.0.

    zoomMinScaleFactor?: number

    The smallest scale factor allowed for zooming (in). For example, a setting of 0.5 means that the largest zoom amount is 2 times the current size, or put another way, an interval of length 1 unit covers twice as may pixels after the zoom. Effectively, the smaller this factor, the more the user can "zoom in". Default value is 0.0.