Reincharts
    Preparing search index...

    Hierarchy

    Index

    Constructors

    Properties

    context: ChartContextType

    If using React Context, re-declare this in your class to be the React.ContextType of your static contextType. Should be used with type annotation or static contextType.

    static contextType = MyContext
    // For TS pre-3.7:
    context!: React.ContextType<typeof MyContext>
    // For TS 3.7 and above:
    declare context: React.ContextType<typeof MyContext>
    getSelectionState: any
    saveNodeType: any
    terminate: any
    contextType: Context<ChartContextType> = ChartContext

    If set, this.context will be set at runtime to the current value of the given Context.

    type MyContext = number
    const Ctx = React.createContext<MyContext>(0)

    class Foo extends React.Component {
    static contextType = Ctx
    context!: React.ContextType<typeof Ctx>
    render () {
    return <>My context's value: {this.context}</>;
    }
    }
    defaultProps: {
        defaultPriceCoordinate: {
            bgFill: string;
            edge: {
                arrowWidth: number;
                at: string;
                dx: number;
                fill: string;
                orient: string;
                rectHeight: number;
                rectWidth: number;
                stroke: string;
                strokeWidth: number;
            };
            fontFamily: string;
            fontSize: number;
            fontStyle: string;
            fontWeight: string;
            stroke: string;
            strokeDasharray: string;
            strokeWidth: number;
            text: string;
            textBox: {
                closeIcon: { padding: { left: number; right: number }; width: number };
                height: number;
                left: number;
                padding: { left: number; right: number };
            };
            textFill: string;
        };
        enabled: boolean;
        hoverText: {
            bgFill: string;
            bgHeight: string;
            bgWidth: string;
            enable: boolean;
            fill: string;
            fontFamily: string;
            fontSize: number;
            text: string;
        };
        yCoordinateList: never[];
    } = ...
    displayName: string = "InteractiveYCoordinate"

    Methods