Search found 16 matches

by tirby
Fri Aug 09, 2013 8:34 pm
Forum: ActiveX
Topic: Setting Number of Horizontal Grid Lines While Zooming
Replies: 2
Views: 7707

Re: Setting Number of Horizontal Grid Lines While Zooming

Yeray,

Thanks for the info.

That got me started in the right direction.
I also had to set the min.Separation % to 0 to keep the 20 lines from disappearing if the graph height is set to short.
I modified the code to cover both left and right axis.
by tirby
Wed Aug 07, 2013 9:10 pm
Forum: ActiveX
Topic: Using TeeChart Print Preview & TeePreviewPanel
Replies: 3
Views: 9921

Re: Using TeeChart Print Preview & TeePreviewPanel

Thanks for looking at this.
Do you have a release date for the corrections?
by tirby
Wed Aug 07, 2013 9:04 pm
Forum: ActiveX
Topic: Setting Number of Horizontal Grid Lines While Zooming
Replies: 2
Views: 7707

Setting Number of Horizontal Grid Lines While Zooming

Hello,

The graph is setup to follow the 1-2-5 rule across 20 horizontal lines for the Y-Axis of the grid during normal view.
My customer is requesting that the number of horizontal grid lines remain constant (20 Lines) while in Zoomimg or Panning.
How can I do this?

Thanks
by tirby
Fri Jul 26, 2013 6:53 pm
Forum: ActiveX
Topic: Using TeeChart Print Preview & TeePreviewPanel
Replies: 3
Views: 9921

Using TeeChart Print Preview & TeePreviewPanel

Hi, I'm not having much luck finding all the info on this subject. Once I have entered text using TeePreviewPanel1.Canvas.TextOut TeePreviewPanel1.PaperRect.... I launch the Print Preview dialog. The graph shows up including in the correct position as where it was set in the TeePreviewPanel, however...
by tirby
Thu Jun 27, 2013 2:28 am
Forum: ActiveX
Topic: DLine Axis Assignment Reference issue
Replies: 13
Views: 26420

Re: DLine Axis Assignment Reference issue

Yeray,
Thanks so much! That solved the problem.

And as for the "Overflow" error when zooming - In recalcPositions(),
I changed the 4 startX-Y, endX-Y from integers to doubles.

Thanks again!
by tirby
Sat Jun 22, 2013 2:22 pm
Forum: ActiveX
Topic: DLine Axis Assignment Reference issue
Replies: 13
Views: 26420

Re: DLine Axis Assignment Reference issue

Yeray, Thank you for looking at this project/issue. I downloaded the project you modified with the addition of the 2 buttons and 2 labels.I also reviewed and made the modifications you suggested. In General: Added: Dim markStartPos(2) As TeePoint2D In Form_Load(), added: markStartPos(0).X = 700 mark...
by tirby
Thu Jun 20, 2013 3:33 am
Forum: ActiveX
Topic: DLine Axis Assignment Reference issue
Replies: 13
Views: 26420

Re: DLine Axis Assignment Reference issue

Yeray, Thanks for all your help! I started a new test project using the code you posted on Tuesday, June 18, 2013. I see that you are using markStartIndex(x) to point to which data point to use in calculating the X-Y for the Rectangle and Arrow. This method doesn’t work within the parameters of the ...
by tirby
Mon Nov 29, 2010 5:53 pm
Forum: ActiveX
Topic: Different type of graph
Replies: 1
Views: 4883

Different type of graph

Hello,

Attached is a Bitmap of a graph control I need to produce. Can TeeChart do something like this?

If the graphics portion can be produced, I'll post the functional requirements!

Thanks
by tirby
Thu Nov 11, 2010 4:55 pm
Forum: .NET
Topic: Obtaining Index of Rectangle Array
Replies: 11
Views: 15725

Re: Obtaining Index of Rectangle Array

Thanks for all your help Narcis.

One last question:

How do I change the color of the text in the retangle tool?

Thanks!
by tirby
Wed Nov 10, 2010 7:00 pm
Forum: .NET
Topic: Obtaining Index of Rectangle Array
Replies: 11
Views: 15725

Re: Obtaining Index of Rectangle Array

I was using version 3.5.3371.26406 I upgraded to version 3.5.3700.30575 This made no difference, the problem still persists. Using: TChart1.Tools.Remove(recti) works in this instance. The fact that the Index shifts seems inconsequential at this point. However, below is a series of steps to re-produc...
by tirby
Tue Nov 09, 2010 10:59 pm
Forum: .NET
Topic: Obtaining Index of Rectangle Array
Replies: 11
Views: 15725

Re: Obtaining Index of Rectangle Array

Thanks Narcis, I have modified the routine as such: Private Sub rectangle_Click(ByVal sender As Object, ByVal e As MouseEventArgs) Dim recti As Steema.TeeChart.Tools.RectangleTool = CType(sender, Steema.TeeChart.Tools.RectangleTool) Dim c As Integer = TChart1.Tools.IndexOf(recti) Dim b As String = "...
by tirby
Tue Nov 09, 2010 3:10 pm
Forum: .NET
Topic: Obtaining Index of Rectangle Array
Replies: 11
Views: 15725

Re: Obtaining Index of Rectangle Array

Sorry about that,

Here is a Zip file with the files that belong in MyProject!

Thanks
by tirby
Mon Nov 08, 2010 4:49 pm
Forum: .NET
Topic: Obtaining Index of Rectangle Array
Replies: 11
Views: 15725

Re: Obtaining Index of Rectangle Array

After entering new text in the Textbox, click the "Enter" button. This will create a rectangle rect(x) . Move it to the middle of the graph. Now change the text in the Textbox and hit the "Enter" button again. A new rectangle wil be created rect(x+1) . Move it to an emplty spot on the graph. Now mon...
by tirby
Fri Nov 05, 2010 8:42 pm
Forum: .NET
Topic: Obtaining Index of Rectangle Array
Replies: 11
Views: 15725

Obtaining Index of Rectangle Array

Hello, I'm using VS2008 VB.Net I can create multiple Rectangles within the Click event of a push button. I can also capture a Click event from a mouse click on any of the newly created Rectangles. My question is , how do I determine the Index of each Rectangle, assuming I have created them as member...
by tirby
Sat Oct 23, 2010 7:53 pm
Forum: .NET
Topic: Event Marks on FastLine Graph
Replies: 1
Views: 4101

Event Marks on FastLine Graph

I'm using VB2008, and TeeChart version 2.0.2987.19069 I need to add a comments or marks as an event mark on a fastline graph. I have searched the website and have found only 1 relevant entry. However, the answer is too cryptic for me to understand. Can someone supply actual VB code that will allow t...