Hi,
I have XY Plot two dimensions Chart
I create a label in which I need two things to do 1.show it offset from the
point
and also 2. mark the point as a dot. Can you let me know if this is
possible.
Right now this is how I am doing it. But The offset doesn't seem to
work.
Please help! With a better solution.
Thanks.
With Chart2D1.ChartLabels.LabelsCollection(2) 'User Selection
.AttachMethod = AttachMethodEnum.DataCoordinate
'.AttachMethod = AttachMethodEnum.DataIndex
'.AttachMethodData.GroupIndex = 0
'.AttachMethodData.SeriesIndex = 1
'.AttachMethodData.PointIndex = 2
.AttachMethodData.X = CFM
.AttachMethodData.Y = StaticPresure
'ds.SeriesCollection.Add(ps);
'ps.Style.SymbolStyle.Shape = SymbolShapeEnum.Dot;
'ps.Style.SymbolStyle.Size = 10;
'.Compass = LabelCompassEnum.SouthEast
'.Style.HatchStyle = HatchStyleEnum.ZigZag
.Style.ImageAlignment = AlignImageEnum.Bottom
.Style.VerticalAlignment = AlignVertEnum.Bottom
.TooltipText = "HJGHJHGHJ"
.Offset = 500
.Text = "User Selection" '(CFM:" & CFM & ",SP:" &
StaticPresure
& ")"
.Visible = True
End With
With
Chart2D1.ChartGroups.ChartGroupsCollection(0).ChartData.SeriesList(1)
'.PointData(0) = CFM
.X.Clear()
.Y.Clear()
.X.Add(CFM)
.Y.Add(StaticPresure)
'.PointData(CFM, StaticPresure)
.TooltipText = "dasdsa"
'.SymbolStyle
.Label = "dasdads"
'.Y.CopyDataIn(StaticPresure)
.Offset = 1000
end with
Thanks,