public MarkPositions Positions {get;}
Remarks
Use Positions to access Custom position characteristics for Series Marks.
TeeChart for Net has a number of algorithmns that were designed to stop TeeChart SeriesMark overlap. However, if you aren't happy with the automatically generated mark positions, you can always move marks around with code similar to the example below:
(Remember that you could also use the DragMarks Tool to reposition marks on your Chart.)
Example
[C#]
private void Form1_Load(object sender, System.EventArgs e)
tChart1.Aspect.View3D = false;
pie1.FillSampleValues(20);
pie1.Circled = true;
Bitmap b=tChart1.Bitmap;
Steema.TeeChart.Styles.SeriesMarks.Position mp3 =
pie1.Marks.Positions[3];
mp3.Custom=true;
mp3.ArrowTo.X=mp3.ArrowTo.X-50;
mp3.LeftTop.X=mp3.LeftTop.X-50;
pie1.Marks.Positions[5].Custom=true;
pie1.Marks.Positions[5].ArrowTo.Y=pie1.Marks.Positions[5].ArrowTo.Y+50;
pie1.Marks.Positions[5].LeftTop.Y=pie1.Marks.Positions[5].LeftTop.Y+50;
tChart1.Refresh();
See Also
SeriesMarks Class | SeriesMarks Members | Steema.TeeChart.Styles Namespace