Hi,
I am observing a behaviour i cannot explain.
Maybe it's illegal syntax, but i get no errors, only wrong results :-(
This line does what i expect it to do:
cvsGraph.DrawLine(213dip, 325dip, 200dip, 1dip, Colors.red, BR * 1dip)
but, my line starts from a calculated point, so i do this:
cvsGraph.DrawLine((200 + x) * 1dip, 325dip, 200dip, 1dip, Colors.red, BR * 1dip)
And even if x = 13, it produces an unwanted result.
Am i not allowed to insert a calculation ?
edit: if i add the 200 to x before the drawing :
cvsGraph.DrawLine((x * 1dip, 325dip, 200dip, 1dip, Colors.red, BR * 1dip)
doesn't work either, although the one at the end does work.
thanks,
Paul
I am observing a behaviour i cannot explain.
Maybe it's illegal syntax, but i get no errors, only wrong results :-(
This line does what i expect it to do:
cvsGraph.DrawLine(213dip, 325dip, 200dip, 1dip, Colors.red, BR * 1dip)
but, my line starts from a calculated point, so i do this:
cvsGraph.DrawLine((200 + x) * 1dip, 325dip, 200dip, 1dip, Colors.red, BR * 1dip)
And even if x = 13, it produces an unwanted result.
Am i not allowed to insert a calculation ?
edit: if i add the 200 to x before the drawing :
cvsGraph.DrawLine((x * 1dip, 325dip, 200dip, 1dip, Colors.red, BR * 1dip)
doesn't work either, although the one at the end does work.
thanks,
Paul
Last edited: