You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
[FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
Please do not modify this template :) and fill in all the required fields.
Dify version
0.10.2
Cloud or Self Hosted
Self Hosted (Source)
Steps to reproduce
When creating bar charts using the built-in tool, duplicate labels on the x-axis are automatically filtered out, leading to potential misrepresentation of the data on the chart.
@llinvokerl Hello! I'm here to help you with your bug report. I can assist you in solving bugs, answering questions, and becoming a contributor while you wait for a human maintainer.
The bar_chart tool does not explicitly handle duplicate x-axis labels in the code. The matplotlib library, which is used for rendering charts, will display x-axis labels as provided, including duplicates. If duplicates are being filtered out, it might be due to some other part of the code or a misunderstanding of how the data is being processed. The current implementation does not include logic to filter out or ignore duplicate x-axis labels [1].
Self Checks
Dify version
0.10.2
Cloud or Self Hosted
Self Hosted (Source)
Steps to reproduce
When creating bar charts using the built-in tool, duplicate labels on the x-axis are automatically filtered out, leading to potential misrepresentation of the data on the chart.
Inputs: {'data': '150;100;200;250', 'x_axis': 'a;b;a;b'}
✔️ Expected Behavior
❌ Actual Behavior
The text was updated successfully, but these errors were encountered: