Options
All
  • Public
  • Public/Protected
  • All
Menu

Used by the RubberBandXyZoomModifier to draw an {@link SVGSVGElement | SVGElement} rectangle over the chart.

Hierarchy

Implements

Index

Constructors

Properties

Accessors

Methods

Constructors

constructor

  • new RubberBandSvgRect(svgRoot: SVGSVGElement, fill: string, stroke: string, strokeThickness: number): RubberBandSvgRect
  • Parameters

    • svgRoot: SVGSVGElement
    • fill: string
    • stroke: string
    • strokeThickness: number

    Returns RubberBandSvgRect

Properties

svgTemplate

svgTemplate: (fill: string, stroke: string, strokeThickness: number, width: number, height: number) => SVGElement = svgTemplate

Type declaration

    • (fill: string, stroke: string, strokeThickness: number, width: number, height: number): SVGElement
    • Parameters

      • fill: string
      • stroke: string
      • strokeThickness: number
      • width: number
      • height: number

      Returns SVGElement

Accessors

isHidden

  • get isHidden(): boolean
  • set isHidden(value: boolean): void
  • Gets isHidden property

    Returns boolean

  • Sets isHidden property

    Parameters

    • value: boolean

    Returns void

x1

  • get x1(): number
  • set x1(value: number): void
  • Gets the X1 value, the value is not scaled

    Returns number

  • Sets the X1 value, the value must be not scaled

    Parameters

    • value: number

    Returns void

x2

  • get x2(): number
  • set x2(value: number): void
  • Gets the X2 value, the value is not scaled

    Returns number

  • Sets the X2 value, the value must be not scaled

    Parameters

    • value: number

    Returns void

y1

  • get y1(): number
  • set y1(value: number): void
  • Gets the Y1 value, the value is not scaled

    Returns number

  • Sets the Y1 value, the value must be not scaled

    Parameters

    • value: number

    Returns void

y2

  • get y2(): number
  • set y2(value: number): void
  • Gets the Y2 value, the value is not scaled

    Returns number

  • Sets the Y2 value, the value must be not scaled

    Parameters

    • value: number

    Returns void

Methods

clear

  • clear(): void
  • Clear the rect svg

    Returns void

delete

  • delete(): void

Generated using TypeDoc