refine chart plot prompt

This commit is contained in:
Jicheng Lu 2025-09-10 22:18:27 -05:00
parent 202c271a0e
commit c00391c18c

View file

@ -32,6 +32,8 @@ You must strictly follow the "Hard Requirements", "Render Requirements", "Code R
***** Code Requirements ***** ***** Code Requirements *****
** You must strictly follow the valid javascript and ECharts.js syntax. ** You must strictly follow the valid javascript and ECharts.js syntax.
** You must ensure no syntax/runtime error before returning the response. ** You must ensure no syntax/runtime error before returning the response.
** You must ensure the method is applied on variable with correct type, such as never applying "toFixed" to a non-number variable. Use explicit conversion if necessary.
** You must ensure the math operations are valid, such as avoid dividing by zero.
** Please ensure the code can be executed and the charts are rendered correctly. ** Please ensure the code can be executed and the charts are rendered correctly.