Search found 34 matches

by Turc
Tue Oct 08, 2013 12:48 pm
Forum: Java
Topic: Cursor Tool
Replies: 2
Views: 986

Re: Cursor Tool

Thank you.
by Turc
Mon Oct 07, 2013 4:22 pm
Forum: Java
Topic: Cursor Tool
Replies: 2
Views: 986

Cursor Tool

I Initialize the cursor Tool: cursorTool = new CursorTool(this.getChart()); cursorTool.setActive(false); cursorTool.setFollowMouse(true); cursorTool.setStyle(CursorToolStyle.VERTICAL); cursorTool.getPen().setStyle(DashStyle.SOLID); When the user clicks on the graph (mouseClicked MouseEvent), then I ...
by Turc
Thu May 16, 2013 2:18 pm
Forum: Java
Topic: Array Index Out of Bounds Exception
Replies: 1
Views: 588

Array Index Out of Bounds Exception

I have a real time chart. I plot about 3 points per second. I plot points in the range of 0-300, about 3200 points at most. Exception in thread "AWT-EventQueue-0" java.lang.ArrayIndexOutOfBoundsException: 3552 at com.steema.teechart.styles.FastLine.calcPosition(FastLine.java:245) at com.steema.teech...
by Turc
Thu Jun 21, 2012 6:38 pm
Forum: Java
Topic: Plotting Points
Replies: 1
Views: 851

Plotting Points

The first few points do not plot on the graph when I plot points in real time. If you look at the attachement, the black and red dots only show up if there is a point plotted. They show up, but the points are not plotted. This happens every time it starts plotting points. public void plotPoints(int ...
by Turc
Mon Jun 20, 2011 7:48 pm
Forum: Java
Topic: Custom Axes
Replies: 1
Views: 588

Custom Axes

I have 3 Custom Axes. Custom Axes 1 Relative Position: 0 Custom Axes 2 Relative Position: 5 Custom Axes 3 Relative Position: 10 When I enable the Custom Axes 3 Grid Line , the Grid Line starts from Position 0, but I want it to start at Position 10 so that it starts where the Custom Axes 3 is located...
by Turc
Fri Mar 25, 2011 6:27 pm
Forum: Java
Topic: Vertical Lines Do Not Clip
Replies: 3
Views: 1151

Re: Vertical Lines Do Not Clip

I already do something similar to that, but what I don't like is that the Annotation completely disappears. I would like whatever is left of the annotation to show on the chart.
by Turc
Wed Mar 23, 2011 6:11 pm
Forum: Java
Topic: Vertical Lines Do Not Clip
Replies: 3
Views: 1151

Vertical Lines Do Not Clip

Run TeeChartDemo (TeeChart.Features.jar). Go to Tools > Cursor > Moving program. Scroll the graph either to the left or right. Notice how the Horizontal Cursor tool clips on the Y-axis and at the end of the graph. Whereas the Vertical Cursor Tool doesn't - it is visible left of the Y-axis and after ...
by Turc
Thu Jan 27, 2011 3:35 pm
Forum: Java
Topic: Error when saving Tchart
Replies: 2
Views: 897

Re: Error when saving Tchart

Thank you, I didn't know that it wasn't thread safe. And yes, that's exactly whats happening.
by Turc
Wed Jan 26, 2011 4:55 pm
Forum: Java
Topic: Error when saving Tchart
Replies: 2
Views: 897

Error when saving Tchart

When i save a TChart using this piece of code: filePatch = "/User/Steema/Public/pic1"; TChart1.getExport().getImage().getPNG().save(filePath); It works. But when i thread that call, every now and then i get these exceptions: Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException at co...
by Turc
Wed Dec 22, 2010 5:25 pm
Forum: Java
Topic: CursorTool
Replies: 4
Views: 1472

Re: CursorTool

The code for the CursorTools were never changed after they were implemented - and worked. I did however add code to that class (CapturedChart) and the main class where the CapturedChart gets its chart from, but why would any of that affect the cursor tools? I made a simple program and the cursortool...
by Turc
Tue Dec 21, 2010 6:49 pm
Forum: Java
Topic: CursorTool
Replies: 4
Views: 1472

Re: CursorTool

Here's the code: private CursorTool tool1, tool2; ... tool1 = new CursorTool(this.getChart()); tool1.setStyle(CursorToolStyle.HORIZONTAL); tool1.getPen().setColor(Color.YELLOW); tool1.setActive(false); tool1.addCursorListener(new CursorTool.CursorListener() { public void cursorMoved(CursorEvent e) {...
by Turc
Tue Dec 21, 2010 6:41 pm
Forum: Java
Topic: CursorTool
Replies: 4
Views: 1472

CursorTool

I have a main chart with about 10 traces that capture live data. There's an option to capture that chart - which basically clones it and copies it to another panel. On this capture panel, there are 2 Cursor Tools. When i first implemented the cursorTools, they worked fine, then out of no where the c...
by Turc
Wed Dec 08, 2010 12:02 am
Forum: Java
Topic: Java Maintenance Release date
Replies: 2
Views: 758

Java Maintenance Release date

When is the Java Maintenance release date schedule for?
by Turc
Mon Oct 18, 2010 3:31 pm
Forum: Java
Topic: Print issues with graph and annotation
Replies: 10
Views: 2672

Re: Print issues with graph and annotation

Thank marc.
by Turc
Mon Oct 18, 2010 2:56 pm
Forum: Java
Topic: Bug: dragging chart to the left isn't one to one
Replies: 6
Views: 1720

Re: Bug: dragging chart to the left isn't one to one

awesome, and thank you