LLM with PIE chart: inputs numbers with characters like number XY%,€,£,$ crash mermaid. #5990
Labels
Status: Triage
Needs to be verified, categorized, etc
Type: Bug / Error
Something isn't working or is incorrect
Description
Mermaid should allow value numbers with "%,$€,£, K, M, B" and ignore those characters to render and take into account only the numerical value
Steps to reproduce
A pie diagram with value generated via LLM frequently include all the %,€,£, coming from any top LLM. Mermaid should tolerate the % and ignore it just to
pie title Pets adopted by volunteers
"Dogs" : 30%
"Cats" : 30%
"Rats" : 40%
Screenshots
No response
Code Sample
No response
Setup
Suggested Solutions
No response
Additional Context
No response
The text was updated successfully, but these errors were encountered: