UNPKG

@equinor/videx-wellog

Version:

Visualisation components for wellbore log data

18 lines (17 loc) 510 B
import { Line } from 'd3-shape'; import Plot from './plot'; import { Scale } from '../common/interfaces'; import { LinePlotOptions } from './interfaces'; /** * Line plot */ export default class LinePlot extends Plot<LinePlotOptions> { /** * Renders line plot to canvas context */ plot(ctx: CanvasRenderingContext2D, scale: Scale): void; /** * Renders segments outside of domain. */ plotWrapped(ctx: CanvasRenderingContext2D, lineFunction: Line<[number, number]>): void; }