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 545 - [TV52013327] MaxValueIndicator in Linear Gauge Series is initialized to 100
Summary: [TV52013327] MaxValueIndicator in Linear Gauge Series is initialized to 100
Status: IN_PROGRESS
Alias: None
Product: VCL TeeChart
Classification: Unclassified
Component: Series (show other bugs)
Version: 131119
Hardware: PC Windows
: --- enhancement
Target Milestone: ---
Assignee: Steema Issue Manager
URL: http://www.teechart.net/support/viewt...
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-22 10:12 EST by yeray alonso
Modified: 2014-01-23 10:35 EST (History)
2 users (show)

See Also:
Chart Series: ---
Delphi / C++ Builder RAD IDE Version:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description yeray alonso 2014-01-22 10:12:05 EST
TLinearGauges' constructor initializes IMaxValue with 100 and also sets the Value property to Random(100).

If the Value of IMaxValue is used to display the highest value the gauge ever had:
* IMaxValue should be initialized to 0
* Value should be initialized to 0
* There should be method for resetting IMaxValue to 0

Another good think would be to have the ability to assign a specific value for the MaxValueIndicator manually, something like Series1.MaxValueIndicator.Value:=X. Then, the reset method above should set IMaxValue to this default value.
 
An additional feature request would be to have the possibility to add more indicators to indicate custom values.
Comment 1 david berneda 2014-01-22 10:33:50 EST
One solution could be adding a new public property to change IMaxValue.

I've just fixed several other bugs, Linear Gauge needs a little bit more attention.