Skip to content

Commit

Permalink
Merge pull request Live-Charts#495 from beto-rodriguez/develop
Browse files Browse the repository at this point in the history
complement to Live-Charts#471
  • Loading branch information
beto-rodriguez authored Mar 13, 2017
2 parents 4e60a22 + 12276fc commit b18ac38
Show file tree
Hide file tree
Showing 26 changed files with 26 additions and 26 deletions.
2 changes: 1 addition & 1 deletion UwpView/CandleSeries.cs
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ public override IChartPointView GetPointView(ChartPoint point, string label)

if (DataLabels)
{
pbv.DataLabel = UpdateLabelContent1(new DataLabelViewModel
pbv.DataLabel = UpdateLabelContent(new DataLabelViewModel
{
FormattedText = label,
Instance = point.Instance
Expand Down
2 changes: 1 addition & 1 deletion UwpView/ColumnSeries.cs
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ public override IChartPointView GetPointView(ChartPoint point, string label)

if (DataLabels)
{
pbv.DataLabel = UpdateLabelContent1(new DataLabelViewModel
pbv.DataLabel = UpdateLabelContent(new DataLabelViewModel
{
FormattedText = label,
Instance = point.Instance
Expand Down
2 changes: 1 addition & 1 deletion UwpView/HeatSeries.cs
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ public override IChartPointView GetPointView(ChartPoint point, string label)

if (DataLabels)
{
pbv.DataLabel = UpdateLabelContent1(new DataLabelViewModel
pbv.DataLabel = UpdateLabelContent(new DataLabelViewModel
{
FormattedText = label,
Instance = point.Instance
Expand Down
2 changes: 1 addition & 1 deletion UwpView/LineSeries.cs
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ public override IChartPointView GetPointView(ChartPoint point, string label)

if (DataLabels)
{
pbv.DataLabel = UpdateLabelContent1(new DataLabelViewModel
pbv.DataLabel = UpdateLabelContent(new DataLabelViewModel
{
FormattedText = label,
Instance = point.Instance
Expand Down
2 changes: 1 addition & 1 deletion UwpView/OhlcSeries.cs
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ public override IChartPointView GetPointView(ChartPoint point, string label)

if (DataLabels)
{
pbv.DataLabel = UpdateLabelContent1(new DataLabelViewModel
pbv.DataLabel = UpdateLabelContent(new DataLabelViewModel
{
FormattedText = label,
Instance = point.Instance
Expand Down
2 changes: 1 addition & 1 deletion UwpView/PieSeries.cs
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ public override IChartPointView GetPointView(ChartPoint point, string label)

if (pbv.HoverShape != null) pbv.HoverShape.Visibility = Visibility;

if (DataLabels && pbv.DataLabel == null)
if (DataLabels)
{
pbv.DataLabel = UpdateLabelContent(new DataLabelViewModel
{
Expand Down
2 changes: 1 addition & 1 deletion UwpView/RowSeries.cs
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ public override IChartPointView GetPointView(ChartPoint point, string label)

if (DataLabels)
{
pbv.DataLabel = UpdateLabelContent1(new DataLabelViewModel
pbv.DataLabel = UpdateLabelContent(new DataLabelViewModel
{
FormattedText = label,
Instance = point.Instance
Expand Down
2 changes: 1 addition & 1 deletion UwpView/ScatterSeries.cs
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ public override IChartPointView GetPointView(ChartPoint point, string label)

if (DataLabels)
{
pbv.DataLabel = UpdateLabelContent1(new DataLabelViewModel
pbv.DataLabel = UpdateLabelContent(new DataLabelViewModel
{
FormattedText = label,
Instance = point.Instance
Expand Down
2 changes: 1 addition & 1 deletion UwpView/Series.cs
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ public object Configuration

#region Internal Helpers

internal ContentControl UpdateLabelContent1(DataLabelViewModel content, ContentControl currentControl)
internal ContentControl UpdateLabelContent(DataLabelViewModel content, ContentControl currentControl)
{
ContentControl control;

Expand Down
2 changes: 1 addition & 1 deletion UwpView/StackedColumnSeries.cs
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ public override IChartPointView GetPointView(ChartPoint point, string label)

if (DataLabels)
{
pbv.DataLabel = UpdateLabelContent1(new DataLabelViewModel
pbv.DataLabel = UpdateLabelContent(new DataLabelViewModel
{
FormattedText = label,
Instance = point.Instance
Expand Down
2 changes: 1 addition & 1 deletion UwpView/StackedRowSeries.cs
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ public override IChartPointView GetPointView(ChartPoint point, string label)

if (DataLabels)
{
pbv.DataLabel = UpdateLabelContent1(new DataLabelViewModel
pbv.DataLabel = UpdateLabelContent(new DataLabelViewModel
{
FormattedText = label,
Instance = point.Instance
Expand Down
2 changes: 1 addition & 1 deletion UwpView/StepLineSeries.cs
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ public override IChartPointView GetPointView(ChartPoint point, string label)

if (DataLabels)
{
pbv.DataLabel = UpdateLabelContent1(new DataLabelViewModel
pbv.DataLabel = UpdateLabelContent(new DataLabelViewModel
{
FormattedText = label,
Instance = point.Instance
Expand Down
2 changes: 1 addition & 1 deletion UwpView/VerticalLineSeries.cs
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ public override IChartPointView GetPointView(ChartPoint point, string label)

if (DataLabels)
{
pbv.DataLabel = UpdateLabelContent1(new DataLabelViewModel
pbv.DataLabel = UpdateLabelContent(new DataLabelViewModel
{
FormattedText = label,
Instance = point.Instance
Expand Down
2 changes: 1 addition & 1 deletion WpfView/CandleSeries.cs
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ public override IChartPointView GetPointView(ChartPoint point, string label)

if (DataLabels)
{
pbv.DataLabel = UpdateLabelContent1(new DataLabelViewModel
pbv.DataLabel = UpdateLabelContent(new DataLabelViewModel
{
FormattedText = label,
Instance = point.Instance
Expand Down
2 changes: 1 addition & 1 deletion WpfView/ColumnSeries.cs
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ public override IChartPointView GetPointView(ChartPoint point, string label)

if (DataLabels)
{
pbv.DataLabel = UpdateLabelContent1(new DataLabelViewModel
pbv.DataLabel = UpdateLabelContent(new DataLabelViewModel
{
FormattedText = label,
Instance = point.Instance
Expand Down
2 changes: 1 addition & 1 deletion WpfView/HeatSeries.cs
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ public override IChartPointView GetPointView(ChartPoint point, string label)

if (DataLabels)
{
pbv.DataLabel = UpdateLabelContent1(new DataLabelViewModel
pbv.DataLabel = UpdateLabelContent(new DataLabelViewModel
{
FormattedText = label,
Instance = point.Instance
Expand Down
2 changes: 1 addition & 1 deletion WpfView/LineSeries.cs
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ public override IChartPointView GetPointView(ChartPoint point, string label)

if (DataLabels)
{
pbv.DataLabel = UpdateLabelContent1(new DataLabelViewModel
pbv.DataLabel = UpdateLabelContent(new DataLabelViewModel
{
FormattedText = label,
Instance = point.Instance
Expand Down
2 changes: 1 addition & 1 deletion WpfView/OhlcSeries.cs
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ public override IChartPointView GetPointView(ChartPoint point, string label)

if (DataLabels)
{
pbv.DataLabel = UpdateLabelContent1(new DataLabelViewModel
pbv.DataLabel = UpdateLabelContent(new DataLabelViewModel
{
FormattedText = label,
Instance = point.Instance
Expand Down
2 changes: 1 addition & 1 deletion WpfView/PieSeries.cs
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ public override IChartPointView GetPointView(ChartPoint point, string label)

if (DataLabels)
{
pbv.DataLabel = UpdateLabelContent1(new DataLabelViewModel
pbv.DataLabel = UpdateLabelContent(new DataLabelViewModel
{
FormattedText = label,
Instance = point.Instance
Expand Down
2 changes: 1 addition & 1 deletion WpfView/RowSeries.cs
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ public override IChartPointView GetPointView(ChartPoint point, string label)

if (DataLabels)
{
pbv.DataLabel = UpdateLabelContent1(new DataLabelViewModel
pbv.DataLabel = UpdateLabelContent(new DataLabelViewModel
{
FormattedText = label,
Instance = point.Instance
Expand Down
2 changes: 1 addition & 1 deletion WpfView/ScatterSeries.cs
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ public override IChartPointView GetPointView(ChartPoint point, string label)

if (DataLabels)
{
pbv.DataLabel = UpdateLabelContent1(new DataLabelViewModel
pbv.DataLabel = UpdateLabelContent(new DataLabelViewModel
{
FormattedText = label,
Instance = point.Instance
Expand Down
2 changes: 1 addition & 1 deletion WpfView/Series.cs
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,7 @@ public object Configuration

#region Internal Helpers

internal ContentControl UpdateLabelContent1(DataLabelViewModel content, ContentControl currentControl)
internal ContentControl UpdateLabelContent(DataLabelViewModel content, ContentControl currentControl)
{
ContentControl control;

Expand Down
2 changes: 1 addition & 1 deletion WpfView/StackedColumnSeries.cs
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ public override IChartPointView GetPointView(ChartPoint point, string label)

if (DataLabels)
{
pbv.DataLabel = UpdateLabelContent1(new DataLabelViewModel
pbv.DataLabel = UpdateLabelContent(new DataLabelViewModel
{
FormattedText = label,
Instance = point.Instance
Expand Down
2 changes: 1 addition & 1 deletion WpfView/StackedRowSeries.cs
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ public override IChartPointView GetPointView(ChartPoint point, string label)

if (DataLabels)
{
pbv.DataLabel = UpdateLabelContent1(new DataLabelViewModel
pbv.DataLabel = UpdateLabelContent(new DataLabelViewModel
{
FormattedText = label,
Instance = point.Instance
Expand Down
2 changes: 1 addition & 1 deletion WpfView/StepLineSeries.cs
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ public override IChartPointView GetPointView(ChartPoint point, string label)

if (DataLabels)
{
pbv.DataLabel = UpdateLabelContent1(new DataLabelViewModel
pbv.DataLabel = UpdateLabelContent(new DataLabelViewModel
{
FormattedText = label,
Instance = point.Instance
Expand Down
2 changes: 1 addition & 1 deletion WpfView/VerticalLineSeries.cs
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ public override IChartPointView GetPointView(ChartPoint point, string label)

if (DataLabels )
{
pbv.DataLabel = UpdateLabelContent1(new DataLabelViewModel
pbv.DataLabel = UpdateLabelContent(new DataLabelViewModel
{
FormattedText = label,
Instance = point.Instance
Expand Down

0 comments on commit b18ac38

Please sign in to comment.