fix send chart colors
MODIFY
WalletWasabi.Fluent/Views/Wallets/Send/SendView.axaml
WalletWasabi.Fluent/Views/Wallets/Send/SendView.axaml
<Setter Property="BorderRadiusX" Value="4" />
<Setter Property="BorderRadiusY" Value="4" />
</Style>
+ <!-- LineChart Area -->
+ <Style Selector="c|LineChart.area">
+ <Setter Property="AreaFill">
+ <LinearGradientBrush StartPoint="50%,0%" EndPoint="50%,100%" Opacity="0.2">
+ <LinearGradientBrush.GradientStops>
+ <GradientStop Offset="0.0" Color="{DynamicResource LineChartAreaGradientStartStopColor}" />
+ <GradientStop Offset="1.0" Color="{DynamicResource LineChartAreaGradientEndStopColor}" />
+ </LinearGradientBrush.GradientStops>
+ </LinearGradientBrush>
+ </Setter>
+ <Setter Property="AreaStroke" Value="{DynamicResource LineChartLineColor}" />
+ </Style>
</UserControl.Styles>
<c:ContentArea Title="Send" Caption=""
EnableBack="{Binding EnableBack}"
<DockPanel>
<Label DockPanel.Dock="Left" Content="_Amount:" Target="amountTb" />
<DockPanel>
- <Image Width="120" Source="avares://WalletWasabi.Fluent/Assets/TechnologyLogos/payjoin.png" DockPanel.Dock="Right" IsVisible="{Binding IsPayJoin}" Margin="0 8 8 0" VerticalAlignment="Top"/>
- <c:CurrencyEntryBox KeyboardNavigation.IsTabStop="{Binding !IsFixedAmount}" x:Name="amountTb" IsReadOnly="{Binding IsFixedAmount}" AmountBtc="{Binding AmountBtc}" ConversionRate="{Binding ExchangeRate}" ConversionCurrencyCode="USD" />
+ <Image Width="120" Source="avares://WalletWasabi.Fluent/Assets/TechnologyLogos/payjoin.png"
+ DockPanel.Dock="Right" IsVisible="{Binding IsPayJoin}" Margin="0 8 8 0" VerticalAlignment="Top" />
+ <c:CurrencyEntryBox KeyboardNavigation.IsTabStop="{Binding !IsFixedAmount}" x:Name="amountTb"
+ IsReadOnly="{Binding IsFixedAmount}" AmountBtc="{Binding AmountBtc}"
+ ConversionRate="{Binding ExchangeRate}" ConversionCurrencyCode="USD" />
</DockPanel>
</DockPanel>
Focusable="True"
Minimum="{Binding XAxisMinValue}"
Maximum="{Binding XAxisMaxValue}"
- Value="{Binding XAxisCurrentValueIndex}">
- </Slider>
+ Value="{Binding XAxisCurrentValueIndex}" />
<c:LineChart x:Name="GradientLineChart"
XAxisPlotMode="EvenlySpaced"
Margin="18,0,18,0"
- Classes="cursor border xAxisLabels yAxis yAxisTitle"
+ Classes="cursor border xAxisLabels yAxis yAxisTitle area"
MinHeight="30"
XAxisLabels="{Binding XAxisLabels}"
XAxisValues="{Binding XAxisValues}"
AreaMinViableWidth="40"
AreaMinViableHeight="20"
Focusable="True"
- YAxisTitle="More Expensive">
- <c:LineChart.AreaFill>
- <LinearGradientBrush StartPoint="50%,0%" EndPoint="50%,100%" Opacity="0.2">
- <LinearGradientBrush.GradientStops>
- <GradientStop Offset="0.0" Color="#FF72BD81" />
- <GradientStop Offset="1.0" Color="#0072BD81" />
- </LinearGradientBrush.GradientStops>
- </LinearGradientBrush>
- </c:LineChart.AreaFill>
- <c:LineChart.AreaStroke>
- <LinearGradientBrush StartPoint="0%,50%" EndPoint="100%,50%">
- <LinearGradientBrush.GradientStops>
- <GradientStop Offset="0.0" Color="#72BD81" />
- <GradientStop Offset="1.0" Color="#72BD81" />
- </LinearGradientBrush.GradientStops>
- </LinearGradientBrush>
- </c:LineChart.AreaStroke>
- </c:LineChart>
+ YAxisTitle="More Expensive" />
</DockPanel>
</DockPanel>
-
</c:ContentArea>
</UserControl>
\ No newline at end of file

fix send chart colors