Change display of Bollinger Band Price
This commit is contained in:
@@ -15,6 +15,7 @@ namespace Navigator.ViewModels
|
|||||||
private String ipAddress;
|
private String ipAddress;
|
||||||
private RelayCommand ipAddressCommand;
|
private RelayCommand ipAddressCommand;
|
||||||
private RelayCommand onResetCommand;
|
private RelayCommand onResetCommand;
|
||||||
|
private static readonly String VERSION = "1.0.0.5";
|
||||||
|
|
||||||
public AboutViewModel()
|
public AboutViewModel()
|
||||||
{
|
{
|
||||||
@@ -130,6 +131,13 @@ namespace Navigator.ViewModels
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public String Version
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return VERSION;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
public String ScreenDimensions
|
public String ScreenDimensions
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -129,8 +129,10 @@ namespace Navigator.ViewModels
|
|||||||
if(null!=currentPrice&&!float.IsNaN(change))
|
if(null!=currentPrice&&!float.IsNaN(change))
|
||||||
{
|
{
|
||||||
sb.Append(" (").Append(Utility.FormatCurrency(currentPrice.Close));
|
sb.Append(" (").Append(Utility.FormatCurrency(currentPrice.Close));
|
||||||
|
sb.Append("(C)");
|
||||||
sb.Append("/");
|
sb.Append("/");
|
||||||
sb.Append(" ").Append(Utility.FormatCurrency(currentPrice.Low));
|
sb.Append(" ").Append(Utility.FormatCurrency(currentPrice.Low));
|
||||||
|
sb.Append("(L)");
|
||||||
sb.Append(",");
|
sb.Append(",");
|
||||||
sb.Append(change>=0.00?"+":"").Append(Utility.FormatPercent((double)change));
|
sb.Append(change>=0.00?"+":"").Append(Utility.FormatPercent((double)change));
|
||||||
sb.Append(")");
|
sb.Append(")");
|
||||||
|
|||||||
@@ -41,7 +41,7 @@
|
|||||||
<FormattedString.Spans>
|
<FormattedString.Spans>
|
||||||
<Span Text="Navigator" FontAttributes="Bold" FontSize="22" />
|
<Span Text="Navigator" FontAttributes="Bold" FontSize="22" />
|
||||||
<Span Text=" " />
|
<Span Text=" " />
|
||||||
<Span Text="1.03" ForegroundColor="{StaticResource LightTextColor}" />
|
<Span Text="{Binding Version,Mode=OneWay}" ForegroundColor="{StaticResource LightTextColor}" />
|
||||||
</FormattedString.Spans>
|
</FormattedString.Spans>
|
||||||
</FormattedString>
|
</FormattedString>
|
||||||
</Label.FormattedText>
|
</Label.FormattedText>
|
||||||
|
|||||||
Reference in New Issue
Block a user