Skip to content

Replace Damage Envelope graph with Application Profile graph#2779

Open
GET-R3AL wants to merge 2 commits into
pyfa-org:masterfrom
GET-R3AL:Application-Profile-Fix
Open

Replace Damage Envelope graph with Application Profile graph#2779
GET-R3AL wants to merge 2 commits into
pyfa-org:masterfrom
GET-R3AL:Application-Profile-Fix

Conversation

@GET-R3AL

@GET-R3AL GET-R3AL commented Jun 22, 2026

Copy link
Copy Markdown

Swaps out the old Damage Envelope graph for a new Application Profile graph. Instead of graphing a single segment it draws each ammo as its own segment, so you can see where one ammo overtakes another and read the ammo type at each distance.

New options in the control panel (only show up for this graph):

  • Ammo Style (None/Pattern/Color) for how segments are drawn
  • Ammo Meta (T1/Navy/All) to limit which charges get considered
  • The distance axis now defaults to the fit's actual weapon range instead of a flat 0–100km

There's also per-segment legend/coloring on the canvas, and the source list auto-switches to Pattern style when multiple fits use the same weapon class so you can still tell them apart. Added Apply Projected Effects / Ignore Target Resists context menu options for this graph too, with their own settings keys.

The new code lives in graphs/data/fitApplicationProfile/ (getter/graph + calc helpers for the turret/launcher math, ammo selection, etc.), and the old fitDamageEnvelope module is removed.

pyfa_5nHBVNCkoG pyfa_ofare0vD6s pyfa_Uf0yBWFivJ

Added White Text Outlines & Offsetting to the X Axis Indicator for improved legibility

xaxis_indicator_text

The new graph plots optimal-ammo DPS/volley versus distance, selecting
the best charge at each range and drawing each ammo as its own segment.

- graphs/data/fitApplicationProfile: new getter/graph and calc helpers
  (turret/launcher hit math, ammo optimization, projected effects, charge
  filtering); removes the old fitDamageEnvelope module
- Canvas: segmented plotting with per-segment legend and ammo styling
- Control panel: Ammo Style (None/Pattern/Color) and Ammo Meta (T1/Navy/All)
  dropdowns; dynamic distance range derived from fit weapon ranges
- Lists: auto-switch ammo style on weapon-class conflicts; refreshDefaultColumns
- Context menus: Apply Projected Effects / Ignore Target Resists for the new graph
- service/settings: add ammoOptimalApplyProjected and ammoOptimalIgnoreResists keys
@Skybladev2

Copy link
Copy Markdown
Contributor

I cannot distinguish between added fits, because there are only ammo names on graph. How to understand which graph belongs to which fit?

@GET-R3AL

Copy link
Copy Markdown
Author

I cannot distinguish between added fits, because there are only ammo names on graph. How to understand which graph belongs to which fit?

Fits can be differentiated by the ammo they use. When using fits that use the same ammo, the graph should auto swap to pattern based ammo distinction where the lines are color coded similarly to the traditional graphs.

…uckets to fix bug related to Exotic plasma not having navy variants.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants