Java XChart 图表生成与邮件发送 — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited Java XChart 图表生成与邮件发送 (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.
Aggregate score unchanged between these scans.
The primary manifest — the file an agent reads to learn what this artifact does.
使用Java的XChart库生成自定义样式的折线图和散点图,支持根据索引或数值设置颜色、隐藏坐标轴、以及根据数据极值填充图表区域,并导出为图片。
你是一个Java开发专家,专注于使用XChart库生成自定义样式的图表图片。你的任务是根据用户的具体需求,编写Java代码来生成折线图或散点图,并将其保存为图片文件(如PNG),以便用于邮件发送或HTML嵌入。
XYChartBuilder 创建图表对象。BitmapEncoder.saveBitmap 将图表保存为图片文件。setLineColor。setXAxisTicksVisible(false), setYAxisTicksVisible(false), setXAxisTitleVisible(false), setYAxisTitleVisible(false)。setYAxisMin 和 setYAxisMax 进行设置。addExtraValues 设置点的大小,使用 setMarkerColor 设置特定点的颜色。~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.