Empty Mark Text displays Value on Chart
Posted: Tue May 02, 2006 3:36 pm
Hi!
Little problem: I only want to see on defined points custom mark text, the other marks should not be visible in the chart.
e.g.:
In this example the empty strings on Point 2 and 4 are ignored and a mark is displayed on the chart. Is it possible to adjust the chart to not display the empty marks? I calculate in a different sub wheter the actual point is an extrem point or not and adjust the label according the result...
Thanks in advance!
Alex
Little problem: I only want to see on defined points custom mark text, the other marks should not be visible in the chart.
e.g.:
Code: Select all
With TChart1
.Series.Clear()
.Aspect.View3D = False
Dim Test_ As New Steema.TeeChart.Styles.Line(.Chart)
With Test_
.Add(-10, 50, "Maximum")
.Add(0, 20, "")
.Add(10, 25, "Local Max")
.Add(20, 20, "")
.Add(30, -10, "Minimum")
End With
With Test_.Marks
.Visible = True
.Style = Steema.TeeChart.Styles.MarksStyles.Label
End With
.Axes.Bottom.Labels.Style = Steema.TeeChart.AxisLabelStyle.Value
End With
Thanks in advance!
Alex