Quinn-Curtis Forums
Quinn-Curtis Forums
Home | Profile | Register | Active Topics | Members | Search | FAQ
Save Password
Forgot your Password?

 All Forums
 Tools for Microsoft .Net & .Net Compact Framework
 Real-Time Graphics Tools for .Net (VB and C#)
 Scrolling issue in plotting chart
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  


16 Posts

Posted - 09 Oct 2013 :  02:55:43  Show Profile  Reply with Quote
I have chartView in that variables are plotting dynamically.Xaxis is plotting starts with hh:mm:ss basis.I added scrollbar to it when i tried to scroll i'm getting exception as "Width and Height must be non-negative." Even i set height and width(chartView.PreferredSize = new Size(600, 400);) for my chart what may be the problem.


1571 Posts

Posted - 09 Oct 2013 :  08:25:18  Show Profile  Reply with Quote
Based on your description I have no idea what the problem is. Describe what simple changes need to be made in one of our example programs to reproduce the problem. If you are unable to do that, you will need to send us a project (support@quinn-curtis.com) which reproduces the problem.

If you are using a time-based coordinate system, you must initialize the ChartCalendar objects with a complete time/date value (current dates), not just H:M:S. If you process the scrollbar values you must make sure you add in what ever date offset is used. Otherwise you end up at 1 AD, which won't work.

If you only want H:M:S, then you must use an elapsed time coordinate system, which uses only elapsed time, not dates, as its input.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Quinn-Curtis Forums © 2000-2018 Quinn-Curtis, Inc. Go To Top Of Page
Powered By: Snitz Forums 2000 Version 3.4.07