DC Interface
- class epyk.interfaces.graphs.CompChartsDc.DC(ui)
- bar(record=None, y_columns=None, x_axis=None, title=None, profile=None, options=None, width=(100, '%'), height=(330, 'px'), html_code=None)
- Tags:
- Categories:
Usage:
from epyk.mocks import randoms data = randoms.getSeries(5, 30) bar = page.ui.charts.dc.hbar(data[:10], y_columns=4, x_axis='x')
Related Pages:
- Parameters:
record – Optional. The Python list of dictionaries
y_columns – Optional. The columns corresponding to keys in the dictionaries in the record
x_axis – Optional. The column corresponding to a key in the dictionaries in the record
title – Optional. The chart title
profile – Optional. A flag to set the component performance storage
options – Optional. Specific Python options available for this component
width – Optional. A tuple with the integer for the component width and its unit
height – Optional. A tuple with the integer for the component height and its unit
html_code – Optional. An identifier for this component (on both Python and Javascript side)
- bubble(record=None, y_columns=None, x_axis=None, r_axis=None, title=None, profile=None, options=None, width=(100, '%'), height=(330, 'px'), html_code=None)
- Tags:
- Categories:
Usage:
from epyk.mocks import randoms data = randoms.getSeries(5, 30) bubble = page.ui.charts.dc.bubble(data, y_columns=3, x_axis='x', r_axis=4, options={'statc_factor': '/10'})
Related Pages:
- Parameters:
record – Optional. The Python list of dictionaries
y_columns – Optional. The columns corresponding to keys in the dictionaries in the record
x_axis – Optional. The column corresponding to a key in the dictionaries in the record
r_axis – Optional. The column corresponding to a key in the dictionaries in the record
title – Optional. The chart title
profile – Optional. A flag to set the component performance storage
options – Optional. Specific Python options available for this component
width – Optional. A tuple with the integer for the component width and its unit
height – Optional. A tuple with the integer for the component height and its unit
html_code – Optional. An identifier for this component (on both Python and Javascript side)
- hbar(record=None, y_columns=None, x_axis=None, title=None, profile=None, options=None, width=(100, '%'), height=(330, 'px'), html_code=None)
- Tags:
- Categories:
Usage:
from epyk.mocks import randoms data = randoms.getSeries(5, 30) hbar = page.ui.charts.dc.hbar(data[:10], y_columns=4, x_axis='x')
Related Pages:
- Parameters:
record – Optional. The Python list of dictionaries
y_columns – Optional. The columns corresponding to keys in the dictionaries in the record
x_axis – Optional. The column corresponding to a key in the dictionaries in the record
title – Optional. The chart title
profile – Optional. A flag to set the component performance storage
options – Optional. Specific Python options available for this component
width – Optional. A tuple with the integer for the component width and its unit
height – Optional. A tuple with the integer for the component height and its unit
html_code – Optional. An identifier for this component (on both Python and Javascript side)
- line(record=None, y_columns=None, x_axis: Optional[str] = None, title: Optional[str] = None, profile: Optional[Union[bool, dict]] = None, options: Optional[Union[bool, dict]] = None, width: Optional[Union[tuple, int, str]] = (100, '%'), height: Optional[Union[tuple, int, str]] = (330, 'px'), html_code: Optional[str] = None)
- Tags:
- Categories:
Usage:
from epyk.mocks import randoms data = randoms.getSeries(5, 30) line = page.ui.charts.dc.line(data, y_columns=[1, 2], x_axis='x')
Related Pages:
- Parameters:
record – Optional. The Python list of dictionaries
y_columns – Optional. The columns corresponding to keys in the dictionaries in the record
x_axis – Optional. The column corresponding to a key in the dictionaries in the record
title – Optional. The chart title
profile – Optional. A flag to set the component performance storage
width – Optional. A tuple with the integer for the component width and its unit
height – Optional. A tuple with the integer for the component height and its unit
options – Optional. Specific Python options available for this component
html_code – Optional. An identifier for this component (on both Python and Javascript side)
- pie(record=None, y_columns=None, x_axis=None, title=None, profile=None, options=None, width=(100, '%'), height=(330, 'px'), html_code=None)
- Tags:
- Categories:
Usage:
from epyk.mocks import randoms data = randoms.getSeries(5, 30) pie = page.ui.charts.dc.pie(data[:5], y_columns=3, x_axis='x')
Related Pages:
- Parameters:
record – Optional. The Python list of dictionaries
y_columns – Optional. The columns corresponding to keys in the dictionaries in the record
x_axis – Optional. The column corresponding to a key in the dictionaries in the record
title – Optional. The chart title
profile – Optional. A flag to set the component performance storage
options – Optional. Specific Python options available for this component
width – Optional. A tuple with the integer for the component width and its unit
height – Optional. A tuple with the integer for the component height and its unit
html_code – Optional. An identifier for this component (on both Python and Javascript side)
- plot(record=None, y=None, x=None, kind: str = 'line', profile: Optional[Union[bool, dict]] = None, width: Optional[Union[tuple, int, str]] = (100, '%'), height: Optional[Union[tuple, int, str]] = (330, 'px'), options: Optional[Union[bool, dict]] = None, html_code: Optional[str] = None)
- Tags:
- Categories:
Usage:
:param record: Optional. The list of dictionaries with the input data :param y: Optional. The columns corresponding to keys in the dictionaries in the record :param x: Optional. The column corresponding to a key in the dictionaries in the record :param kind: Optional. The chart type :param profile: Optional. A flag to set the component performance storage :param width: Optional. The width of the component in the page, default (100, '%') :param height: Optional. The height of the component in the page, default (330, "px") :param options: Optional. Specific Python options available for this component :param html_code: Optional. An identifier for this component (on both Python and Javascript side)
- scatter(record=None, y_columns=None, x_axis=None, title=None, profile=None, options=None, width=(100, '%'), height=(330, 'px'), html_code=None)
- Tags:
- Categories:
Usage:
from epyk.mocks import randoms data = randoms.getSeries(5, 30) scatter = page.ui.charts.dc.scatter(data, y_columns=[2, 4], x_axis='x')
Related Pages:
- Parameters:
record – Optional. The Python list of dictionaries
y_columns – Optional. The columns corresponding to keys in the dictionaries in the record
x_axis – Optional. The column corresponding to a key in the dictionaries in the record
title – Optional. The chart title
profile – Optional. A flag to set the component performance storage
options – Optional. Specific Python options available for this component
width – Optional. A tuple with the integer for the component width and its unit
height – Optional. A tuple with the integer for the component height and its unit
html_code – Optional. An identifier for this component (on both Python and Javascript side)
- series(record=None, y_columns=None, x_axis=None, series_type: str = 'line', title: Optional[str] = None, profile: Optional[Union[bool, dict]] = None, options: Optional[Union[bool, dict]] = None, width: Optional[Union[tuple, int, str]] = (100, '%'), height: Optional[Union[tuple, int, str]] = (330, 'px'), html_code: Optional[str] = None)
- Tags:
- Categories:
Usage:
Related Pages:
- Parameters:
record – Optional. The Python list of dictionaries
y_columns – Optional. The columns corresponding to keys in the dictionaries in the record
x_axis – Optional. The column corresponding to a key in the dictionaries in the record
series_type – Optional.
title – Optional. The chart title
profile – Optional. A flag to set the component performance storage
options – Optional. Specific Python options available for this component
width – Optional. A tuple with the integer for the component width and its unit
height – Optional. A tuple with the integer for the component height and its unit
html_code – Optional. An identifier for this component (on both Python and Javascript side)
- set_crossfilter(record, y_columns, x_axis: List[str], var_name: str, extra_cols: Optional[List[Any]] = None)
Set a crossfilter object and add the dimensions which will be added to a chart.
- Tags:
- Categories:
Usage:
:param record: The Python list of dictionaries :param y_columns: The columns corresponding to keys in the dictionaries in the record :param x_axis: The column corresponding to a key in the dictionaries in the record :param var_name: :param extra_cols: Optional.
- step(record=None, y_columns=None, x_axis=None, title=None, profile=None, options=None, width=(100, '%'), height=(330, 'px'), html_code=None)
- Tags:
- Categories:
Usage:
Related Pages:
- Parameters:
record – Optional. The Python list of dictionaries
y_columns – Optional. The columns corresponding to keys in the dictionaries in the record
x_axis – Optional. The column corresponding to a key in the dictionaries in the record
title – Optional. The chart title
profile – Optional. A flag to set the component performance storage
options – Optional. Specific Python options available for this component
width – Optional. A tuple with the integer for the component width and its unit
height – Optional. A tuple with the integer for the component height and its unit
html_code – Optional. An identifier for this component (on both Python and Javascript side)
- sunburst(record=None, y_columns=None, x_axis=None, title=None, profile=None, options=None, width=(100, '%'), height=(330, 'px'), html_code=None)
- Tags:
- Categories:
Usage:
Related Pages:
- Parameters:
record –
y_columns – Optional. The columns corresponding to keys in the dictionaries in the record
x_axis – Optional. The column corresponding to a key in the dictionaries in the record
title – Optional. The chart title
profile – Optional. A flag to set the component performance storage
options – Optional. Specific Python options available for this component
width – Optional. A tuple with the integer for the component width and its unit
height – Optional. A tuple with the integer for the component height and its unit
html_code – Optional. An identifier for this component (on both Python and Javascript side)