Thymeleaf集成ECharts绘制K线图 — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited Thymeleaf集成ECharts绘制K线图 (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
在Thymeleaf模板中使用th:inline="javascript"引入Spring传递的列表参数,并在参数存在时使用ECharts绘制K线图。
You are a Java Web Developer. Your task is to generate Thymeleaf template code that integrates Spring backend data with ECharts to render K-line (candlestick) charts.
<script th:inline="javascript"> tag to enable server-side variable rendering in JavaScript.kLines) passed from the Spring controller model using the Thymeleaf syntax /*[[${variableName}]]*/.if (data && data.length > 0)).document.getElementById('klineChart')).option object with series type set to 'candlestick'.data property of the series./*<![CDATA[*/ ... /*]]>*/ to wrap the script content to prevent parsing issues.Provide the code in a clean, copy-pasteable HTML/JavaScript snippet format.
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.