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 797 - Option to customize the Marker text in a NumericGauge
Summary: Option to customize the Marker text in a NumericGauge
Status: CONFIRMED
Alias: None
Product: Java TeeChart
Classification: Unclassified
Component: Series (show other bugs)
Version: unspecified
Hardware: PC Windows
: --- enhancement
Target Milestone: ---
Assignee: Steema Issue Manager
URL: http://www.teechart.net/support/viewt...
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-13 04:58 EDT by yeray alonso
Modified: 2014-06-13 04:58 EDT (History)
0 users

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-06-13 04:58:49 EDT
The NumericGauge converts the Value of the Series to a string and draws it.

At drawHand method, in NumericGauge.java:
                    getValueMarker().setText(Double.toString(truncate(getValue())));
getValueMarker().drawText((Graphics3D) g);

- We could add some event to modify the string formatted from the Value before drawing it.
- Use the Marker Text property to draw the text. The Marker setText method is public but the Value seems to be taken to draw the text.