Hi Prabakaran
Thanks for your reply. Your sample worked for me and enabled me to find out what was wrong.
The error relates to the order in which properties are defined. This order does not set the marker position correctly:
ColumnSeries col = new ColumnSeries();
ChartDataMarker dataMarker = new ChartDataMarker();
col.DataMarkerPosition = DataMarkerPosition.Center;
col.DataMarker = dataMarker;
This order does set the marker position correctly:
ColumnSeries col = new ColumnSeries();
ChartDataMarker dataMarker = new ChartDataMarker();
col.DataMarker = dataMarker;
col.DataMarkerPosition = DataMarkerPosition.Center;
I suppose the order ought to be of no consequence, but for now awareness of the correct order suffices.
Thanks