|
|
@@ -215,7 +215,7 @@ export class PanelChrome extends PureComponent<Props, State> {
|
|
|
renderPanel(width: number, height: number): JSX.Element {
|
|
|
const { panel, plugin } = this.props;
|
|
|
const { renderCounter, data, isFirstLoad } = this.state;
|
|
|
- const PanelComponent = plugin.vizPlugin.panel;
|
|
|
+ const PanelComponent = plugin.panelPlugin.panel;
|
|
|
|
|
|
// This is only done to increase a counter that is used by backend
|
|
|
// image rendering (phantomjs/headless chrome) to know when to capture image
|
|
|
@@ -236,7 +236,7 @@ export class PanelChrome extends PureComponent<Props, State> {
|
|
|
<PanelComponent
|
|
|
data={data}
|
|
|
timeRange={data.request ? data.request.range : this.timeSrv.timeRange()}
|
|
|
- options={panel.getOptions(plugin.vizPlugin.defaults)}
|
|
|
+ options={panel.getOptions(plugin.panelPlugin.defaults)}
|
|
|
width={width - 2 * config.theme.panelPadding.horizontal}
|
|
|
height={height - PANEL_HEADER_HEIGHT - config.theme.panelPadding.vertical}
|
|
|
renderCounter={renderCounter}
|