Quinn-Curtis Forums
Quinn-Curtis Forums
Home | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Tools for Java
 QCChart2D for Java
 x axis time of 1 second range

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert EmailInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
   

T O P I C    R E V I E W
sylvie Posted - 08 Aug 2006 : 07:12:22
Hi,
I need TimeCoordinates with range of 1 second, and i get the following exception when i try to draw a table with such coordinates:

Exception in thread "AWT-EventQueue-0" java.lang.IllegalArgumentException
at java.util.GregorianCalendar.add(Unknown Source)
at com.quinncurtis.chart2djava.TimeAxis.defineMillisecondAxisTicks(TimeAxis.java:953)
at com.quinncurtis.chart2djava.TimeAxis.defineTimeAxisTics(TimeAxis.java:1472)
at com.quinncurtis.chart2djava.TimeAxis.drawTimeAxis(TimeAxis.java:1594)
at com.quinncurtis.chart2djava.TimeAxis.draw(TimeAxis.java:1625)
at com.quinncurtis.chart2djava.ChartView.drawObject(ChartView.java:735)
at com.quinncurtis.chart2djava.ChartView.preRender(ChartView.java:1336)
at com.quinncurtis.chart2djava.ChartView.draw(ChartView.java:1410)
at com.quinncurtis.chart2djava.ChartView.paintComponent(ChartView.java:337)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JComponent.paintWithOffscreenBuffer(Unknown Source)
at javax.swing.JComponent.paintDoubleBuffered(Unknown Source)
at javax.swing.JComponent._paintImmediately(Unknown Source)
at javax.swing.JComponent.paintImmediately(Unknown Source)
at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)

If i give the coordinates 2-seconds-apart start time & end time it works and for 1 second it doesn't. I need 1 second scale in my application. Is there anything i can do?

Thanks,
Sylvie.
6   L A T E S T    R E P L I E S    (Newest First)
sylvie Posted - 15 Aug 2006 : 03:23:29
It works now. Thanks!

Sylvie
quinncurtis Posted - 14 Aug 2006 : 10:00:24
We tested the software using our time coordinate zoom example program and initially could not reproduce a problem. We did find a problem if you were displaying the first second of the day with a range of 1 second.

We believe we fixed it and have sent you replacement qcchart2djava.jar files. If you can't receive large attachments you should re-download the software using your original download link.

sylvie Posted - 09 Aug 2006 : 04:01:44
Hi again,
I downloaded the new jars, and now when i try to build the chart with the 1 second range, there is no exception but the application is completely stuck until i kill it from outside. it doesn't happen when i build a chart with 10 seconds range. Could you please check it?
Thank you,
Sylvie.
sylvie Posted - 09 Aug 2006 : 01:31:52
Thanks
quinncurtis Posted - 08 Aug 2006 : 17:22:25
We did find a problem with a 1-second range for the time axis. We made a fix and uploaded the modified libraries. You can download the updated version using your original download links.

The minimum range you can have for a time axis is 0.2 seconds. After that you should be using a CartesianCoordinates and a LinearAxis instead of TimeCoordinates and TimeAxis.
quinncurtis Posted - 08 Aug 2006 : 10:28:16
Show exactly how you define the dates and scale the coordinate system you are using.

Quinn-Curtis Forums © 2000-2018 Quinn-Curtis, Inc. Go To Top Of Page
Powered By: Snitz Forums 2000 Version 3.4.07