Search found 11 matches

by RogerNye
Thu Oct 07, 2010 12:13 pm
Forum: Java
Topic: Custom Grid
Replies: 2
Views: 5948

Re: Custom Grid

Thanks Narcís,
That worked well.
by RogerNye
Mon Oct 04, 2010 7:06 pm
Forum: Java
Topic: Custom Grid
Replies: 2
Views: 5948

Custom Grid

Hi, I need to make a 2D chart with grid lines behind that are not evenly-spaced. For instance, daily x values with monthly grid lines (31 days in Jan, 28 days in Feb etc). It gets a bit more complicated as there may be missing data, so I want to be able to determine which points have grid lines base...
by RogerNye
Mon Sep 27, 2010 11:31 am
Forum: Java
Topic: Where is ChartEditor?
Replies: 4
Views: 9017

Re: Where is ChartEditor?

Thanks Narcís.
by RogerNye
Fri Sep 24, 2010 6:46 pm
Forum: Java
Topic: How do I control the colours for a Candle?
Replies: 1
Views: 5125

Re: How do I control the colours for a Candle?

It's OK, I've got it.
I sub-classed Candle, overrode drawValue(int), fiddled the up and down colors and the pen color according to my logic and then called the super-class method.
by RogerNye
Fri Sep 24, 2010 5:43 pm
Forum: Java
Topic: How do I control the colours for a Candle?
Replies: 1
Views: 5125

How do I control the colours for a Candle?

Hi, The Candle series colours individual candles automatically based on the price values. Is there a way to override this logic? It appears to choose the colour based on whether open > close, whereas I want previous close > close. I tried playing around with the pen and brush colours, but can only a...
by RogerNye
Fri Sep 24, 2010 3:50 pm
Forum: Java
Topic: Where is ChartEditor?
Replies: 4
Views: 9017

Re: Where is ChartEditor?

Thanks Yeray, That is a pity, but at least I can stop looking now. I now realise I was using the wrong Javadoc and have found the SWT-specific version on the download site. Am I following the wrong tutorial too? It is the tutorial for Java and I didn't see a more specific one for SWT. Also do you kn...
by RogerNye
Fri Sep 24, 2010 2:29 pm
Forum: Java
Topic: Where is ChartEditor?
Replies: 4
Views: 9017

Where is ChartEditor?

I am working through Tutorial 1 of the Java edition and about halfway through it opens an editor with ChartEditor.editChart(...). Where is the ChartEditor class? From the Javadoc, it appears to be in com.steema.teechart.editors, but I don't see it. I am using the SWT version of TChart for Java 2. Ma...
by RogerNye
Thu Sep 23, 2010 3:23 pm
Forum: Java
Topic: How do I install TChart for Java 2
Replies: 3
Views: 7793

Re: How do I install TChart for Java 2

There was no change in user permissions (or anything else much).
It is a measure of insanity to repeat an action and expect a different result, but that is what I did!

Probably French strikers blockading the Internet between Spain and Switzerland!
by RogerNye
Thu Sep 23, 2010 2:07 pm
Forum: Java
Topic: How do I install TChart for Java 2
Replies: 3
Views: 7793

Re: How do I install TChart for Java 2

The installation worked on the 3rd attempt.
by RogerNye
Thu Sep 23, 2010 1:46 pm
Forum: Java
Topic: How do I install TChart for Java 2
Replies: 3
Views: 7793

How do I install TChart for Java 2

Hi, I am trying to install the latest version of TChart for Java. What I did so far is: 1. Download the file TeeChartJava2_with_Sources.zip 2. Extract the contents to the installation directory C:\Program Files (x86)\TChart2 3. Execute TChart.Installer.jar using Java 4. Enter ID, password etc and se...
by RogerNye
Wed Jan 28, 2009 6:55 pm
Forum: Java
Topic: Using Editor in SWT
Replies: 5
Views: 11233

Using Editor in SWT

Hi, I am trying to make the Chart editor appear when the user double-clicks the chart. This is using the SWT implementation for TChart for Java 2. I tried calling the TChart method: showEditor(); from inside a mouse listener. The source code for showEditor seems to have the line: ChartEditor.editCha...