Howzit,
I have added the "Drag Marks" tool to my chart - fine, i can drag the labels. However, when i resize the chart, the marks do not stay pointing to the relevant point (usisng a TPointSeries) they are fixed in position on the form. How do i get these mark to move with the points?
Regards,
Gilbert
Label dragging & Chart Resizing
Hi Gilbert,
the problem is when you move the mark, you're actually changing it's screen position (expressed in screen pixels) and new position (in screen pixels!) is stored. Now, when you resize the Chart, series values and axis range do change, but NOT the custom positioned object which use screen pixels (among them the "custom positioned" mark). Perhaps one way to solve this problem would be to store mark position in "axis values"
the problem is when you move the mark, you're actually changing it's screen position (expressed in screen pixels) and new position (in screen pixels!) is stored. Now, when you resize the Chart, series values and axis range do change, but NOT the custom positioned object which use screen pixels (among them the "custom positioned" mark). Perhaps one way to solve this problem would be to store mark position in "axis values"
Pep Jorge
http://support.steema.com
http://support.steema.com