diff --git a/Canvas.Core/Canvas.Core.csproj b/Canvas.Core/Canvas.Core.csproj index d698340..d79dc4c 100644 --- a/Canvas.Core/Canvas.Core.csproj +++ b/Canvas.Core/Canvas.Core.csproj @@ -5,7 +5,7 @@ disable disable True - 3.2.7 + 3.2.8 Internal package used in Canvas.Views.Web artemiusgreat indemos.com diff --git a/Canvas.Core/Shapes/LineShape.cs b/Canvas.Core/Shapes/LineShape.cs index 503f527..585b50f 100644 --- a/Canvas.Core/Shapes/LineShape.cs +++ b/Canvas.Core/Shapes/LineShape.cs @@ -39,8 +39,8 @@ protected virtual void Draw(int index, string name, IList items) var component = Composer.Components[nameof(ComponentEnum.ShapeSection)]; var coordinates = new DataModel[] { - Composer.GetItemPosition(Engine, index - 1, (previous ?? current).Value), - Composer.GetItemPosition(Engine, index, current.Value) + Composer.GetItemPosition(Engine, index, (previous ?? current).Value), + Composer.GetItemPosition(Engine, index + 1, current.Value) }; Engine.CreateLine(coordinates, Component ?? component); diff --git a/Canvas.Views.Web/Canvas.Views.Web.csproj b/Canvas.Views.Web/Canvas.Views.Web.csproj index be4830a..a624b53 100644 --- a/Canvas.Views.Web/Canvas.Views.Web.csproj +++ b/Canvas.Views.Web/Canvas.Views.Web.csproj @@ -10,7 +10,7 @@ true True - 3.2.7 + 3.2.8 finance chart opengl canvas trading gdi stock direct2d artemiusgreat indemos.com