mirror of
https://github.com/grafana/grafana.git
synced 2025-02-20 11:48:34 -06:00
18 lines
512 B
TypeScript
18 lines
512 B
TypeScript
|
import { VisualizationSuggestion, PanelModel, PanelPlugin, PanelData } from '@grafana/data';
|
||
|
|
||
|
export function getOptionSuggestions(
|
||
|
plugin: PanelPlugin,
|
||
|
panel: PanelModel,
|
||
|
data?: PanelData
|
||
|
): VisualizationSuggestion[] {
|
||
|
// const supplier = plugin.getSuggestionsSupplier();
|
||
|
|
||
|
// if (supplier && supplier.getOptionSuggestions) {
|
||
|
// const builder = new VisualizationSuggestionsBuilder(data, panel);
|
||
|
// supplier.getOptionSuggestions(builder);
|
||
|
// return builder.getList();
|
||
|
// }
|
||
|
|
||
|
return [];
|
||
|
}
|