Steema Issues Database

Note: This database is for bugs and wishes only. For technical support help, if you are a customer please visit our online forums;
otherwise you can use StackOverflow.
Before using this bug-tracker we recommend a look at this document, Steema Bug Fixing Policy.



Bug 387

Summary: [TW77012916] We actually tried this version after finding out that custom axis dis...
Product: .NET TeeChart Reporter: narcís calvet <narcis>
Component: WebChartAssignee: Steema Issue Manager <issuemanager>
Status: CONFIRMED ---    
Severity: major    
Priority: Normal    
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Chart Series: --- Delphi / C++ Builder RAD IDE Version:

Description narcís calvet 2013-11-20 11:26:56 EST
Custom axis disappears as soon as adding the ScrollBar tool.
Please, use a ScrollBarTool to add a scroll bar to the chart (not the legend) in an ASP.net project.
 
I could reproduce this here using this code:
protected void Page_Load(object sender, EventArgs e)
 {
 Steema.TeeChart.Chart ch1 = WebChart1.Chart;
 Steema.TeeChart.Styles.Line line1 = new Steema.TeeChart.Styles.Line(ch1);

 line1.FillSampleValues();

 Steema.TeeChart.Axis axis1 = new Steema.TeeChart.Axis();
 ch1.Axes.Custom.Add(axis1);
 axis1.AxisPen.Color = System.Drawing.Color.Red;

 line1.CustomVertAxis = axis1;

 ch1.Panel.MarginLeft = 10;
 }

 protected void Button1_Click(object sender, EventArgs e)
 {
 Steema.TeeChart.Tools.ScrollTool sb1 = new Steema.TeeChart.Tools.ScrollTool(WebChart1.Chart);
 } [created:2008-03-18T15:35:54.000+01:00 reported by:narcis@steema.com reported in version:Build 3.2.2980.19081 (TeeChart for .NET)]