From 9c8d31230e87592ff65c91b659ba14301c5c30a8 Mon Sep 17 00:00:00 2001 From: HojouFotytu <36724681+HojouFotytu@users.noreply.github.com> Date: Mon, 10 Jun 2019 11:38:39 +0900 Subject: [PATCH 1/2] Version increment --- PTMagic/Program.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PTMagic/Program.cs b/PTMagic/Program.cs index b1acd6e..9e0e05d 100644 --- a/PTMagic/Program.cs +++ b/PTMagic/Program.cs @@ -7,7 +7,7 @@ using Core.Helper; using Core.Main.DataObjects.PTMagicData; using Microsoft.Extensions.DependencyInjection; -[assembly: AssemblyVersion("2.2.4")] +[assembly: AssemblyVersion("2.2.5")] [assembly: AssemblyProduct("PT Magic")] namespace PTMagic From 7634dc7112906f82b35c5520eaea5e4fb581da69 Mon Sep 17 00:00:00 2001 From: HojouFotytu <36724681+HojouFotytu@users.noreply.github.com> Date: Wed, 12 Jun 2019 09:41:35 +0900 Subject: [PATCH 2/2] Asset Graph Localisation fix --- Monitor/Pages/_get/DashboardBottom.cshtml.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Monitor/Pages/_get/DashboardBottom.cshtml.cs b/Monitor/Pages/_get/DashboardBottom.cshtml.cs index 7e3d00f..0fc1208 100644 --- a/Monitor/Pages/_get/DashboardBottom.cshtml.cs +++ b/Monitor/Pages/_get/DashboardBottom.cshtml.cs @@ -148,10 +148,10 @@ namespace Monitor.Pages { double AvailableBalance = (TotalValue - PairsBalance - DCABalance - PendingBalance - DustBalance); AssetDistributionData = "["; - AssetDistributionData += "{label: 'Pairs',color: '#82E0AA',value: '" + PairsBalance.ToString() + "'},"; - AssetDistributionData += "{label: 'DCA',color: '#D98880',value: '" + DCABalance.ToString() + "'},"; - AssetDistributionData += "{label: 'Pending',color: '#F5B041',value: '" + PendingBalance.ToString() + "'},"; - AssetDistributionData += "{label: 'Balance',color: '#85C1E9',value: '" + AvailableBalance.ToString() + "'}]"; + AssetDistributionData += "{label: 'Pairs',color: '#82E0AA',value: '" + PairsBalance.ToString("0.00", new System.Globalization.CultureInfo("en-US")) + "'},"; + AssetDistributionData += "{label: 'DCA',color: '#D98880',value: '" + DCABalance.ToString("0.00", new System.Globalization.CultureInfo("en-US")) + "'},"; + AssetDistributionData += "{label: 'Pending',color: '#F5B041',value: '" + PendingBalance.ToString("0.00", new System.Globalization.CultureInfo("en-US")) + "'},"; + AssetDistributionData += "{label: 'Balance',color: '#85C1E9',value: '" + AvailableBalance.ToString("0.00", new System.Globalization.CultureInfo("en-US")) + "'}]"; } } }