Improved Support for Word Clouds

This commit is contained in:
马一丁
2025-11-27 03:10:30 +08:00
parent e362ef6bdc
commit 2a5d984aeb
3 changed files with 354 additions and 142 deletions
+5
View File
@@ -167,6 +167,11 @@ class ChartToSVGConverter:
return None
# 根据图表类型调用相应的渲染方法
if 'wordcloud' in str(chart_type).lower():
# 词云由专用渲染逻辑处理,这里跳过SVG转换以避免告警
logger.debug("检测到词云图表,跳过chart_to_svg转换")
return None
render_method = getattr(self, f'_render_{chart_type}', None)
if not render_method:
logger.warning(f"不支持的图表类型: {chart_type}")