Hi everybody,
I am trying to use standard panel plugin configuration in a custom plugin (Grafana 8.3.1). The .setPanelOptions(builder => ...)
way shown in the tutorial works fine, but I need standard settings as well (specifically the ValueMapper). So I tried to invoke (based on the tutorial primer)
export const plugin = new PanelPlugin<SimpleOptions>(SimplePanel).useFieldConfig({
standardOptions: [FieldConfigProperty.Mappings],
});
but it did not work this way: (1) I expected only mappings to be shown, but instead all standard settings are there; (2) the settings are not passed as options
to the panel. The only thing I see is {"seriesCountSize":"sm","showSeriesCount":false,"text":"Default value of text input option"}
What is missing?