@equinor/videx-wellog
Version:
Visualisation components for wellbore log data
17 lines (16 loc) • 767 B
TypeScript
import { D3Selection } from '../../common/interfaces';
import { LegendBounds } from '../../utils/legend-helper';
interface LegendOptions {
addLabelBg?: boolean;
largeFontEnabled?: boolean;
dash?: number[];
}
/**
* Renders label, min/max values for domain and unit
*/
export declare function renderTextLabels(g: D3Selection, bounds: LegendBounds, label: string, unit: string, domain: number[], color: string, { addLabelBg, largeFontEnabled }?: LegendOptions): void;
/**
* Renders a basic/standard set of layout that are common for most plot-type legends
*/
export declare function renderBasicPlotLegend(g: D3Selection, bounds: LegendBounds, label: string, unit: string, domain: number[], color: string, legendOptions?: LegendOptions): void;
export {};