Relating to this same topic:
Is there a way to remove the border of the shape at runtime?
Search found 10 matches
- Mon Mar 03, 2008 8:54 am
- Forum: Java
- Topic: Setting Trasparency of Shape to 50%
- Replies: 4
- Views: 11038
- Fri Feb 29, 2008 11:37 am
- Forum: Java
- Topic: Custom drawing on canvas fails
- Replies: 4
- Views: 12109
- Fri Feb 29, 2008 10:54 am
- Forum: Java
- Topic: Custom drawing on canvas fails
- Replies: 4
- Views: 12109
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...
- Fri Feb 29, 2008 10:47 am
- Forum: Java
- Topic: Documentation incorrect
- Replies: 5
- Views: 12691
- Fri Feb 29, 2008 10:28 am
- Forum: Java
- Topic: Setting Trasparency of Shape to 50%
- Replies: 4
- Views: 11038
- Fri Feb 29, 2008 10:28 am
- Forum: Java
- Topic: Custom drawing on canvas fails
- Replies: 4
- Views: 12109
- Fri Feb 29, 2008 10:19 am
- Forum: Java
- Topic: Documentation incorrect
- Replies: 5
- Views: 12691
how do I tell?
I *think* its the latest, how do I tell exactly?
- Fri Feb 29, 2008 8:02 am
- Forum: Java
- Topic: Custom drawing on canvas fails
- Replies: 4
- Views: 12109
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) ...
- Fri Feb 29, 2008 7:58 am
- Forum: Java
- Topic: Documentation incorrect
- Replies: 5
- Views: 12691
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
For example, these don't exist!!!!
getMarks
getFont
setStyle
setText
setX0
setX1
setY0
setY1
- Fri Feb 29, 2008 7:54 am
- Forum: Java
- Topic: Setting Trasparency of Shape to 50%
- Replies: 4
- Views: 11038
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...