Bar series offsets and Teechart for HTML5 documentation

TeeChart for JavaScript for the HTML5 Canvas
Post Reply
dolson
Newbie
Newbie
Posts: 1
Joined: Mon Jun 04, 2012 12:00 am

Bar series offsets and Teechart for HTML5 documentation

Post by dolson » Fri Sep 14, 2012 4:39 pm

On the following chart:

http://www.bankdynamics.com/tc.html

Series1 will always have positive values and Series2 will always have negative. Is there any way to get the bars to line up vertically and not be offset as in a side-by-side bar chart?

On a broader note, is there any better/newer/more in-depth documentation available?

Thank you.

-Dave Olson

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

Re: Bar series offsets and Teechart for HTML5 documentation

Post by Yeray » Wed Sep 26, 2012 9:56 am

Hi Dave,

Excuse us for the delayed reply here.
We've just implemented a new offset property for the Bar and HorizBar series, so you can align the bars with:

Code: Select all

AChart.series.items[0].offset=50;
AChart.series.items[1].offset=-50;
This will be included in 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

Post Reply