Skip to content

API Reference parrot.outputs.formats.echarts

github-actions[bot] edited this page Dec 2, 2026 · 4 revisions

parrot.outputs.formats.echarts

View source

Alias BaseChart

Re-exported from parrot.outputs.formats.chart.BaseChart.

Attribute ECHARTS_BASE_PROMPT

Attribute ECHARTS_SYSTEM_PROMPT

Alias EChartsMapsMixin

Re-exported from parrot.outputs.formats.mixins.emaps.EChartsMapsMixin.

Class EChartsRenderer

Renderer for Apache ECharts (JSON Configuration)

Method EChartsRenderer.execute_code

Parse and validate ECharts JSON configuration.

execute_code(code: str, pandas_tool: Any = None, **kwargs) -> Tuple[Any, Optional[str]]

Parameter Type Default Description
code str
pandas_tool Any None
**kwargs {}

Returns: Tuple[Any, Optional[str]]

Method EChartsRenderer.to_html

Convert ECharts to HTML.

to_html(chart_obj: Any, mode: str = 'partial', **kwargs) -> str

Parameter Type Default Description
chart_obj Any
mode str 'partial'
**kwargs {}

Returns: str

Method EChartsRenderer.render

Render ECharts visualization.

render(response: Any, theme: str = 'monokai', environment: str = 'html', include_code: bool = False, html_mode: str = 'partial', **kwargs) -> Tuple[Any, Optional[Any]]

Parameter Type Default Description
response Any
theme str 'monokai'
environment str 'html'
include_code bool False
html_mode str 'partial'
**kwargs {}

Returns: Tuple[Any, Optional[Any]]

Attribute IPYWIDGETS_AVAILABLE

Alias OutputMode

Re-exported from parrot.models.outputs.OutputMode.

Attribute RICH_AVAILABLE

Alias get_echarts_system_prompt_with_geo

Re-exported from parrot.outputs.formats.mixins.emaps.get_echarts_system_prompt_with_geo.

Attribute logger

Alias register_renderer

Re-exported from parrot.outputs.formats.register_renderer.

Architecture

Clients

Bots & Agents

Memory

Knowledge

Tools & Toolkits

Flows

Experts

Skills

Stores & Loaders

MCP & A2A

Server & APIs

Integrations

Outputs & A2UI

Prompts

Security

Operations

Migration

SDD Tooling

LLM Wiki

Deployment

Decisions

API Reference

Clone this wiki locally