This is documentation for the next version of Grafana. For the latest stable release, go to the latest version.

API Reference@grafana/uiaddTooltipOptions

commonOptionsBuilder.addTooltipOptions() function

commonOptionsBuilder.addTooltipOptions() function

Signature

export declare function addTooltipOptions<T extends OptionsWithTooltip>(builder: PanelOptionsEditorBuilder<T>, singleOnly?: boolean): void;

Import

import { commonOptionsBuilder } from '@grafana/ui';
const { addTooltipOptions } = commonOptionsBuilder;

Parameters

Parameter Type Description
builder PanelOptionsEditorBuilder<T>
singleOnly boolean

Returns:

void