Search found 38 matches

by rubby
Mon Mar 03, 2014 2:11 am
Forum: Java
Topic: How to specify the coordinate origin
Replies: 5
Views: 3881

Re: How to specify the coordinate origin

thanks for your reply. I'll have a try.
by rubby
Thu Feb 27, 2014 2:58 am
Forum: Java
Topic: How to specify the coordinate origin
Replies: 5
Views: 3881

Re: How to specify the coordinate origin

I think the "addChartPaintListener()" will catch these events, e.g., the axis is upside down.
However, it fails. Do you have any idea?

Thanks.
by rubby
Thu Feb 27, 2014 2:35 am
Forum: Java
Topic: How to specify the coordinate origin
Replies: 5
Views: 3881

Re: How to specify the coordinate origin

Luckily, i finally make it work correctly now. :) // bottom.setRelativePosition(y); bottom.setRelativePosition(left.iEndPos-y); // left.setRelativePosition(x); left.setRelativePosition(x-bottom.iStartPos); I hope this poster will be useful for the guy who needs this function too. I think how to spec...
by rubby
Thu Feb 27, 2014 2:11 am
Forum: Java
Topic: How to specify the coordinate origin
Replies: 5
Views: 3881

Re: How to specify the coordinate origin

i am sorry.

The wrong.png is here.
by rubby
Thu Feb 27, 2014 2:08 am
Forum: Java
Topic: How to specify the coordinate origin
Replies: 5
Views: 3881

How to specify the coordinate origin

Hello, I wan to draw a graph whose left axis and bottom axis cross at point(15,10). Please refer to "correct.png". However, when i use the following code, the axis of graph are not at the correct position. please refer to "wrong.png". I create a method "setXYAxisCross" to implement the function. do ...
by rubby
Thu Feb 27, 2014 12:45 am
Forum: Java
Topic: problem with radar
Replies: 11
Views: 6623

Re: problem with radar

Hello,

thanks for the reply.
I also code some simple examples, but the problem can not happen either. :(
I would let you know if i get the idea of how to reproduce this problem.

Thanks.
by rubby
Mon Feb 24, 2014 8:10 am
Forum: Java
Topic: problem with radar
Replies: 11
Views: 6623

Re: problem with radar

Hello, I am sorry for late reply because of something. This always happens when i saved the radar graph as xml files and import it again (in my software which integrates Teechart). However, i can not reproduce this problem by a simple example. this screen-shots use the same and latest version. Thanks.
by rubby
Tue Feb 18, 2014 2:51 am
Forum: Java
Topic: problem with radar
Replies: 11
Views: 6623

Re: problem with radar

Hello, I encounter a strange problem with radar graph. the axis is not in the right position.【radar axis wrong position.png】 what i need it the one in the attachment 【radar correct position.png】. How can i set the current position of this axis by myself. is it radar.getVertAxis()... or something els...
by rubby
Fri Feb 07, 2014 7:44 am
Forum: Java
Topic: Null value bug
Replies: 5
Views: 3457

Re: Null value bug

Hello, I try the new version TeeChart Java v3.2013.1219 version. I find a problem, it as follows. tChart = new TChart(); Series bar = new Bar(tChart.getChart()); bar.add(-10); //null showed //bar.add(10); //null not showed. bar.addNull(); bar.add(5); bar.add(6); if i use bar.add(-10), it will result...
by rubby
Sun Jan 26, 2014 1:55 pm
Forum: Java
Topic: TChart serializable problem
Replies: 18
Views: 9517

Re: TChart serializable problem

Hello, Yeray: Thank you so much. For the export and import tej, I should use: tChart.setChart( tChart.getImport().getTemplate().fromFile("c:\\tt23.tej")); instead of tChart.getImport().getTemplate().fromFile("c:\\tt23.tej"); this is why can not import a tej and show it. However, for xml, both of the...
by rubby
Wed Jan 22, 2014 2:06 pm
Forum: Java
Topic: TChart serializable problem
Replies: 18
Views: 9517

Re: TChart serializable problem

Hello, Marc . I got it. Thanks. For the export and import problem, Could you please run my code example , if it can not start, please let me know. If you can run the code example, could you please try to click operation--> save. Then click operation--> load. I think you will find that something is w...
by rubby
Tue Jan 21, 2014 3:37 pm
Forum: Java
Topic: TChart serializable problem
Replies: 18
Views: 9517

Re: TChart serializable problem

Hello, Yeray, thank you sincerely for your reply. 1. I am sure that my project is referencing the correct jar, TeeChart.Swing.jar from directory TeeChartJavaSrc_3.2013.1219. So it is the latest version. I have checked this several times. 2. your test is using the example at "All features\Welcome!\Ex...
by rubby
Thu Jan 16, 2014 2:19 am
Forum: Java
Topic: TChart serializable problem
Replies: 18
Views: 9517

Re: TChart serializable problem

After the program runs. please click operation--> save. Then click operation--> load The output errors are: java.lang.NullPointerException at com.steema.teechart.drawing.Gradient.getCustomTargetRectangle(Gradient.java:448) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect...
by rubby
Thu Jan 16, 2014 2:12 am
Forum: Java
Topic: TChart serializable problem
Replies: 18
Views: 9517

Re: TChart serializable problem

Hello, I download the new version TeeChartJava 2013.1219. But the export import functions still have some problem. My goal is exporting Tchat to tej or xml, then when i load it, it should be the same to the one i stored. But this is false. the following is my code. import com.steema.teechart.Rectang...
by rubby
Tue Jan 14, 2014 2:10 am
Forum: Java
Topic: Pie labels overlap problem
Replies: 3
Views: 1972

Re: Pie labels overlap problem

Thanks~ it is helpful.