Page 1 of 1

drag marks or automatic positions?

Posted: Fri Dec 11, 2015 4:18 pm
by 16475383
Is there a function that will help prevent overlap of marks for a pointseries? I see some likely sounding options but I have not been able to see any difference that they make. I am also having a problem enabling the dragging of marks. The demo works but not in my code even though I believe I have copied all the necessary elements. There must be some trick. Are there more examples or more extensive tutorials or explanations of how to position marks or enabling dragging?


Re: drag marks or automatic positions?

Posted: Mon Dec 14, 2015 8:23 am
by yeray

You can find examples of both using the TDragMarksTool and algorithms to custom position the marks here in these forums. Ie:
- Adding a TDragMarksTool to a TBarSeries here.
- Custom positioning the marks in a TBarSeries here.

Both examples use a TBarSeries instead of a TPointSeries, but it should be the same.