Skip to content

Commit

Permalink
Remove unused LabelColor property (#2030) (#2031)
Browse files Browse the repository at this point in the history
  • Loading branch information
VisualMelon committed Aug 16, 2023
1 parent 88bfe5f commit 85dd07d
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 8 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ All notable changes to this project will be documented in this file.

### Removed
- Support for .NET Framework 4.0 and 4.5 (#1839)
- Unused LabelColor property from TornadoBarSeries, IntervalBarSeries, and RectangleBarSeries (#2030)

### Fixed
- Placement of BarSeries labels when stacked (#1979)
Expand Down
1 change: 0 additions & 1 deletion Source/OxyPlot/Series/BarSeries/IntervalBarSeries.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ public class IntervalBarSeries : BarSeriesBase<IntervalBarItem>, IStackableSerie
/// </summary>
public IntervalBarSeries()
{
this.LabelColor = OxyColors.Automatic;
this.FillColor = OxyColors.Automatic;
this.StrokeThickness = 1;

Expand Down
6 changes: 0 additions & 6 deletions Source/OxyPlot/Series/BarSeries/RectangleBarSeries.cs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ public RectangleBarSeries()
this.Items = new List<RectangleBarItem>();

this.FillColor = OxyColors.Automatic;
this.LabelColor = OxyColors.Automatic;
this.StrokeColor = OxyColors.Black;
this.StrokeThickness = 1;

Expand Down Expand Up @@ -67,11 +66,6 @@ public OxyColor ActualFillColor
/// </summary>
public IList<RectangleBarItem> Items { get; private set; }

/// <summary>
/// Gets or sets the label color.
/// </summary>
public OxyColor LabelColor { get; set; }

/// <summary>
/// Gets or sets the format string for the labels.
/// </summary>
Expand Down
1 change: 0 additions & 1 deletion Source/OxyPlot/Series/BarSeries/TornadoBarSeries.cs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ public TornadoBarSeries()
this.MaximumFillColor = OxyColor.FromRgb(216, 82, 85);
this.MinimumFillColor = OxyColor.FromRgb(84, 138, 209);

this.LabelColor = OxyColors.Automatic;
this.StrokeColor = OxyColors.Black;
this.StrokeThickness = 1;

Expand Down

0 comments on commit 85dd07d

Please sign in to comment.