forked from grafana.jool/grafana-jool
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
512 B
17 lines
512 B
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 [];
|
|
}
|
|
|