Problem with ARROW series?
Posted: Sun Sep 25, 2005 7:30 am
Hi there,
There appears to be a problem with the ARROW series. I'm using Tchart dotnet 2.0.2040.15119
I have a datatable with 4 columns STARTx, STARTy for the starting point of the line and ENDx,ENDy for the ending point (which should have the arrow head.
my sample data looks like
Startx Starty Endx Endy
10 20 30 40
50 60 70 80
I programatically create an arrow series and assign column names as follows.
examining the series object, it appears that the assignments have worked.
However all my arrows seem to end at 0,0 (this is where the arrow head is) and the start of the line seems to be at point Endy, Starty.
Am I doing something wrong?
Also when a use the TCHART editor to create an arrow series and set the data source to random and the number of samples to 1 I only ever get a vertical arrow , setting samples to 2 or more generates sloping arrows.
There appears to be a problem with the ARROW series. I'm using Tchart dotnet 2.0.2040.15119
I have a datatable with 4 columns STARTx, STARTy for the starting point of the line and ENDx,ENDy for the ending point (which should have the arrow head.
my sample data looks like
Startx Starty Endx Endy
10 20 30 40
50 60 70 80
I programatically create an arrow series and assign column names as follows.
Code: Select all
Dim x As New Steema.TeeChart.Styles.Arrow
x.StartXValues.DataMember = "StartX"
x.StartYValues.DataMember = "StartY"
x.EndXValues.DataMember = "EndX"
x.EndYValues.DataMember = "EndY"
examining the series object, it appears that the assignments have worked.
Code: Select all
- StartXValues {Steema.TeeChart.Styles.ValueList} DataMember "StartX" String
- StartYValues {Steema.TeeChart.Styles.ValueList} DataMember "StartY" String
- EndXValues {Steema.TeeChart.Styles.ValueList} DataMember "EndX" String
- EndYValues {Steema.TeeChart.Styles.ValueList} DataMember "EndY" String
However all my arrows seem to end at 0,0 (this is where the arrow head is) and the start of the line seems to be at point Endy, Starty.
Am I doing something wrong?
Also when a use the TCHART editor to create an arrow series and set the data source to random and the number of samples to 1 I only ever get a vertical arrow , setting samples to 2 or more generates sloping arrows.