CompRoughViz Interface

class epyk.interfaces.graphs.CompChartsRoughViz.CompRoughViz(ui)
bar(record=None, y_columns=None, x_axis=None, profile=None, width=(100, '%'), height=(330, 'px'), options=None, html_code=None)

Create a roughViz bar component.

Related Pages:

Parameters:
  • record – List. Optional. The list of dictionaries with the input data.

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

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

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

  • width – Tuple. Optional. The width of the component in the page, default (100, ‘%’).

  • height – Tuple. Optional. The height of the component in the page, default (330, “px”).

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

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

donut(record=None, y_columns=None, x_axis=None, profile=None, width=(100, '%'), height=(330, 'px'), options=None, html_code=None)

Create a roughViz donut component.

Related Pages:

Parameters:
  • record – List. Optional. The list of dictionaries with the input data.

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

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

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

  • width – Tuple. Optional. The width of the component in the page, default (100, ‘%’).

  • height – Tuple. Optional. The height of the component in the page, default (330, “px”).

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

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

hbar(record=None, y_columns=None, x_axis=None, profile=None, width=(100, '%'), height=(330, 'px'), options=None, html_code=None)

Create a roughViz Horizontal bar component.

Related Pages:

Parameters:
  • record – List. Optional. The list of dictionaries with the input data.

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

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

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

  • width – Tuple. Optional. The width of the component in the page, default (100, ‘%’).

  • height – Tuple. Optional. The height of the component in the page, default (330, “px”).

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

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

line(record=None, y_columns=None, x_axis=None, profile=None, width=(100, '%'), height=(330, 'px'), options=None, html_code=None)

Create a roughViz line component.

Related Pages:

TODO: Find answer for https://stackoverflow.com/questions/67456146/input-data-for-line-chart-in-roughviz

Parameters:
  • record – List. Optional. The list of dictionaries with the input data.

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

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

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

  • width – Tuple. Optional. The width of the component in the page, default (100, ‘%’).

  • height – Tuple. Optional. The height of the component in the page, default (330, “px”).

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

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

pie(record=None, y_columns=None, x_axis=None, profile=None, width=(100, '%'), height=(330, 'px'), options=None, html_code=None)

Create a roughViz pie component.

Related Pages:

Parameters:
  • record – List. Optional. The list of dictionaries with the input data.

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

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

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

  • width – Tuple. Optional. The width of the component in the page, default (100, ‘%’).

  • height – Tuple. Optional. The height of the component in the page, default (330, “px”).

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

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

plot(record=None, y=None, x=None, kind='line', profile=None, width=(100, '%'), height=(330, 'px'), options=None, html_code=None)

Create a roughViz chart component.

Related Pages:

Tags:

Categories:

Related Pages:

Parameters:
  • record – List. Optional. The list of dictionaries with the input data.

  • y – List | String. Optional. The columns corresponding to keys in the dictionaries in the record.

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

  • kind – String. Optional. The chart type.

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

  • width – Tuple. Optional. The width of the component in the page, default (100, ‘%’).

  • height – Tuple. Optional. The height of the component in the page, default (330, “px”).

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

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

scatter(record=None, y_columns=None, x_axis=None, profile=None, width=(100, '%'), height=(330, 'px'), options=None, html_code=None)

Create a roughViz scatter component.

Related Pages:

Parameters:
  • record – List. Optional. The list of dictionaries with the input data.

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

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

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

  • width – Tuple. Optional. The width of the component in the page, default (100, ‘%’).

  • height – Tuple. Optional. The height of the component in the page, default (330, “px”).

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

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