Last column width

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
MShefi
Newbie
Newbie
Posts: 20
Joined: Fri Nov 15, 2002 12:00 am

Last column width

Post by MShefi » Mon Jan 23, 2012 8:02 am

Hi,

i have a problem with the last column width in bars series.
all the other bars are in the same size and the last bar gets a different size.
in addition, when i have two groups of data with some space between, the last bar of the first group resize and stretch to join the first bar of the second group.
see attached screenshots.

i tried to change offsetPercent and BarWidthPercent but i couldn't solve it. i don't want to set CustomBarWidth because i will lose the ability of the teechart to change the bar size as a function of the size.

i just want that the last bar will be in the same size of the others.

what can i do?
Attachments
tchart2.JPG
tchart2.JPG (21.31 KiB) Viewed 12709 times
tchart1.JPG
tchart1.JPG (23.35 KiB) Viewed 12658 times

Sandra
Site Admin
Site Admin
Posts: 3132
Joined: Fri Nov 07, 2008 12:00 am

Re: Last column width

Post by Sandra » Mon Jan 23, 2012 2:49 pm

Hello MShefi,

I recommend take a look in the Demo project, concretely in this sample All Features\Welcome !\Chart styles\Standard\Bar\Bar Size example that I think allow you achieve as you want.

Thanks,
Best Regards,
Sandra Pazos / 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

MShefi
Newbie
Newbie
Posts: 20
Joined: Fri Nov 15, 2002 12:00 am

Re: Last column width

Post by MShefi » Mon Feb 27, 2012 1:47 pm

Hi,

i saw the example in the demo, but i can't find "SizeValues" property in my series.

MShefi
Newbie
Newbie
Posts: 20
Joined: Fri Nov 15, 2002 12:00 am

Re: Last column width

Post by MShefi » Tue Feb 28, 2012 1:06 pm

In addition, it seems like something in the axes change.
see axes differences in attached pictures.
axesbuild.JPG
axesbuild.JPG (20.54 KiB) Viewed 12612 times
axesbuild1.JPG
axesbuild1.JPG (23.99 KiB) Viewed 12611 times

Sandra
Site Admin
Site Admin
Posts: 3132
Joined: Fri Nov 07, 2008 12:00 am

Re: Last column width

Post by Sandra » Tue Feb 28, 2012 1:16 pm

Hello Mshefi,

Can you please send us a simple example because we can reproduce your problem here and try to find a good solution for you?

Thanks,
Best Regards,
Sandra Pazos / 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

MShefi
Newbie
Newbie
Posts: 20
Joined: Fri Nov 15, 2002 12:00 am

Re: Last column width

Post by MShefi » Tue Feb 28, 2012 1:26 pm

Hi Sandra,
it is very problematic to copy the code. it's complex, we do initiation and configuration on several places,etc.

MShefi
Newbie
Newbie
Posts: 20
Joined: Fri Nov 15, 2002 12:00 am

Re: Last column width

Post by MShefi » Wed Feb 29, 2012 12:56 pm

Update:
i fixed the big bar problem with TeeChart.Page.MaxPointsPerPage.

Sandra
Site Admin
Site Admin
Posts: 3132
Joined: Fri Nov 07, 2008 12:00 am

Re: Last column width

Post by Sandra » Fri Mar 02, 2012 12:46 pm

Hello MShefi,

Sorry for the delay. I have made a simple project where I using a custom Bar Series to achieve as you want.
BarSeries.zip
(19.79 KiB) Downloaded 720 times
Can you tell us if attached project works as you want?

Thanks,
Best Regards,
Sandra Pazos / 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