MultiBar.mbSide property problem with update

TeeChart for ActiveX, COM and ASP
Post Reply
François Fustin
Posts: 19
Joined: Fri Apr 24, 2009 12:00 am

MultiBar.mbSide property problem with update

Post by François Fustin » Tue Oct 09, 2012 12:41 pm

Hye everbody,

Recently I updated my TeeChart OCX previous version to the last one And I have now a problem with some of my graphs in my program without changing any piece of code.

Here, the main part of the initialization code of my graph (I don't put all the code that are not necessary for the problem):

m_TChartValves.AddSeries( scHorizBar );
m_TChartValves.Series( 0 ).GetAsHorizBar().SetMultiBar( mbSide );
m_TChartValves.Series( 1 ).GetAsHorizBar().SetMultiBar( mbSide );
m_TChartValves.Series( 0 ).GetAsHorizBar().SetAutoBarSize( TRUE );
m_TChartValves.Series( 1 ).GetAsHorizBar().SetAutoBarSize( TRUE );
m_TChartValves.Series( 0 ).GetAsHorizBar().SetBarStyle( bsRectGradient );
m_TChartValves.Series( 1 ).GetAsHorizBar().SetBarStyle( bsRectGradient );

As you can see in the image attached, in version, the blue horizontal bar well overrides the orange bar (there are both on the same z-axis coordinate). But with the last update the orange bar overrides the blue one (as if the blue bar is drawn deeper on the z-axis).

How can I change that to retrieve my first graph version? Is there new properties or another that I can use ?

Thanks a lot four your help.

2012-10-09 - v8.0.0.5.jpg
Good version
2012-10-09 - v8.0.0.5.jpg (59.47 KiB) Viewed 4477 times
2012-10-09 - v8.0.1.3.jpg
Bad version
2012-10-09 - v8.0.1.3.jpg (59.74 KiB) Viewed 4469 times

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

Re: MultiBar.mbSide property problem with update

Post by Yeray » Tue Oct 09, 2012 2:01 pm

Hi François,

You are right. This was broken with v8.0.1.0, but it works fine with the actual v2012.0.0.7. So the options I see:
- Upgrade to the actual v2012.0.0.7
- Go back to v8.0.0.8.
- Try to find a workaround for the latest v8, v8.0.1.3. I can't think on anyone right now. Note the Bar series has been deeply modified in v2012.
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