mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Refactor declarative series configuration to a config builder (#29106)
* Wip: refactor declarative series configuration to a config builder * Fix plugins initialization * Config builder reorg and tests * Typecheck * Update packages/grafana-ui/src/components/uPlot/context.ts * Scales config tweak * Temp disable tests * Disable some tests temporarily
This commit is contained in:
@@ -28,8 +28,8 @@ export const GraphPanel: React.FC<GraphPanelProps> = ({
|
||||
<TooltipPlugin mode={options.tooltipOptions.mode as any} timeZone={timeZone} />
|
||||
<ZoomPlugin onZoom={onChangeTimeRange} />
|
||||
<ContextMenuPlugin />
|
||||
{data.annotations && <ExemplarsPlugin exemplars={data.annotations} timeZone={timeZone} />}
|
||||
{data.annotations && <AnnotationsPlugin annotations={data.annotations} timeZone={timeZone} />}
|
||||
{data.annotations ? <ExemplarsPlugin exemplars={data.annotations} timeZone={timeZone} /> : <></>}
|
||||
{data.annotations ? <AnnotationsPlugin annotations={data.annotations} timeZone={timeZone} /> : <></>}
|
||||
</GraphNG>
|
||||
);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user