change pnl defaults to use 'Mid' calc type and hide Selected/Total headers

This commit is contained in:
John Colvin committed 2019-09-16 13:55:13 -05:00
1 parent e25514b75e
commit 02c8714cfd
1 file changed
+3 -3
@@ -89,8 +89,8 @@ namespace bts.shell.pnl {
has_day_trades = new[] { true }
},
grid = DefaultGridSettings,
calculation_type = PNLCalculationType.Waterfall,
header_row_display = PNLHeaderRowDisplay.Total,
calculation_type = PNLCalculationType.Mid,
header_row_display = PNLHeaderRowDisplay.None,
_anchors = new[] { Columns.Account, Columns.Symbol },
_group_background_colors = BTSColors.PNL.group_alternating_background_colors.Select(c => c.rgb_color()).ToList(),
_group_cell_appearance = new PNLCellAppearanceProto {
@@ -486,4 +486,4 @@ namespace bts.shell.pnl {
public static IReadOnlyList<IPNLAnimationTrigger<PNLNormalizedData>> group_triggers(this PNLSettings settings) => settings.group_header_animations.Select(a => a.to_trigger<PNLNormalizedData>()).ToList();
public static IReadOnlyList<IPNLAnimationTrigger<PNLNormalizedData>> header_triggers(this PNLSettings settings) => settings.header_row_animations.Select(a => a.to_trigger<PNLNormalizedData>()).ToList();
}
}
}