GraphVega Module
- class epyk.core.html.graph.GraphVega.VegaEmdedCharts(report, data, width, height, html_code, options, profile)
- build(data: Union[str, JsDataModel, float, dict, list, bool] = None, options: Optional[Union[bool, dict]] = None, profile: Optional[Union[bool, dict]] = False, component_id: str = None, stop_state: bool = True, dataflows: List[dict] = None) str
Update the chart with context and / or data changes.
- Parameters:
data – List. Optional. The full datasets object expected by ChartJs.
options – Dictionary. Optional. Specific Python options available for this component.
profile – Boolean | Dictionary. Optional. A flag to set the component performance storage.
component_id – String. Not used.
stop_state – Remove the top panel for the component state (error, loading…)
dataflows – Chain of data transformations
- property chartId
Return the Javascript variable of the chart.
- define(options: Optional[Union[str, JsDataModel, float, dict, list, bool]] = None, dataflows: Optional[List[dict]] = None) str
Not yet defined for this chart
- property js: VegaChart
JavaScript Vega Chart reference API.
Related Pages:
- Returns:
A Javascript object
- property vega: Vega
JavaScript Vega Chart reference API.
Related Pages:
- Returns:
A Javascript object