This is a migrated thread and some comments may be shown as answers.

Point Series as event markers

1 Answer 45 Views
Chart (obsolete as of Q1 2013)
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
travis
Top achievements
Rank 1
travis asked on 15 Apr 2011, 01:52 PM

Could you please provide me with a sample showing how to use the item.add method of the chartseries object that uses ole converted start and end times to provide a double as xvalue1 for a point series?  Is the step from that to a GAntt or Bubble series that great?

 

 

Dim itm As New ChartSeriesItem

 

 

 

Dim startTime As Double = New DateTime(q.Year, q.Month, q.Day, q.Hour, 0, 0, 0).ToOADate()

 

 

itm.XValue = startTime

 

itm.XValue2 = startTime + 1

 

 

 

Dim desc As String = vv.id & " " & vv.Submit_Date & " " & vv.Impact & " " & vv.Status & " " & vv.Description

 

 

itm.YValue = 1

 

 

 

' itm.YValue2 = 2

 

itm.ActiveRegion.Tooltip = desc

itm.PointAppearance.Dimensions.AutoSize =

 

False

 

itm.PointAppearance.Dimensions.Height = 50
itm.PointAppearance.Dimensions.Width = 50

s.AddItem(itm)

 

 

Next

 



 No matter what I set the pointappearance dimensions to I can't get the points to change size.
 if I were to convert the point series to a Gantt series or bubble series could you help me understand how I would increment the y2 and x2 values?  Did I do this appropriately in my sample code?

Thanks.

1 Answer, 1 is accepted

Sort by
0
Evgenia
Telerik team
answered on 20 Apr 2011, 03:47 PM
Hello travis,

Could you elaborate a bit more on the issue you are facing cause it is hard for me to understand what do you have problems with. The size of the Points is correctly set in your code. Do you use a Gantt or Point chart?

All the best,
Evgenia
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Chart (obsolete as of Q1 2013)
Asked by
travis
Top achievements
Rank 1
Answers by
Evgenia
Telerik team
Share this question
or