XY scatter Plots

I am trying to foloow the help example to create XY plot from Exploration. My code snippet is:

PEratio = LastValue(Close) / GetFnData( “EPS” ) ;
Clr = ColorHSB( 2 * Status(“stocknum”) % 255, 255, 255 );
XYChartAddPoint( “Num/PEratio”, Name(),Status(“Stocknum”), PEratio[ Length ] , Clr );
XYChartSetAxis(“Num/PEratio”, “[Num]”, “[PEratio]”);

I do not see the extra tab being created at bottom of Analysis Window

1 Like

Hi Ara
what AB version you have ?
i use 6.21 and 6.25 win7 x64 and at the bottom of Analysis Window works fine

testData = 56;
PEratio = LastValue(Close) / testData  ;
Clr = ColorHSB( 2 * Status("stocknum") % 255, 255, 255 );
XYChartAddPoint( "Num/PEratio", Name(),Status("Stocknum"), PEratio[ Length ] , Clr );
XYChartSetAxis("Num/PEratio", "[Num]", "[PEratio]");
1 Like


Thanks Panagioti, the code worked without changes … I must have missed
something before


1 Like

Thank you too.
You made my day today. why?
Ara, you just use the correct Greek grammar when you call my name.
And you call me without the final sigma. And that is correct. Even my wife, when she is angry, she call me WITH the final " ς " to make me upset. :sunglasses:
how you did that? I bet wasn’t by accident.


Panagioti, my personal email is ----email removed----

Moderator comment: It is NOT good idea to publish your private emails on public forum. If you want to give him your email send a PRIVATE MESSAGE instead. (click on user icon to see PM options)

1 Like