Recent

Author Topic: Scale logarithmic in TOpenHighLowClose.  (Read 5263 times)

Arthurus

  • New Member
  • *
  • Posts: 23
Scale logarithmic in TOpenHighLowClose.
« 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

Thank.

Ask

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 687
Re: Scale logarithmic in TOpenHighLowClose.
« Reply #1 on: December 14, 2012, 12:00:07 pm »
You probably did not set AxisIndexY property.

See documantation and tutorial to learn more.

Arthurus

  • New Member
  • *
  • Posts: 23
Re: Scale logarithmic in TOpenHighLowClose.
« Reply #2 on: December 17, 2012, 08:05:04 pm »
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.

Ask

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 687
Re: Scale logarithmic in TOpenHighLowClose.
« Reply #3 on: December 18, 2012, 04:50:42 am »
Quote
no way to put the values ​​well
First, is your previous problem solved?

Quote
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.

Arthurus

  • New Member
  • *
  • Posts: 23
Re: Scale logarithmic in TOpenHighLowClose.
« Reply #4 on: December 18, 2012, 09:59:54 am »
Quote
First, is your previous problem solved?
Color price in TOpenHighLowCloseSeries? -> Yes.

Quote
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/img171/3304/itxmal.jpg

scale Decimal: well:
http://imageshack.us/a/img12/7531/tefbien.jpg
http://imageshack.us/a/img89/4382/itxbien.jpg

Ask

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 687
Re: Scale logarithmic in TOpenHighLowClose.
« Reply #5 on: December 18, 2012, 11:02:45 am »
Quote
logarithmic scale: bad
Did you set AxisIndexY according to my first reply in this topic?

Arthurus

  • New Member
  • *
  • Posts: 23
Re: Scale logarithmic in TOpenHighLowClose.
« Reply #6 on: December 18, 2012, 03:25:46 pm »
Quote
...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.

 

TinyPortal © 2005-2018