stream-charts
    Preparing search index...
    • Calculates the y-coordinate for the upper-left-hand the tooltip rectangle. Adjusts the y-coordinate so that the tooltip is visible on the upper and lower edges of the plot

      Parameters

      • seriesName: string

        The name of the series

      • textHeight: number

        The height of the header and neuron ID text

      • axis: OrdinalStringAxis

        The category axis for determining the y-value of the tooltip

      • tooltipStyle: TooltipStyle

        The tooltip style

      • margin: Margin

        The plot margin

      • categoryHeight: number

        The height (in pixels) of the category

      • plotDimensions: Dimensions

        The dimensions of the plot

      Returns number

      The y-coordinate of the lower-left-hand corner of the tooltip rectangle