Lazarus
Programming => Graphics and Multimedia => TAChart => Topic started by: Arthurus on December 14, 2012, 09:33:32 am
-
Hello
How to change the format on a scale logarithmic in Chart1OpenHighLowCloseSeries1 out price with 3 decimal places?
See: http://imageshack.us/a/img189/5930/repsolmal.jpg (http://imageshack.us/a/img189/5930/repsolmal.jpg)
Thank.
-
You probably did not set AxisIndexY property.
See documantation (http://wiki.lazarus.freepascal.org/TAChart_documentation#Axis_transformations) and tutorial (http://wiki.lazarus.freepascal.org/TAChart_Tutorial:_ListChartSource,_Logarithmic_Axis,_Fitting) to learn more.
-
no way to put the values well.
If I put style=smvalue, format changes to "%0:0.9g" automatically.
I need to format "#,##0.##0" or "%4.3n" with smvalue. But do not do it.
I leave it in decimal.
greetings.
-------------------------------------------------------------------
no hay manera de poner los valores bien.
Si pongo style=smvalue, format cambia a "%0:.9g" automáticamente
Necesito poner formato "#,##0.##0" o "%4.3n" con smvalue. Pero no sé hacerlo.(o no se puede).
Lo dejo en decimal.
Un saludo.
-
no way to put the values well
First, is your previous problem solved?
I need to format "#,##0.##0" or "%4.3n" with smvalue
Set Marks.Format = '%0:4.3n'.
The Style will automatically change to smsCustom, which is fine.
-
First, is your previous problem solved?
Color price in TOpenHighLowCloseSeries? -> Yes.
Set Marks.Format = '%0:4.3n'.
The Style will automatically change to smsCustom, which is fine.
logarithmic scale: bad
http://imageshack.us/a/img405/1159/tefmal.jpg (http://imageshack.us/a/img405/1159/tefmal.jpg)
http://imageshack.us/a/img171/3304/itxmal.jpg (http://imageshack.us/a/img171/3304/itxmal.jpg)
scale Decimal: well:
http://imageshack.us/a/img12/7531/tefbien.jpg (http://imageshack.us/a/img12/7531/tefbien.jpg)
http://imageshack.us/a/img89/4382/itxbien.jpg (http://imageshack.us/a/img89/4382/itxbien.jpg)
-
logarithmic scale: bad
Did you set AxisIndexY according to my first reply in this topic?
-
...AxisIndexY...
Ah!, yes....
In your first reply I had confused with marks.YIndex
Problem solved. Thanks you.
(PD/You can put also resolved 'Color price in TOpenHighLowCloseSeries'). Thanks again.