Search found 139 matches

by Dave
Mon Mar 02, 2009 4:56 pm
Forum: ActiveX
Topic: How To Return Y-Value of a Series?
Replies: 4
Views: 6645

Narcis

Sorry but you've completely lost me. Im new to working with the TeeChart software.

My compiler doesnt recognise this.

axTChart1.Tools.get_Items(e.tool).asTeeCursor.XVal


I replaced axTChart1 with Chart1 (the name of my chart) but it still doesnt recognise this code.

regards
by Dave
Mon Mar 02, 2009 3:32 pm
Forum: ActiveX
Topic: How To Return Y-Value of a Series?
Replies: 4
Views: 6645

How To Return Y-Value of a Series?

Im still trying to get the point of intersection of a vertical line (Cursor Tool) and a Series on a T-Chart. Im looking for the Y-value of the Series (not a screen co-ord) Im developing a Windows application in Visual C# (not an ASP.NET web -based app). Ive added a TeeChart to a windows form. Its ca...
by Dave
Thu Feb 19, 2009 4:31 pm
Forum: .NET
Topic: Trying to read the number of selected items in ChartListBox
Replies: 6
Views: 9880

Thanks Yeray, Ive got it fixed now.
by Dave
Wed Feb 18, 2009 4:28 pm
Forum: .NET
Topic: Trying to read the number of selected items in ChartListBox
Replies: 6
Views: 9880

Yeray

Thanks. Im still not getting the result I expect though. When I check/uncheck the checkboxes at runtime there is no change in "total".

Can you explain what the following 2 statements do? Thanks.

int b = chartListBox1.SelectedIndices.Count;
int a = chartListBox1.SelectedItems.Count;
by Dave
Wed Feb 18, 2009 9:02 am
Forum: ActiveX
Topic: How do I the Y-value of a Series when I know the X value?
Replies: 3
Views: 5279

Narcis Thanks. Im using; mainCursor.SnapToPoint(); where mainCursor = new Steema.TeeChart.Tools.CursorTool(theChart.Chart); However Ive probably not described the question very well. I have a chart that displays a line (something like a share price graph) and I have added the vertical cursor. So whe...
by Dave
Tue Feb 17, 2009 5:03 pm
Forum: .NET
Topic: Trying to read the number of selected items in ChartListBox
Replies: 6
Views: 9880

Yeray I could do that but may take some time. Perhaps I can try explaining again. I have a ChartListBox control that displays a list (of Series) with checkboxes beside each. I just want to be able to count how many checkboxes are Checked. When the checkbox is checked the series is displayed on the C...
by Dave
Tue Feb 17, 2009 4:32 pm
Forum: ActiveX
Topic: How do I the Y-value of a Series when I know the X value?
Replies: 3
Views: 5279

How do I the Y-value of a Series when I know the X value?

Ive a chart that displays a line. Im using a vertical cursor (set up so it follows the mouse). I can read the x-coord by doing; double x = mainCursor.XValue; If I read the y-value by doing double x = mainCursor.XValue; then Im just getting the mouse y-coord. I want the y-coord of the line. Is there ...
by Dave
Tue Feb 17, 2009 11:52 am
Forum: .NET
Topic: Trying to read the number of selected items in ChartListBox
Replies: 6
Views: 9880

Trying to read the number of selected items in ChartListBox

Hi Ive added several charts to the chart list box called ChartListbox1 eg. public Steema.TeeChart.ChartListBox chartListBox1; Im trying to read how many charts have been selected. So Ive tried both of the following. int a = theController.chartListBox1.SelectedIndices.Count; int b = theController.cha...
by Dave
Tue Feb 17, 2009 11:48 am
Forum: ActiveX
Topic: How Do I change the Width and Make Dashed a Vertical Cursor?
Replies: 2
Views: 4960

Excellent. Thanks Yeray
by Dave
Tue Feb 17, 2009 9:09 am
Forum: ActiveX
Topic: How Do I change the Width and Make Dashed a Vertical Cursor?
Replies: 2
Views: 4960

How Do I change the Width and Make Dashed a Vertical Cursor?

Hi Ive just started working with TeeChart so Im a bit green round the ears. Ive added a cursor (a vertical line) as follows; mainCursor = new Steema.TeeChart.Tools.CursorTool(theChart.Chart); mainCursor.FollowMouse = true; mainCursor.Style = Steema.TeeChart.Tools.CursorToolStyles.Vertical; mainCurso...
by Dave
Thu Nov 20, 2008 10:27 am
Forum: .NET
Topic: Surface Gridding
Replies: 1
Views: 3223

Surface Gridding

Hello,

I am trying to use the gridding as described in the tChart demo:

Welcome !\Chart styles\Extended\Surface\Gridding

However I can't seem to find the grid3dUtils mentioned in the code:

Grid3DUtils.CreateGrid(points3D1,surface1,15);

Can you help? 8)
by Dave
Wed Nov 12, 2008 2:49 pm
Forum: .NET
Topic: Contour with Custom Pallette
Replies: 26
Views: 29737

For future reference my code goes something like this: Point p = contour1.ValuePointToScreenPoint(mainCursor.XValue, mainCursor.YValue); int index = colourGrid1.Clicked(p); timeTB.Text = mainCursor.XValue.ToString(); wavelenTB.Text = mainCursor.YValue.ToString(); intensityTB.Text = contour1.YValues[...
by Dave
Wed Nov 12, 2008 2:43 pm
Forum: .NET
Topic: Contour with Custom Pallette
Replies: 26
Views: 29737

The colourGrid method seems to work perfectly, plus my boss having seen it has decided he wantes to use it as well anyway! :lol:

Thank you very much!
by Dave
Wed Nov 12, 2008 11:53 am
Forum: .NET
Topic: Contour with Custom Pallette
Replies: 26
Views: 29737

Thats fine. So in the meantime is there any way to get the point index or zvalue given the x and y co-ordinates? I.e from the cursor i can get the vertical and horizontal axis positions, and from that I can get the screen location. Given this information is there any working way to get the depth val...
by Dave
Wed Nov 12, 2008 11:39 am
Forum: .NET
Topic: Contour with Custom Pallette
Replies: 26
Views: 29737

Thank you, is there a planned date for the next release, or is it a "when its done" type of thing? :wink: