This project is read-only.

Problem with HorizontalDateTimeAxis labels

Dec 7, 2009 at 5:08 AM

Hi,

While resizing the chart, Time lables are not filling entire axis, tick marks are not properly distributing, If i resize again, these tick marks are adjusting again.

http://cid-996b1960e19fab56.skydrive.live.com/self.aspx/Trend%20Snaps/TimeLabelsError.bmp?ccr=9729

will you give any solution for this (Work arround is also Ok for me for time beeing). I am using 29117 version.

In earlier version I was restting Viewport.Visible to solve this problem. But I can't able to solve this proble in 29117 by resetting the Viewport.Visible.

 

Regards

Ravi. 

Dec 7, 2009 at 7:48 AM

Hi Ravi,

I've recently fixed this bug, so the next changeset of DynamicDataDisplay will handle axis size changes properly.

Best regards,

Mikhail.

Dec 9, 2009 at 9:38 AM

Hi,

When can I get this, other wise Can you please provide some work arround for this. I need it in this week, Its very urgent

Regards

Ravi

Dec 11, 2009 at 10:11 AM

Hi Ravi,

 

Currently I cannot upload fixed version because of internal reasons, but you can fix this issue by changing mainGrid_SizeChaged method of AxisControl class in Charts/Axes in DynamicDataDisplay.csproj:

entire method should look like this:

void mainGrid_SizeChanged(object sender, SizeChangedEventArgs e)
{
  if (placement.IsBottomOrTop() && e.WidthChanged ||
               e.HeightChanged)
    {
      // this is performed because if not, whole axisControl's size was measured wrongly.
      InvalidateMeasure();
      UpdateUI();
    }
}

Hope this will help.

Mikhail.

        {
            if (placement.IsBottomOrTop() && e.WidthChanged ||
               e.HeightChanged)
            {
                // this is performed because if not, whole axisControl's size was measured wrongly.
                InvalidateMeasure();
UpdateUI();
            }
        }

 

 

Dec 11, 2009 at 2:01 PM

Hi Mikhail,

Thank you.

Its working. This saved my week end.

Thanks again

Ravi.