Skip to content
This repository was archived by the owner on Jul 4, 2024. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/Axes/Axis.cs
Original file line number Diff line number Diff line change
Expand Up @@ -200,16 +200,16 @@ public DataTransform DataTransform
/// <remarks>The default foreground is black</remarks>
[Category("Appearance")]
[Description("Brush for labels and ticks")]
public SolidColorBrush Foreground
public Brush Foreground
{
get { return (SolidColorBrush)GetValue(ForegroundProperty); }
get { return (Brush)GetValue(ForegroundProperty); }
set { SetValue(ForegroundProperty, value); }
}
/// <summary>
/// Identifies the <see cref="Foreground"/> dependency property.
/// </summary>
public static readonly DependencyProperty ForegroundProperty =
DependencyProperty.Register("Foreground", typeof(SolidColorBrush), typeof(Axis), new PropertyMetadata(new SolidColorBrush(Colors.Black)));
DependencyProperty.Register("Foreground", typeof(Brush), typeof(Axis), new PropertyMetadata(new SolidColorBrush(Colors.Black)));

/// <summary>
/// Gets or sets the maximum possible count of ticks.
Expand Down
6 changes: 3 additions & 3 deletions src/Axes/AxisGrid.cs
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public class AxisGrid : PlotBase
/// Identifies the <see cref="Stroke"/> dependency property
/// </summary>
public static readonly DependencyProperty StrokeProperty =
DependencyProperty.Register("Stroke", typeof(SolidColorBrush), typeof(AxisGrid), new PropertyMetadata(new SolidColorBrush(Colors.LightGray),
DependencyProperty.Register("Stroke", typeof(Brush), typeof(AxisGrid), new PropertyMetadata(new SolidColorBrush(Colors.LightGray),
(o, e) =>
{
AxisGrid axisGrid = (AxisGrid)o;
Expand Down Expand Up @@ -120,9 +120,9 @@ public bool IsYAxisReversed
/// Gets or sets the Brush that specifies how the horizontal and vertical lines is painted
/// </summary>
[Category("Appearance")]
public SolidColorBrush Stroke
public Brush Stroke
{
get { return (SolidColorBrush)GetValue(StrokeProperty); }
get { return (Brush)GetValue(StrokeProperty); }
set { SetValue(StrokeProperty, value); }
}

Expand Down