Page 1 of 1

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

Posted: Mon Jul 11, 2011 8:15 pm
by 7667590
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);
	}

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

Posted: Tue Jul 12, 2011 10:53 am
by yeray
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.

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

Posted: Tue Jul 12, 2011 2:27 pm
by 7667590
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

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

Posted: Wed Jul 13, 2011 8:39 am
by yeray
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

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

Posted: Wed Jul 13, 2011 2:21 pm
by 7667590
Hi Yeray,

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

Thanks,
Jonathan

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

Posted: Fri Jul 15, 2011 2:57 pm
by yeray
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.

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

Posted: Fri Jul 15, 2011 3:00 pm
by 7667590
Great. Thanks..

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

Posted: Mon Jul 18, 2011 12:04 pm
by yeray
Hello Jonathan,

We've just uploaded the new installer. You can download it with your license information.
http://www.steema.com/clientaccess