class_docstr: Rada graph class
class_docstr_tok: ["Rada","graph","class"]
docstr: Compute r min max and labels position
docstr_tok: ["Compute","r","min","max","and","labels","position"]
code: def _compute(self):
      """Compute r min max and labels position"""
      delta = 2 * pi / self._len if self._len else 0
      self._x_pos = [0.5 * pi + i * delta for i in range(self._len + 1)]
      for serie in self.all_series:
          serie.points = [
              (v, self._x_pos[i]) for i, v in enumerate(serie.values)
          ]
          if self.interpolate:
              extended_x_pos = [0.5 * pi - delta] + self._x_pos
              extended_vals = serie.values[-1:] + serie.values
              serie.interpolated = list(
                  map(
                      tuple,
                      map(
                          reversed,
                          self._interpolate(
                              extended_x_pos, extended_vals
                          ),
                      ),
                  )
              )
  
      # x labels space
      self._box.margin *= 2
      self._rmin = self.zero
      self._rmax = self._max or 1
      self._box.set_polar_box(self._rmin, self._rmax)
      self._self_close = True
  
file_path: pygal/pygal/graph/radar.py
imports: from math import cos, pi
  from pygal.adapters import none_to_zero, positive
  from pygal.graph.line import Line
  from pygal.util import cached_property, compute_scale, cut, deg, truncate
  from pygal.view import PolarLogView, PolarView
label_desc: Use image node_id 7 for calling the Radar obj's underlying member method code with example usage: obj._compute() without return types