Group: Forum Members
Last Active: 13 Years Ago
Posts: 0,
Visits: 1
|
Hi, I am creating a xy point plot in winchart and need to add interactivity style so it will display the point values when mouse is over the point, below is my vb code, somehow it doesn't work-----no value displayed when mouse is over the point, can somebody give me advice? thanks. Dim point As NPointSeries = chart.Series.Add(SeriesType.Point)point.Name = "Point1"point.InflateMargins = Truepoint.DataLabelStyle.Visible = Falsepoint.FillStyle = New NColorFillStyle(Color.Red)point.BorderStyle.Width = New NLength(1)point.Size = New NLength(5, NRelativeUnit.ParentPercentage)point.PointShape = PointShape.Bar' point.InteractivityStyles(0) = interactivityStylepoint.UseXValues = TrueFor I = 0 To 10point.XValues.Add(0.01 + I) point.Values.Add(0.01 + I) point.InteractivityStyles.Add(I, New NInteractivityStyle(CStr(I), CursorType.Hand))Nextchart1.Refresh()
|