Page 1 of 1

Series Marks Problem

Posted: Sat Feb 24, 2007 1:49 pm
by 9080944
Hello,

Through code we define the format/settings for the chart to be populated, i.e. Series, Axis Titles. Marks etc.

We are having a problem with Series.Marks. We can set the Marks to visible and set any Marks parameters in code. When we populate and display the chart, the marks are not appearing.

The settings for the Marks are getting correctly assigned as we can view them in the Chart Editor dialog. In fact, if we open up the Chart Editor dialog and untick "Marks Visible" property and then tick it again, the marks appear?

The marks will also appear if we place a breakpoint in the code.

It seems that if we either 1) manually tick/untick a marks related setting in the chart editor dialog or 2) place a breakpoint in our code the Marks will appear.

Also, it should be noted that we add a Tool to the chart to enable the Marks tobe moveable/dragable. After we make the Marks visible on the chart and attempt to move one, the marks dissappear off the chart!

Any help if appreciated.

Kind Regards
Anthony

Posted: Sun Feb 25, 2007 2:57 am
by 9080944
Just a quick update;

We managed to find the error. For the chart concerned it was also calling a OnGetSeriesMark function which was causing the Series.Marks to disappear.

The solution was to ensure that the OnGetSeriesMark was not called for the chart which we wanted to display the Chart.Series.Marks.

All is fixed!

:D