Steps to reproduce:
- Navigate to Configuration -> Hosts -> Graphs.
- Press Create graph.
- Change Graph type from Normal to Pie or Exploded.
- Switch to the Preview tab.
A spinning wheel being displayed and never finish loading.
A message similar to the one displayed for normal and stacked graphs without items: "No items defined".