Page 1 of 1

Last column width

Posted: Mon Jan 23, 2012 8:02 am
by 6920463
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?

Re: Last column width

Posted: Mon Jan 23, 2012 2:49 pm
by 10050769
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,

Re: Last column width

Posted: Mon Feb 27, 2012 1:47 pm
by 6920463
Hi,

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

Re: Last column width

Posted: Tue Feb 28, 2012 1:06 pm
by 6920463
In addition, it seems like something in the axes change.
see axes differences in attached pictures.
axesbuild.JPG
axesbuild.JPG (20.54 KiB) Viewed 12621 times
axesbuild1.JPG
axesbuild1.JPG (23.99 KiB) Viewed 12620 times

Re: Last column width

Posted: Tue Feb 28, 2012 1:16 pm
by 10050769
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,

Re: Last column width

Posted: Tue Feb 28, 2012 1:26 pm
by 6920463
Hi Sandra,
it is very problematic to copy the code. it's complex, we do initiation and configuration on several places,etc.

Re: Last column width

Posted: Wed Feb 29, 2012 12:56 pm
by 6920463
Update:
i fixed the big bar problem with TeeChart.Page.MaxPointsPerPage.

Re: Last column width

Posted: Fri Mar 02, 2012 12:46 pm
by 10050769
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,