パッケージ visualization
クラス HtmlReportGenerator
java.lang.Object
visualization.HtmlReportGenerator
Generates an interactive HTML simulation report containing DPS metrics,
damage charts (pie and line), character stat snapshots over time,
artifact substat allocations, and a detailed combat timeline.
The generated report uses Chart.js for data visualization and supports a time-slider to view character stats and active buffs at any point during the simulation.
-
コンストラクタの概要
コンストラクタ -
メソッドの概要
修飾子とタイプメソッド説明static voidgenerate(String filePath, List<SimulationRecord> records, CombatSimulator sim) Generates the HTML report without stat history tracking.static voidgenerate(String filePath, List<SimulationRecord> records, CombatSimulator sim, List<StatsSnapshot> statsHistory) Generates the complete HTML report, including the interactive stat tracker if history snapshots are provided.
-
コンストラクタの詳細
-
HtmlReportGenerator
public HtmlReportGenerator()
-
-
メソッドの詳細
-
generate
Generates the HTML report without stat history tracking. This is a convenience method that delegates togenerate(String, List, CombatSimulator, List)with a null history.- パラメータ:
filePath- destination file path for the generated HTMLrecords- list of simulation events/records to visualizesim- the combat simulator that produced the records
-
generate
public static void generate(String filePath, List<SimulationRecord> records, CombatSimulator sim, List<StatsSnapshot> statsHistory) Generates the complete HTML report, including the interactive stat tracker if history snapshots are provided.- パラメータ:
filePath- destination file path for the generated HTMLrecords- list of simulation events/records to visualize in the timelinesim- the combat simulator that produced the recordsstatsHistory- optional list of stat snapshots for the timeline slider; ifnull, the interactive stat tracker is omitted
-