diff --git a/Canvas.Core/Canvas.Core.csproj b/Canvas.Core/Canvas.Core.csproj index 303f3af..c71d210 100644 --- a/Canvas.Core/Canvas.Core.csproj +++ b/Canvas.Core/Canvas.Core.csproj @@ -5,7 +5,7 @@ disable disable True - 1.9.6 + 1.9.7 Internal package used in Canvas.Views.Web artemiusgreat indemos.com diff --git a/Canvas.Core/Composers/Composer.cs b/Canvas.Core/Composers/Composer.cs index ee5249f..463a07d 100644 --- a/Canvas.Core/Composers/Composer.cs +++ b/Canvas.Core/Composers/Composer.cs @@ -532,8 +532,8 @@ protected virtual IList GetIndices() { var minIndex = Domain.MinIndex; var maxIndex = Domain.MaxIndex; - var center = Math.Round(minIndex + (maxIndex - minIndex) / 2.0, MidpointRounding.ToZero); - var step = Math.Round((0.0 + maxIndex - minIndex) / IndexCount, MidpointRounding.ToZero); + var center = Math.Round(minIndex + (maxIndex - minIndex) / 2.0, MidpointRounding.ToEven); + var step = Math.Round((0.0 + maxIndex - minIndex) / IndexCount, MidpointRounding.ToEven); var items = new List(); void createItem(double i) diff --git a/Canvas.Views.Web/Canvas.Views.Web.csproj b/Canvas.Views.Web/Canvas.Views.Web.csproj index 97c2913..c465230 100644 --- a/Canvas.Views.Web/Canvas.Views.Web.csproj +++ b/Canvas.Views.Web/Canvas.Views.Web.csproj @@ -10,7 +10,7 @@ true True - 1.9.6 + 1.9.7 finance chart opengl canvas trading gdi stock direct2d artemiusgreat indemos.com