Page 1 of 1

LabelAsLocalTime removed! (DEBUG BUILD 2)

Posted: Fri Aug 25, 2006 5:57 pm
by 9790349
Hi,

I did not find the feature LabelAsLocalTime in build 2.0.2428.30426! (It worked fine in the previous debug build.)

Best regards,

Gabor Varga

Posted: Mon Aug 28, 2006 9:13 am
by narcis
Hi Gabor,

Yes, you are right. We are going to fix it and post a new build to the client area.

Posted: Mon Aug 28, 2006 12:29 pm
by narcis
Hi Gabor,

We just posted a new debug build with LabelsAsLocalTime.

Posted: Tue Aug 29, 2006 3:19 pm
by 9790349
Hi,

I get the following exception with the new build, but I could not give you at this moment a reproduce procedure.

System.NullReferenceException: Object reference not set to an instance of an object.
at Steema.TeeChart.Drawing.Graphics3DGdiPlus.MeasureDisplayStringWidth(String text, Font font)
at Steema.TeeChart.Drawing.Graphics3DGdiPlus.MeasureString(ChartFont f, String text)
at Steema.TeeChart.Drawing.Graphics3D.TextWidth(String text)
at Steema.TeeChart.Title.Draw(Graphics3D g, Rectangle& rect)
at Steema.TeeChart.Title.DoDraw(Graphics3D g, Rectangle& rect, Boolean CustomOnly)
at Steema.TeeChart.Chart.DrawTitleFoot(Rectangle& rect, Boolean CustomOnly)
at Steema.TeeChart.Chart.DrawTitlesAndLegend(Graphics g, Rectangle& tmp, Boolean BeforeSeries)
at Steema.TeeChart.Chart.InternalDraw(Graphics g, Boolean noTools)
at Steema.TeeChart.Chart.InternalDraw(Graphics g)
at Steema.TeeChart.TChart.Draw(Graphics g)
at Steema.TeeChart.TChart.OnPaint(PaintEventArgs pe)
at System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer, Boolean disposeEventArgs)
at System.Windows.Forms.Control.WmPaint(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

----------------------------------------
TeeChart
Assembly Version: 2.0.2431.17559
Win32 Version: 2.0.2431.17559
CodeBase: file:///C:/w/CMM/src/CMM/CMMGraph/TeeChart.DLL
----------------------------------------

Best regards,

Gabor Varga

Posted: Tue Aug 29, 2006 3:57 pm
by 9790349
Hi,

There is no exception when you set the following:

Code: Select all

   CurrChart.Header.Visible := False;
Best regards,

Gabor Varga

P.S. LabelAsLocalTime works fine, thanks! :)

Posted: Wed Aug 30, 2006 9:05 am
by narcis
Hi Gabor,

I don't get any exception using the latest debug build and having a visible header on my chart. If you know of any way to reproduce this error please post it here.

Thanks in advance.