Beispiel #1
0
    def js(self):
        """
    Description:
    -----------

    :rtype: JsVis.VisGraph3D
    """
        if self._js is None:
            self._js = JsVis.VisGraph3D(self._report, varName=self.chartId)
        return self._js
Beispiel #2
0
  def js(self) -> JsVis.VisGraph3D:
    """
    Description:
    -----------
    Return all the Javascript functions defined in the framework.
    THis is an entry point to the full Javascript ecosystem.

    Usage::

    :rtype: JsVis.VisGraph3D
    """
    if self._js is None:
      self._js = JsVis.VisGraph3D(component=self, page=self.page, js_code=self.chartId)
    return self._js
Beispiel #3
0
    def js(self):
        """
    Description:
    -----------
    Javascript base function

    Return all the Javascript functions defined in the framework.
    THis is an entry point to the full Javascript ecosystem.

    :return: A Javascript object

    :rtype: JsVis.VisGraph3D
    """
        if self._js is None:
            self._js = JsVis.VisGraph3D(selector="window['%s']" % self.chartId,
                                        src=self)
        return self._js