Skip to content

Commit bb8446f

Browse files
authored
Merge branch 'develop' into LineStyleNoneAndNonPositiveStokeWidthChecks
2 parents e9f47e7 + 8dd991c commit bb8446f

File tree

4 files changed

+18
-19
lines changed

4 files changed

+18
-19
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,8 @@ All notable changes to this project will be documented in this file.
5959
- Out of memory exception and performance issue with Catmull-Rom Spline (#1237)
6060
- Cache and Dispose Brush and Pen objects used by GraphicsRenderContext (#1230)
6161
- Add checks for non-positive StrokeThickess and LineStyle.None in various places (#1312)
62+
- Fixed references to RectangleItem in HistogramSeries
63+
- Fix AxisChangedEventArgs.DeltaMaximum in Axes.Reset (#1306)
6264

6365
## [1.0.0] - 2016-09-11
6466
### Added

README.md

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,16 @@
11
OxyPlot is a cross-platform plotting library for .NET
22

3-
- [Web page](http://oxyplot.org/)
4-
- [Documentation](http://docs.oxyplot.org/)
5-
- [Announcements](http://oxyplot.org/announcements) / [atom](http://oxyplot.org/atom.xml)
6-
- [Discussion forum](http://discussion.oxyplot.org/)
7-
- [Source repository](http://github.com/oxyplot/oxyplot)
8-
- [Issue tracker](http://github.com/oxyplot/oxyplot/issues)
9-
- [NuGet packages](http://www.nuget.org/packages?q=oxyplot)
10-
- [Stack Overflow](http://stackoverflow.com/questions/tagged/oxyplot)
3+
- [Web page](https://oxyplot.github.io)
4+
- [Documentation](https://oxyplot.readthedocs.io/en/latest/)
5+
- [Discussion forum](https://oxyplot.userecho.com/)
6+
- [NuGet packages](https://www.nuget.org/packages?q=oxyplot)
7+
- [Stack Overflow](https://stackoverflow.com/questions/tagged/oxyplot)
118
- [Twitter](https://twitter.com/hashtag/oxyplot)
129
- [Gitter](https://gitter.im/oxyplot/oxyplot) (chat)
1310

1411
![License](https://img.shields.io/badge/license-MIT-red.svg) [![Build status](https://img.shields.io/appveyor/ci/objorke/oxyplot/develop.svg)](https://ci.appveyor.com/project/objorke/oxyplot)
1512

16-
![Plot](http://oxyplot.org/public/images/normal-distributions.png)
13+
![Plot](https://oxyplot.github.io/public/images/normal-distributions.png)
1714

1815
#### Getting started
1916

Source/OxyPlot/Axes/Axis.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -964,7 +964,7 @@ public virtual void Render(IRenderContext rc, int pass)
964964
public virtual void Reset()
965965
{
966966
var oldMinimum = this.ActualMinimum;
967-
var oldMaximum = this.ActualMinimum;
967+
var oldMaximum = this.ActualMaximum;
968968

969969
this.ViewMinimum = double.NaN;
970970
this.ViewMaximum = double.NaN;
@@ -1734,4 +1734,4 @@ protected virtual void OnTransformChanged(EventArgs args)
17341734
}
17351735
}
17361736
}
1737-
}
1737+
}

Source/OxyPlot/Series/HistogramSeries.cs

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ public OxyColor ActualFillColor
142142
/// <summary>
143143
/// Gets the list of <see cref="HistogramItem" /> that should be rendered.
144144
/// </summary>
145-
/// <value>A list of <see cref="RectangleItem" />.</value>
145+
/// <value>A list of <see cref="HistogramItem" />.</value>
146146
protected List<HistogramItem> ActualItems => this.ItemsSource != null ? this.actualItems : this.Items;
147147

148148
/// <summary>
@@ -211,7 +211,7 @@ public override TrackerHitResult GetNearestPoint(ScreenPoint point, bool interpo
211211

212212
if (this.ActualItems != null)
213213
{
214-
// iterate through the DataRects and return the first one that contains the point
214+
// iterate through the HistogramItems and return the first one that contains the point
215215
foreach (var item in this.ActualItems)
216216
{
217217
if (item.Contains(p))
@@ -536,20 +536,20 @@ private void UpdateActualItems()
536536
return;
537537
}
538538

539-
var sourceAsListOfDataRects = this.ItemsSource as List<HistogramItem>;
540-
if (sourceAsListOfDataRects != null)
539+
var sourceAsListOfHistogramItems = this.ItemsSource as List<HistogramItem>;
540+
if (sourceAsListOfHistogramItems != null)
541541
{
542-
this.actualItems = sourceAsListOfDataRects;
542+
this.actualItems = sourceAsListOfHistogramItems;
543543
this.ownsActualItems = false;
544544
return;
545545
}
546546

547547
this.ClearActualItems();
548548

549-
var sourceAsEnumerableDataRects = this.ItemsSource as IEnumerable<HistogramItem>;
550-
if (sourceAsEnumerableDataRects != null)
549+
var sourceAsEnumerableHistogramItems = this.ItemsSource as IEnumerable<HistogramItem>;
550+
if (sourceAsEnumerableHistogramItems != null)
551551
{
552-
this.actualItems.AddRange(sourceAsEnumerableDataRects);
552+
this.actualItems.AddRange(sourceAsEnumerableHistogramItems);
553553
}
554554
}
555555
}

0 commit comments

Comments
 (0)