web_chart_render#
API documentation for tradeexecutor.webhook.api.web_chart_render Python function.
- web_chart_render(request)[source]#
/chart-registry/render endpoint.
Return chart data for the frontend rendering.
Can generate text/html, text/plain, image/png or image/svg response
Sets X-Error header if there was an error rendering the chart, then having traceback as the payload
- Returns:
HTML or PNG or SVG image data for the chart.
- Parameters:
request (Request) –