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 1057

Summary: Legend Scroll Bar Tool arrows don't keep the custom color you set.
Product: .NET TeeChart Reporter: sandra pazos <sandra>
Component: ToolsAssignee: Steema Issue Manager <issuemanager>
Status: RESOLVED FIXED    
Severity: normal CC: chris
Priority: Normal    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows   
Chart Series: --- Delphi / C++ Builder RAD IDE Version:

Description sandra pazos 2014-12-23 07:32:25 EST
Legend Scroll Bar Tool arrows don’t keep the custom color you set and back to default color (black). Basically, you can set a certain (solid) color to the arrows, but every time when you click on these arrows or move the bar they become darker (the rgb values are decreased with 32) until the color eventually becomes black.  To reproduce the problem use code below: 
 private Steema.TeeChart.Styles.Line line1;
        private Steema.TeeChart.Tools.LegendScrollBar tool1; 
        private void InitializeChart()
        {
           tChart1.Aspect.View3D = false;
           line1 = new Steema.TeeChart.Styles.Line(tChart1.Chart);
           line1.FillSampleValues(100);
           tool1 = new Steema.TeeChart.Tools.LegendScrollBar(tChart1.Chart);
           tool1.ArrowBrush.Color = Color.Red; 
        }