TeeChart Java v3.2013.1219 version update announcement

TeeChart for Java (NetBeans, Eclipse, Android Studio, etc)
Post Reply
Marc
Site Admin
Site Admin
Posts: 1272
Joined: Thu Oct 16, 2003 4:00 am
Location: Girona
Contact:

TeeChart Java v3.2013.1219 version update announcement

Post by Marc » Thu Dec 19, 2013 4:01 pm

Greetings,

Announcing the new version release of TeeChart Java v2013, Build 3.2013.1219. All TeeChart Java libraries have been updated supporting Swing, SWT, Android and Blackberry.

- TeeChart for Java version includes libraries for Swing and SWT.
- TeeChart for Java Suite version includes libraries for Swing, SWT, Android and BlackBerry.
- TeeChart for Android and TeeChart for BlackBerry are available as separate products

Both available with or without 100% SourceCode.

Ordering
TeeChart Java and TeeChart Java Suite v2013 may be ordered via the following page:
http://www.steema.com/order/java/n

Evaluation version
An evaluation version is available via the download form at:
http://www.steema.com/evaluation/java

Release notes may be viewed at http://www.steema.com/versioninfo/java.

Regards!
Marc Meumann
Steema Support

Saman
Newbie
Newbie
Posts: 6
Joined: Fri May 16, 2014 12:00 am

Re: TeeChart Java v3.2013.1219 version update announcement

Post by Saman » Wed May 21, 2014 9:09 am

Hi,

When you use DateTime as chart X axis, the graph is not align properly. It always shifts to right.

Can you please check and let me know.

this is the code i used

Code: Select all

@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_main);
		
		
		
		LinearLayout group = (LinearLayout) findViewById(R.id.teeChart);
		chart = new TChart(this);
		group.addView(chart);
		
		
		chart.getPanel().setBorderRound(7);
		chart.getAspect().setView3D(false);
		
		
		//common graph settings
		chart.getLegend().setAlignment(LegendAlignment.BOTTOM);
		chart.getLegend().setLegendStyle(LegendStyle.SERIES);
		chart.getLegend().getFont().setSize(20);
		
		chart.getHeader().getFont().setSize(25);
		
		chart.getAxes().getLeft().getTitle().getFont().setSize(15);
		
		chart.getAxes().getLeft().getLabels().getFont().setSize(15);
		
		chart.getAxes().getBottom().getLabels().getFont().setSize(15);
		
		ThemesList.applyTheme(chart.getChart(), 1);
		
		try 
		{
			series = Series.createNewSeries(chart.getChart(), Line.class, null);

			series.getXValues().setDateTime(true);
			
			series.add(new DateTime(2014, 05, 16), 5);
			series.add(new DateTime(2014, 05, 17), 8);
			series.add(new DateTime(2014, 05, 18), 3);
			series.add(new DateTime(2014, 05, 19), 4);
			series.add(new DateTime(2014, 05, 20), 0);
			
			
			series.getMarks().setArrowLength(0);
			series.getMarks().getFont().setSize(15);
			
			chart.getAxes().getBottom().getLabels().setDateTimeFormat("dd MMM");
			
			chart.getAxes().getBottom().setIncrement(Utils.getDateTimeStep(DateTimeStep.ONEDAY));
			
		}
		catch (Exception e) 
		{
			e.printStackTrace();
		}
	}
Thanks
Saman

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

Re: TeeChart Java v3.2013.1219 version update announcement

Post by Yeray » Wed May 21, 2014 10:49 am

Hi Saman,

I see you made the same question twice...
I'll reply you here 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

Post Reply