Skip to content

Commit

Permalink
Fixes #1522 symbol does not match (#2067)
Browse files Browse the repository at this point in the history
  • Loading branch information
msevestre authored Jan 29, 2022
1 parent 574c726 commit ea7383d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
6 changes: 2 additions & 4 deletions src/PKSim.UI/Binders/TimeProfileChartDataBinder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,8 @@ protected override IReadOnlyList<Series> CreateObservedDataSeriesList(ObservedCu
var upperPoint = createExtremSeries(observedCurveData, y => y.UpperValue, MarkerKind.InvertedTriangle);
var lowerPoint = createExtremSeries(observedCurveData, y => y.LowerValue, MarkerKind.Triangle);

series.AddRange(new[] {upperPoint, lowerPoint});
//puts the vertical line first so that it will be the one visible in legend
series.Insert(0,verticalLine);

series.AddRange(new[] {upperPoint, lowerPoint, verticalLine });

return series;
}

Expand Down
3 changes: 2 additions & 1 deletion src/PKSim.UI/Views/PopulationAnalyses/BaseChartView.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
using OSPSuite.Assets;
using OSPSuite.Presentation.Core;
using OSPSuite.Presentation.Views;
using OSPSuite.UI;
using OSPSuite.UI.Controls;
using OSPSuite.UI.Core;
using OSPSuite.UI.Extensions;
Expand Down Expand Up @@ -55,7 +56,7 @@ public BaseChartView(IImageListRetriever imageListRetriever, IToolTipCreator too
_pnlChart.FillWith(Chart);
Chart.RefreshDataOnRepaint = false;
Chart.CacheToMemory = true;

Chart.Legend.MarkerSize = UIConstants.Chart.LEGEND_MARKER_SIZE;
DragDropEnabled = false;
initializeChart(imageListRetriever);
}
Expand Down

0 comments on commit ea7383d

Please sign in to comment.