2 identical horizontal bar series with mbSelfStack problem

TeeChart for ActiveX, COM and ASP
Post Reply
ESRI
Newbie
Newbie
Posts: 60
Joined: Wed Mar 09, 2005 5:00 am

2 identical horizontal bar series with mbSelfStack problem

Post by ESRI » Wed Mar 01, 2006 2:55 am

Add two identical horizontal bar series with mbSelfStack and the second series is wrong. Here is the code:

static void Main(string[] args)
{
ITChart pChart = new TChartClass();
pChart.SetTheme(EChartTheme.ctExcel, EColorPalette.cpExcel); // just to make chart look nicer
pChart.Aspect.View3D = false;

// add first horizontal bar series
int idx = pChart.AddSeries(ESeriesClass.scHorizBar);
ISeries pSeries = pChart.Series(idx);
pSeries.ColorEachPoint = true;
pSeries.Marks.Visible = false;
IHorizBarSeries pHBarSeries = (IHorizBarSeries)pSeries.asHorizBar;
pHBarSeries.MultiBar = EMultiBar.mbSelfStack;

// add data to the first horizontal bar series
for (int i = 0; i < 7; i++)
pSeries.AddXY(i, i, null, (uint)EConstants.clTeeColor);

// add second bar series
idx = pChart.AddSeries(ESeriesClass.scHorizBar);
pSeries = pChart.Series(idx);
pSeries.ColorEachPoint = true;
pSeries.Marks.Visible = false;
pHBarSeries = (IHorizBarSeries)pSeries.asHorizBar;
pHBarSeries.MultiBar = EMultiBar.mbSelfStack;

// add data to the second horizontal bar series
for (int i = 0; i < 7; i++)
pSeries.AddXY(i, i, null, (uint)EConstants.clTeeColor);

// export graph to observe the problem
IBMPExport pBMP = pChart.Export.asBMP;
pBMP.Height = 250;
pBMP.Width = 600;

pBMP.SaveToFile("c:\\2HorzBarSelfStack.bmp");
}

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Wed Mar 01, 2006 8:35 am

Hi Alex,

It works fine for me here using v7.0.0.7 beta (still not available to customers). Which TeeChart version are you using?

Thanks in advance.
Best Regards,
Narcís Calvet / 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

ESRI
Newbie
Newbie
Posts: 60
Joined: Wed Mar 09, 2005 5:00 am

Post by ESRI » Wed Mar 01, 2006 3:57 pm

7.0.0.6 :)

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Wed Mar 01, 2006 4:00 pm

Hi Alex,

I already sent you v7.0.0.7 Beta for you to test if it solves that issue.
Best Regards,
Narcís Calvet / 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

ESRI
Newbie
Newbie
Posts: 60
Joined: Wed Mar 09, 2005 5:00 am

Post by ESRI » Wed Mar 01, 2006 7:24 pm

Unfortunately it didn't help.
Please see an image depicting a problem posted at steema.public.teechart7.activex with the same subj

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Fri Mar 03, 2006 9:04 am

Hi Alex,

Sorry but I noticed that my test were done using a 3D chart. This only occurs in 2D. It happens to be a known bug and it is almost fixed for the next maintenance release.
Best Regards,
Narcís Calvet / 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

ESRI
Newbie
Newbie
Posts: 60
Joined: Wed Mar 09, 2005 5:00 am

Post by ESRI » Wed Nov 08, 2006 5:14 am

Hello Narcís.

Could you please provide your bug ID number for this request?

Thanks,
Juan

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Wed Nov 08, 2006 1:41 pm

Hi Juan,

Have you been able to reproduce it using v7.0.1.2, the latest maintenance release available at the client area? It should be fixed there.
Best Regards,
Narcís Calvet / 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