Vis2D Interface

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

Categories:

Usage:

Related Pages:

http://www.chartjs.org/
Parameters:
  • record – List of dict. The Python 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.

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

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

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

Graph2d is an interactive visualization chart to draw data in a 2D graph. You can freely move and zoom in the graph by dragging and scrolling in the window.

Graph2d uses HTML DOM and SVG for rendering. This allows for flexible customization using css styling.

Tags:

Categories:

Usage:

Related Pages:

http://www.chartjs.org/
https://visjs.github.io/vis-timeline/examples/graph2d/16_bothAxisTitles.html
Parameters:
  • record – List of dict. The Python 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.

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

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

  • 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).

network(profile=None, width=(100, '%'), height=(330, 'px'), options=None, html_code=None)
Tags:

Categories:

Usage:

:param profile: Boolean | Dictionary. Optional. A flag to set the component performance storage.
:param width: Tuple. Optional. A tuple with the integer for the component width and its unit.
:param height: Tuple. Optional. A tuple with the integer for the component height and its unit.
:param options: Dictionary. Optional. Specific Python options available for this component.
:param 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)
Tags:

Categories:

Usage:

:param record: List. Optional. The list of dictionaries with the input data.
:param y: List | String. Optional. The columns corresponding to keys in the dictionaries in the record.
:param x: String. Optional. The column corresponding to a key in the dictionaries in the record.
:param kind: String. Optional. The chart type.
:param profile: Boolean | Dictionary. Optional. A flag to set the component performance storage.
:param width: Tuple. Optional. The width of the component in the page, default (100, '%').
:param height: Tuple. Optional. The height of the component in the page, default (330, "px").
:param options: Dictionary. Optional. Specific Python options available for this component.
:param html_code: String. Optional. An identifier for this component (on both Python and Javascript side).
scatter(record, y_columns=None, x_axis=None, profile=None, width=(100, '%'), height=(330, 'px'), options=None, html_code=None)
Tags:

Categories:

Usage:

Related Pages:

http://www.chartjs.org/
Parameters:
  • record – List of dict. The Python 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.

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

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

  • 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).

timeline(record=None, start=None, content=None, end=None, type=None, group=None, profile=None, width=(100, '%'), height=(330, 'px'), options=None, html_code=None)
Tags:

Categories:

Usage:

Related Pages:

http://www.chartjs.org/
Parameters:
  • record

  • start

  • content

  • end

  • type

  • group

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

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

  • 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).