Skip to content

Commit

Permalink
bug in drawing x ticks
Browse files Browse the repository at this point in the history
  • Loading branch information
nylssoft committed Aug 27, 2017
1 parent 4d33338 commit c67a916
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Bank/StatisticsWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ private void DrawAxis(double wxmin, double wxmax, double wymin, double wymax)
double? lastxYear = null;
for (int ticx = (int)wxmin; ticx <= (int)wxmax; ticx++)
{
var dt = refdate.AddDays(-(ticx - (int)wxmin));
var dt = refdate.AddDays(-ticx);
if (dt.Day == 1)
{
var p = WtoD(new Point(ticx, wys));
Expand Down

0 comments on commit c67a916

Please sign in to comment.