def nvd3(self): """ Description: ------------ Interface to NVD3 data transformation. This will convert Python object to input data for NVD3 charts. :rtype: DataPy.NVD3 """ return DataPy.NVD3()
def google(self): """ Description: ------------ Interface to Google data transformation. This will convert Python object to input data for Google charts. :rtype: DataPy.Google """ return DataPy.Google()
def plotly(self): """ Description: ------------ Interface to Plotly data transformation. This will convert Python object to input data for Plotly charts. :rtype: DataPy.Plotly """ return DataPy.Plotly()
def bb(self): """ Description: ------------ Interface to Billboard data transformation. This will convert Python object to input data for Billboard charts. :rtype: DataPy.C3 """ return DataPy.C3()
def chartJs(self): """ Description: ------------ Interface to chartJs data transformation. This will convert Python object to input data for chartJs charts. :rtype: DataPy.ChartJs """ return DataPy.ChartJs()
# -*- coding: utf-8 -*- import json import sys from epyk.core.data import Data from epyk.core.data import DataPy from epyk.core.data import DataEvent from epyk.core.js.objects.JsData import Datamap from epyk.core.js.JsLocation import URLSearchParams # Shortcut data in the framework. # All those features are available in the report object but this allow a shortcut when the context is not necessary chartJs = DataPy.ChartJs() plotly = DataPy.Plotly() vis = DataPy.Vis() nvd3 = DataPy.NVD3() c3 = DataPy.C3() bb = DataPy.C3() google = DataPy.Google() datatable = DataPy.Datatable()
def google(self): return DataPy.Google()
def bb(self): return DataPy.C3()
def nvd3(self): return DataPy.NVD3()
def c3(self): return DataPy.C3()
def plotly(self): return DataPy.Plotly()
def chartJs(self): return DataPy.ChartJs()
def vis(self): return DataPy.Vis()
#!/usr/bin/python # -*- coding: utf-8 -*- import json import sys from epyk.core.data import Data from epyk.core.data import DataPy from epyk.core.data import DataEvent from epyk.core.js.objects.JsData import Datamap from epyk.core.js.JsLocation import URLSearchParams # Shortcut data in the framework. # All those features are available in the report object but this allow a shortcut when the context is not necessary chartJs = DataPy.ChartJs() apexCharts = DataPy.ChartJs() plotly = DataPy.Plotly() vis = DataPy.Vis() nvd3 = DataPy.NVD3() c3 = DataPy.C3() bb = DataPy.C3() google = DataPy.Google()