@equinor/videx-wellog
Version:
Visualisation components for wellbore log data
11 lines (10 loc) • 511 B
TypeScript
import { Scale } from '../common/interfaces';
import { ScaleHandlerTicks } from '../scale-handlers/interfaces';
/** Helper for rendering grid to canvas, used by GraphTrack. */
export default class GridHelper {
/**
* Draws grid to canvas according to input scales and ticks dictionaries.
* Ticks are dictionaries of major and minor number arrays
*/
static drawGrid(ctx: CanvasRenderingContext2D, xscale: Scale, xticks: ScaleHandlerTicks, yscale: Scale, yticks: ScaleHandlerTicks): void;
}