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

 All Forums
 Tools for Java
 QCChart2D for Java
 Unexpected Gap on X-axis
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

rixmith

26 Posts

Posted - 04 Jan 2010 :  19:32:32  Show Profile  Reply with Quote
I have a CandlestickPlot that is behaving badly for a single datapoint and I'm wondering if you might be able to explain the problem.

I'm plotting a year's worth of data and all is fine except for Friday March 6,2009. The last tick mark on the x-axis for March 6 is at 15:45. There are no further tick marks on the x-axis until 9:30 Monday March 9, 2009. The gap between these two tick marks is about half the width of the entire x-axis! All the other minor tick marks on the x-axis are drawn correctly and are spaced at intervals about 1/50th of the total axis length.

The candle stick for 16:00 March 6, 2009 is plotted at the correct position over the x-axis (even though there is no tick ) the result is a big fat bar that spans half the chart.

Any idea what might be causing this problem?


I have specified a 5-day week and a day that starts at 9:30am and ends at 4:00pm. The other Friday bars that are plotted at 16:00 are working fine and appear , as I expect, over the Monday 9:30 tick.


Rick

quinncurtis

1164 Posts

Posted - 05 Jan 2010 :  09:36:35  Show Profile  Reply with Quote
We are not able to reproduce the problem you describe. Please send us the complete source to the simplest example program which reproduces the problem and we will investigate further.

Are you using a trial version of the software?
Go to Top of Page

rixmith

26 Posts

Posted - 05 Jan 2010 :  13:01:13  Show Profile  Reply with Quote
I created a simple program that illustrates the problem.

I saved my TimeGroupDataset to a CSV file to send to you along with
the program, however the sample program does not display any datapoints when I use the csv file to reconstruct my dataset: I suspect the x-axis dates where not interpreted correctly from the CSV file. Although I specified a SimpleDateFormat (yyMMdd HH:mm:ss)for the CSV object at the time of writing the dataset (dataset.writeGroupDataset(csv, filename)) the resulting csv file contains a raw number (like 1.2363606E12) in the first column, is this correct?

If I can get this example to work I will send you both the sample program and the csv file.

Rick
Go to Top of Page

rixmith

26 Posts

Posted - 12 Jan 2010 :  08:18:08  Show Profile  Reply with Quote
My small example is ready. To what address should email my code?

Rick
Go to Top of Page

quinncurtis

1164 Posts

Posted - 12 Jan 2010 :  09:41:15  Show Profile  Reply with Quote
Send it to support@quinn-curtis.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Quinn-Curtis Forums © 2000-07 Quinn-Curtis, Inc. Go To Top Of Page
Powered By: Snitz Forums 2000 Version 3.4.07