You are on page 1of 1

void OnChartEvent(const int id, // Event ID

const long& lparam, // Event parameter long type


const double& dparam, // Event parameter double type
const string& sparam // Event parameter string type

)
{
// when the mouse button was clicked
if(id==CHARTEVENT_CLICK)
{
Comment("You pressed the mouse at the following coordinates: x = ",lparam,"
y = ",dparam);
}
}

You might also like