Commit c2856926 by Alexander Zobnin Committed by Torkel Ödegaard

fix(graph): fix X axis value selection. (#6145)

parent 75311e06
......@@ -58,7 +58,9 @@ export class AxesEditorCtrl {
}
xAxisOptionChanged() {
this.panelCtrl.processor.setPanelDefaultsForNewXAxisMode();
if (!this.panel.xaxis.values || !this.panel.xaxis.values[0]){
this.panelCtrl.processor.setPanelDefaultsForNewXAxisMode();
}
this.panelCtrl.onDataReceived(this.panelCtrl.dataList);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment