Search found 10 matches

by Happy
Mon Mar 03, 2008 8:54 am
Forum: Java
Topic: Setting Trasparency of Shape to 50%
Replies: 4
Views: 10974

Relating to this same topic:
Is there a way to remove the border of the shape at runtime?
by Happy
Fri Feb 29, 2008 11:37 am
Forum: Java
Topic: Custom drawing on canvas fails
Replies: 4
Views: 12034

I changed my class structure to fit into the teechart model. Thanks for your help!
by Happy
Fri Feb 29, 2008 10:54 am
Forum: Java
Topic: Custom drawing on canvas fails
Replies: 4
Views: 12034

ok, I added your code and it works, but I still have an issue with adding in the even listener because the method in which I create the chart is static, and so the listener doesn't have access to the chart object. For testing purposes I made the chart object a static member of the class, but this is...
by Happy
Fri Feb 29, 2008 10:47 am
Forum: Java
Topic: Documentation incorrect
Replies: 5
Views: 12618

I am using 1.0.1.830

Thats strange that I don't have those methods!!! What else could be wrong?
by Happy
Fri Feb 29, 2008 10:28 am
Forum: Java
Topic: Setting Trasparency of Shape to 50%
Replies: 4
Views: 10974

WORKS GREAT!!! Many Thanks!
by Happy
Fri Feb 29, 2008 10:28 am
Forum: Java
Topic: Custom drawing on canvas fails
Replies: 4
Views: 12034

I cannot add in a addChartPaintListener method because I am creating the chart in a headless environment (that is, in a Java servlet).

So I need to add the custom text in the same function as the chart is being drawn.

(not sure if I am making myself clear?!?)
by Happy
Fri Feb 29, 2008 10:19 am
Forum: Java
Topic: Documentation incorrect
Replies: 5
Views: 12618

how do I tell?

I *think* its the latest, how do I tell exactly?
by Happy
Fri Feb 29, 2008 8:02 am
Forum: Java
Topic: Custom drawing on canvas fails
Replies: 4
Views: 12034

Custom drawing on canvas fails

I try to put text on my chart. I follow example in documentation: String text = "mytext"; IGraphics3D g = chart.getGraphics3D(); g.textOut(0, 0, text); CRASH!!!! Exception in thread "main" java.lang.NullPointerException at com.steema.teechart.drawing.Graphics3DAWT.drawString(Graphics3DAWT.java:706) ...
by Happy
Fri Feb 29, 2008 7:58 am
Forum: Java
Topic: Documentation incorrect
Replies: 5
Views: 12618

Documentation incorrect

The sample code in: /Docs/JavaDoc/com/steema/teechart/Shape.html seems incorrect. Most of those methods are not found in the Shape class.

For example, these don't exist!!!!
getMarks
getFont
setStyle
setText
setX0
setX1
setY0
setY1
by Happy
Fri Feb 29, 2008 7:54 am
Forum: Java
Topic: Setting Trasparency of Shape to 50%
Replies: 4
Views: 10974

Setting Trasparency of Shape to 50%

Is there any way of settings the transparency of a shape to 50%. This is the code I currently have: com.steema.teechart.styles.Shape prediction = new com.steema.teechart.styles.Shape(chart.getChart()); prediction.setColor(Color.RED); prediction.setStyle(ShapeStyle.RECTANGLE); The only function I can...