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:

Related Pages:

Parameters:
  • record – List of dict. Optional. The Python list of dictionaries.

  • y_columns – List. Optional. The columns corresponding to keys in the dictionaries in the record.

  • x_axis – String. Optional. The column corresponding to a key in the dictionaries in the record.

  • title – String. Optional. The chart title.

  • profile – Boolean | Dictionary. Optional. A flag to set the component performance storage.

  • options – Dictionary. Optional. Specific Python options available for this component.

  • width – Tuple. Optional. A tuple with the integer for the component width and its unit.

  • height – Tuple. Optional. A tuple with the integer for the component height and its unit.

  • html_code – String. 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:

Related Pages:

Parameters:
  • record – List of dict. Optional. The Python list of dictionaries.

  • y_columns – List. Optional. The columns corresponding to keys in the dictionaries in the record.

  • x_axis – String. Optional. The column corresponding to a key in the dictionaries in the record.

  • r_axis – String. Optional. The column corresponding to a key in the dictionaries in the record.

  • title – String. Optional. The chart title.

  • profile – Boolean | Dictionary. Optional. A flag to set the component performance storage.

  • options – Dictionary. Optional. Specific Python options available for this component.

  • width – Tuple. Optional. A tuple with the integer for the component width and its unit.

  • height – Tuple. Optional. A tuple with the integer for the component height and its unit.

  • html_code – String. 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:

Related Pages:

Parameters:
  • record – List of dict. Optional. The Python list of dictionaries.

  • y_columns – List. Optional. The columns corresponding to keys in the dictionaries in the record.

  • x_axis – String. Optional. The column corresponding to a key in the dictionaries in the record.

  • title – String. Optional. The chart title.

  • profile – Boolean | Dictionary. Optional. A flag to set the component performance storage.

  • options – Dictionary. Optional. Specific Python options available for this component.

  • width – Tuple. Optional. A tuple with the integer for the component width and its unit.

  • height – Tuple. Optional. A tuple with the integer for the component height and its unit.

  • html_code – String. 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: Union[tuple, int, str] = (100, '%'), height: 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

  • 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:

Related Pages:

Parameters:
  • record – List of dict. Optional. The Python list of dictionaries.

  • y_columns – List. Optional. The columns corresponding to keys in the dictionaries in the record.

  • x_axis – String. Optional. The column corresponding to a key in the dictionaries in the record.

  • title – String. Optional. The chart title.

  • profile – Boolean | Dictionary. Optional. A flag to set the component performance storage.

  • options – Dictionary. Optional. Specific Python options available for this component.

  • width – Tuple. Optional. A tuple with the integer for the component width and its unit.

  • height – Tuple. Optional. A tuple with the integer for the component height and its unit.

  • html_code – String. 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: Union[tuple, int, str] = (100, '%'), height: 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:

Related Pages:

Parameters:
  • record – List of dict. Optional. The Python list of dictionaries.

  • y_columns – List. Optional. The columns corresponding to keys in the dictionaries in the record.

  • x_axis – String. Optional. The column corresponding to a key in the dictionaries in the record.

  • title – String. Optional. The chart title.

  • profile – Boolean | Dictionary. Optional. A flag to set the component performance storage.

  • options – Dictionary. Optional. Specific Python options available for this component.

  • width – Tuple. Optional. A tuple with the integer for the component width and its unit.

  • height – Tuple. Optional. A tuple with the integer for the component height and its unit.

  • html_code – String. 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: Union[tuple, int, str] = (100, '%'), height: 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, varName, extra_cols=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 varName:
: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 – List of dict. Optional. The Python list of dictionaries.

  • y_columns – List. Optional. The columns corresponding to keys in the dictionaries in the record.

  • x_axis – String. Optional. The column corresponding to a key in the dictionaries in the record.

  • title – String. Optional. The chart title.

  • profile – Boolean | Dictionary. Optional. A flag to set the component performance storage.

  • options – Dictionary. Optional. Specific Python options available for this component.

  • width – Tuple. Optional. A tuple with the integer for the component width and its unit.

  • height – Tuple. Optional. A tuple with the integer for the component height and its unit.

  • html_code – String. 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 – List. Optional. The columns corresponding to keys in the dictionaries in the record.

  • x_axis – String. Optional. The column corresponding to a key in the dictionaries in the record.

  • title – String. Optional. The chart title.

  • profile – Boolean | Dictionary. Optional. A flag to set the component performance storage.

  • options – Dictionary. Optional. Specific Python options available for this component.

  • width – Tuple. Optional. A tuple with the integer for the component width and its unit.

  • height – Tuple. Optional. A tuple with the integer for the component height and its unit.

  • html_code – String. Optional. An identifier for this component (on both Python and Javascript side).