Hi all,
I am trying to make a graph, However, I get an error message, but I don't have any idea where it comes from.
Here is my program:
graph = RAW_DATA_TABLE << Graph Builder(
Size( 450, 400 ),
Show Legend( 0 ),
Show Control Panel( 0 ),
Variables( X( :Numéro de lot ), Y( Eval( defaut ) ),
Elements( Points( X, Y, Legend( 2 ) ) ),
SendToReport(
Dispatch(
{},
Eval( defaut ),
ScaleBox,
{Add Ref Line( Seuil1, "Solid", "blue", "Seuil d'action =" || Char( Seuil1 ), 2 ), Add Ref Line(
Seuil2, "Solid", "Green", "Seuil d'alerte =" || Char( Seuil2 ), 2
)}
),
)
))
The error is from the : Elements( Points( X, Y, Legend( 2 ) ) ),
Here is the message I got:
The specified column could not be found in the data table. when accessing or evaluating "Elements", Elements( Points( X, Y, Legend( 2 ) ) ) /*###*/
Any suggestion of the problem?
Thanks a lot,
Sébastien