Skip to content

Commit 9f1b4e5

Browse files
author
Ariel Silahian
committed
Add dynamic Y-axis support for independent metrics
Enable dynamic Y-axes in charting for independent metrics, allowing series with significantly different value ranges to use separate axes. Refactor chart update logic to distinguish between independent and synchronized metrics. Add IsIndependentMetric property to BaseStudyModel. Update UI with a new chart button and adjust GroupBox padding. Improves chart readability for diverse metric types.
1 parent 3e1d5c1 commit 9f1b4e5

3 files changed

Lines changed: 300 additions & 48 deletions

File tree

UserControls/MetricTileCustomUI.xaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
</ResourceDictionary>
2525
</UserControl.Resources>
2626

27-
<GroupBox Padding="10" VerticalAlignment="Stretch" HorizontalAlignment="Stretch">
27+
<GroupBox Padding="5" VerticalAlignment="Stretch" HorizontalAlignment="Stretch">
2828
<GroupBox.Header>
2929
<Grid>
3030
<!-- Assuming Horizontal alignment of controls -->
@@ -36,6 +36,7 @@
3636
<!-- Title Label -->
3737
<Button Content="" Grid.Column="0" VerticalAlignment="Top" HorizontalAlignment="Left" Width="20" Height="20" Margin="0 0 0 0" Padding="0" ToolTip="Settings" Command="{Binding OpenSettingsCommand}" />
3838
<TextBlock Text="{Binding Title}" Grid.Column="0" VerticalAlignment="Center" Margin="25 0 0 0"/>
39+
<Button Content="📈" Grid.Column="1" VerticalAlignment="Top" HorizontalAlignment="Right" Width="20" Height="20" Margin="0" Padding="0" ToolTip="Open Chart" Command="{Binding OpenChartCommand}" />
3940
</Grid>
4041
</GroupBox.Header>
4142

0 commit comments

Comments
 (0)