a missing point when the bottom axis gets inverted (line)

TeeChart for Java (NetBeans, Eclipse, Android Studio, etc)
Post Reply
Jonathan
Newbie
Newbie
Posts: 60
Joined: Tue Mar 11, 2008 12:00 am
Location: Austin

a missing point when the bottom axis gets inverted (line)

Post by Jonathan » Mon Jul 11, 2011 8:15 pm

Hi,

I have a simple line chart. When I invert the bottom axis, the second point from the last is always missing on the chart. Is this a known bug? If so, is there any workaround for this issue?
Here is a run-as example.

Code: Select all

	public static void main(String[] args) {
		JFrame frame = new JFrame();
		JPanel panel = new JPanel();
		panel.setSize(600, 600);
		TChart chart = new TChart();
		Map<Integer, String> xLabelMap = new HashMap<Integer, String>();
		
		panel.add(chart);
		
		Line l = new Line(chart.getChart());
		l.add(0, 1, "A");
		l.add(1, 2, "B");
		l.add(2, 3, "C");
		l.add(3, 4, "D");
		l.getPointer().setVisible(true);
		
		chart.getAxes().getBottom().setInverted(true);
		
		chart.getAspect().setView3D(false);
		
		frame.add(panel);
		frame.setSize(600, 600);
		frame.setVisible(true);
	}

Yeray
Site Admin
Site Admin
Posts: 9622
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: a missing point when the bottom axis gets inverted (line)

Post by Yeray » Tue Jul 12, 2011 10:53 am

Hello Jonathan,

You are right. I've reproduced it with the v2 but it seems to work fine with the actual sources so it should be fixed with the next maintenance release.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Jonathan
Newbie
Newbie
Posts: 60
Joined: Tue Mar 11, 2008 12:00 am
Location: Austin

Re: a missing point when the bottom axis gets inverted (line)

Post by Jonathan » Tue Jul 12, 2011 2:27 pm

Hi Yeray,

When would be the next maintenance release? Also, is there a way for me to get an email notification when the release takes place?

Thanks,
Jonathan

Yeray
Site Admin
Site Admin
Posts: 9622
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: a missing point when the bottom axis gets inverted (line)

Post by Yeray » Wed Jul 13, 2011 8:39 am

Hello,

We would like to add some more features and correct some more bugs before publishing the v3.
I've added the mail you have registered into this forums to the notification list for the next TeeChart Java release. Hoewver, I'd recommend you to be aware at the typical channels for new release announcements and what's implemented on them:
- Support forum
- RSS news feed
- Twitter
- Facebook
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Jonathan
Newbie
Newbie
Posts: 60
Joined: Tue Mar 11, 2008 12:00 am
Location: Austin

Re: a missing point when the bottom axis gets inverted (line)

Post by Jonathan » Wed Jul 13, 2011 2:21 pm

Hi Yeray,

Since the fix is already in the actual sources, could you guys generate a patch/v3-beta version for customers?

Thanks,
Jonathan

Yeray
Site Admin
Site Admin
Posts: 9622
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: a missing point when the bottom axis gets inverted (line)

Post by Yeray » Fri Jul 15, 2011 2:57 pm

Hello Jonathan,

We've applied the fix to the v2 sources and we are preparing the installers right now. We'll give you the link to download the installer asap.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Jonathan
Newbie
Newbie
Posts: 60
Joined: Tue Mar 11, 2008 12:00 am
Location: Austin

Re: a missing point when the bottom axis gets inverted (line)

Post by Jonathan » Fri Jul 15, 2011 3:00 pm

Great. Thanks..

Yeray
Site Admin
Site Admin
Posts: 9622
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: a missing point when the bottom axis gets inverted (line)

Post by Yeray » Mon Jul 18, 2011 12:04 pm

Hello Jonathan,

We've just uploaded the new installer. You can download it with your license information.
http://www.steema.com/clientaccess
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Post Reply