Page 1 of 1

Releases 6, 12 Feb 2009 incompatible with previous releases.

Posted: Wed Feb 18, 2009 6:33 pm
by 14045277
The 6 Feb 2009 release (build 3324) claims fixes to zooming and scrolling. When we use 3324 with new charts zooming works OK. When we use 3324 with .ten files stored in a database using previous releases (for example, 3146) we get a NEW variety of bad effects.
1. In some cases, zooming on any part of the series near the left end results in the series going invisible, although the grid itself zooms. In the same cases zooming near the right end works OK.
2. In other cases your CalcFirstLastVisibleIndex throws an IndexOutOfRangeException.

Posted: Thu Feb 19, 2009 9:43 am
by narcis
Hi georgez,

Could you please send us examples *.ten files or even better a simple example project we can run "as-is" to reproduce the problem here? It would be very helpful if we could see how such charts are created exactly.

You can either post your files at news://www.steema.net/steema.public.attachments newsgroup or at our upload page.

Thanks in advance.

Posted: Fri Feb 20, 2009 10:56 pm
by 14045277
Hi Narcís,

Unfortunately we will be unable to generate external data. The online charts are sent to a stream with Export.Template.Save, and the stream is stored as BinaryData in a database 'image' field. To get it back online we do the reverse with Import.Template.Load. However, since the project philosophy is to store ALL work in the database, there is purposely no facility to generate external files from either the online charts or the database.

georgez,
TeeChart customer since 16 Apr 1998

Posted: Mon Feb 23, 2009 8:54 am
by narcis
Hi georgez,

It would also help if you could arrange a simple example project which produces a *.ten file which produces such errors when loaded with newer TeeChart for .NET v3 releases.

Thanks in advance.

Posted: Wed Feb 25, 2009 3:59 pm
by 14045277
Narcis,

We posted a chart to your upload page. With the new VCL version, zooming on the cluster at the left side exhibits the disappearing series effect.

georgez,
TeeChart customer since 16 Apr 1998

Posted: Fri Feb 27, 2009 2:45 pm
by yeray
Hi georgez,

I've tested and reproduced the problem with your ten file. Now, I'm trying to create a chart similar to yours to identify what is the property (or the combination of properties) that is causing the problem. Could you please, tell me if you see anything I could miss or could you please send us a simple example project that would show us how to reproduce the problem here?

Code: Select all

        private void button1_Click(object sender, EventArgs e)
        {
            tChart1.Clear();

            tChart1.Aspect.View3D = false;
            tChart1.Zoom.Animated = true;

            Steema.TeeChart.Styles.Points points1 = new Steema.TeeChart.Styles.Points(tChart1.Chart);
            points1.FillSampleValues(1781);
            points1.Pointer.Style = PointerStyles.Circle;
            points1.Pointer.HorizSize = 2;
            points1.Pointer.VertSize = 2;
            points1.Pointer.Pen.Visible = false;
            points1.Pointer.Color = Color.Red;

            tChart1.Export.Template.IncludeData = true;
            tChart1.Export.Template.Save("C:\\tmp\\test1.ten");
        }

        private void button2_Click(object sender, EventArgs e)
        {
            tChart1.Clear();
            tChart1.Import.Template.Load("C:\\tmp\\test1.ten");
        }
Thanks in advance.

looks similar like our problem

Posted: Tue Mar 17, 2009 7:47 pm
by 13049264
We have a similar problem when zooming within TeeChart latest Version. Zooming doesen't work at all. We receive in all cases the IndexOutOfRangeException.

This is the exception code:

Code: Select all

System.IndexOutOfRangeException was unhandled
  Message="Der Index war außerhalb des Arraybereichs."
  Source="TeeChart"
  StackTrace:
       bei Steema.TeeChart.Styles.ValueList.get_Item(Int32 index)    bei Steema.TeeChart.Styles.CustomPoint.CalcFirstLastVisibleIndex()    bei Steema.TeeChart.Styles.Series.DrawSeries()    bei Steema.TeeChart.Chart.InternalDraw(Graphics g, Boolean noTools)    bei Steema.TeeChart.Chart.InternalDraw(Graphics g)    bei Steema.TeeChart.TChart.Draw(Graphics g)    bei Steema.TeeChart.TChart.OnPaint(PaintEventArgs pe)    bei System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer, Boolean disposeEventArgs)    bei System.Windows.Forms.Control.WmPaint(Message& m)    bei System.Windows.Forms.Control.WndProc(Message& m)    bei System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)    bei System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)    bei System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)    bei System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)    bei System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)    bei System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)    bei System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)    bei System.Windows.Forms.Application.DoEvents()    bei IHWB.EVO.EVO_Opt_Verlauf.ShowINachfahre() in D:\EVO.NET.META\EVO.NET\EVO\EVO_Opt_Verlauf.vb:Zeile 97.    bei IHWB.EVO.Common.Progress.set_iNachf(Int32 value) in D:\EVO.NET.META\EVO.NET\EVO.Common\Progress.vb:Zeile 117.    bei IHWB.EVO.ES.Controller.processIndividuum_CES(Int32 i_Child) in D:\EVO.NET.META\EVO.NET\EVO.Algos\ES\Controller.vb:Zeile 499.    bei IHWB.EVO.ES.Controller.processIndividuum(Individuum& ind, Int32 iNachfahre) in D:\EVO.NET.META\EVO.NET\EVO.Algos\ES\Controller.vb:Zeile 124.    bei IHWB.EVO.Apps.Sim.Evaluate(Individuum[]& inds, Boolean storeInDB) in D:\EVO.NET.META\EVO.NET\EVO.Apps\Sim.vb:Zeile 559.    bei IHWB.EVO.ES.Controller.STARTEN_CES_or_HYBRID() in D:\EVO.NET.META\EVO.NET\EVO.Algos\ES\Controller.vb:Zeile 207.    bei IHWB.EVO.ES.Controller.Start() in D:\EVO.NET.META\EVO.NET\EVO.Algos\ES\Controller.vb:Zeile 99.    bei IHWB.EVO.Form1.STARTEN_Button_Click(Object eventSender, EventArgs eventArgs) in D:\EVO.NET.META\EVO.NET\EVO\Form1.vb:Zeile 878.    bei System.Windows.Forms.Control.OnClick(EventArgs e)    bei System.Windows.Forms.Button.OnClick(EventArgs e)    bei System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)    bei System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)    bei System.Windows.Forms.Control.WndProc(Message& m)    bei System.Windows.Forms.ButtonBase.WndProc(Message& m)    bei System.Windows.Forms.Button.WndProc(Message& m)    bei System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)    bei System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)    bei System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)    bei System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)    bei System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)    bei System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)    bei System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)    bei System.Windows.Forms.Application.Run(ApplicationContext context)    bei Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnRun()    bei Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.DoApplicationModel()    bei Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run(String[] commandLine)    bei IHWB.EVO.My.MyApplication.Main(String[] Args) in 17d14f5c-a337-4978-8281-53493378c1071.vb:Zeile 81.    bei System.AppDomain._nExecuteAssembly(Assembly assembly, String[] args)    bei System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)    bei Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()    bei System.Threading.ThreadHelper.ThreadStart_Context(Object state)    bei System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)    bei System.Threading.ThreadHelper.ThreadStart()
  InnerException: 
I also uploaded the ten file via your upload page.

Thx for support and best regards

Christoph

Posted: Wed Mar 18, 2009 3:06 pm
by narcis
Hi Christoph,

Thanks for reporting. I could reproduce the issue here and added it (TF02013981) as a high priority item to be fixed for next releases. I'm afraid this was broken when fixing TF02013811.

Posted: Fri Apr 17, 2009 9:32 pm
by 14045277
Hi Narcis,

Users report the problems we reported for the 6 & 12 Feb 2009 release appear to have gone away with the 25 Mar 2009 release. Thanks.

georgez
TeeChart customer since 16 Apr 1998