Difference between teechart graph and excel graph

TeeChart for Java (NetBeans, Eclipse, Android Studio, etc)
Post Reply
rubby
Newbie
Newbie
Posts: 38
Joined: Mon Aug 12, 2013 12:00 am

Difference between teechart graph and excel graph

Post by rubby » Thu Nov 21, 2013 7:22 am

hello:
I find there are some differences between teechart graph and excel graph.

1. Radar graph
the radar graph in teechart is anticlockwise. but the radar in excel is clockwise.
Does there exist some method to set the radar graph in teechart to clockwise?
I don't find any.

2. teechart draw the first point of one series when x=0, (please refer to teechart.jpg)
but in excel, the first point is darwed when x=1. (please refer to excel.jpg)
Does there exist some method to change this behavior in teechart.

Thanks!
Attachments
excel.jpg
excel.jpg (16.91 KiB) Viewed 8043 times
teechart.JPG
teechart.JPG (17.1 KiB) Viewed 7953 times

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Re: Difference between teechart graph and excel graph

Post by Narcís » Thu Nov 21, 2013 11:07 am

Hi rubby,
1. Radar graph
the radar graph in teechart is anticlockwise. but the radar in excel is clockwise.
Does there exist some method to set the radar graph in teechart to clockwise?
I don't find any.
We have already discussed this here.
2. teechart draw the first point of one series when x=0, (please refer to teechart.jpg)
but in excel, the first point is darwed when x=1. (please refer to excel.jpg)
Does there exist some method to change this behavior in teechart.
Sure, use add method with X values starting at any value you like, for example:

Code: Select all

        for (int i = 1; i < 10; i++) {
            line1.add(i,i*i);
        }
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply