Search found 84 matches

by tirby
Tue Mar 12, 2013 10:36 pm
Forum: ActiveX
Topic: Multiple lines of text for each Series in Legend
Replies: 2
Views: 6824

Multiple lines of text for each Series in Legend

Hi,

I am trying to setup the Legend in such a way that it displays 2 lines. example:

Pressure
1000


Where the first Line is the Series Name, and the second line is the LeftAxis maximum height.
What I don't want is this:

Pressure 1000

Anyone have an idea?

Thanks!
by tirby
Sun Mar 10, 2013 11:04 pm
Forum: ActiveX
Topic: Setting line ends to series point and Annotate tool textbox
Replies: 5
Views: 11469

Re: Setting line ends to series point and Annotate tool textbox

Yeray, Thanks again for the code sample! From it I was able to figure out how to do what I was trying to accomplish. I did end up using the Annotate and DrawLine tools. Once I understood how the indexing works on the tools, I was able to write a routine in the resize method of the form. I have a sma...
by tirby
Fri Mar 08, 2013 8:48 pm
Forum: ActiveX
Topic: Setting line ends to series point and Annotate tool textbox
Replies: 5
Views: 11469

Re: Setting line ends to series point and Annotate tool textbox

Yeray, Thanks, I tried the example you sent. The point at which the point line is attached always goes to a data point. It really needs to attach itself based on the time line rather than on a data point. Also, i'm using series scLine, not scPoint. Example: 2 data points: x=1, y=40 x=4, y=40 A blue ...
by tirby
Fri Mar 08, 2013 3:14 pm
Forum: ActiveX
Topic: Setting line ends to series point and Annotate tool textbox
Replies: 5
Views: 11469

Re: Setting line ends to series XY point and textbox

Hi everyone! I switched out the Annotate and DrawLine tools for a Textbox and a Line. Here is some code and explanation: At this point the Textbox and Line have been created. When the mouse button is down on the TChart - On a series: This routine captures the SeriesIndex and the ValuIndex of the sel...
by tirby
Fri Mar 08, 2013 1:36 pm
Forum: ActiveX
Topic: Bottom Axis Maximum (time based) goes to zero after 23:59
Replies: 2
Views: 6664

Re: Bottom Axis Maximum (time based) goes to zero after 23:59

Thank you Yeray!

That fixed it!
by tirby
Thu Mar 07, 2013 3:02 pm
Forum: ActiveX
Topic: Setting line ends to series point and Annotate tool textbox
Replies: 5
Views: 11469

Setting line ends to series point and Annotate tool textbox

Hi! I am using an AnnotateTool and a DrawLine tool on the TChart. Both items are created at runtime on startup with an index of 0. I have a push button that toggles a boolean variable EventMode. I also have an EventCount variable. When EventMode=true, the user can click a point on a series trace. Th...
by tirby
Wed Mar 06, 2013 5:04 pm
Forum: ActiveX
Topic: Bottom Axis Maximum (time based) goes to zero after 23:59
Replies: 2
Views: 6664

Bottom Axis Maximum (time based) goes to zero after 23:59

Hi, I'm using: VB6 - SP5 TeeChart Pro v7.0.1.4 Here's my setup: For aa = 0 To 7 TChart1.Series(aa).XValues.DateTime = True Next aa With Tchart1.Axis .Bottom.Labels.DateTimeFormat = "h:mm" .Bottom.MinorTickCount = 4 .Bottom.Labels.Style = talValue .Bottom.Maximum = TimeValue(Format$(TimeSerial(0, Job...
by tirby
Wed Jan 09, 2013 2:37 am
Forum: .NET
Topic: Custom Vertical Axis changes .Minimum when FastLine.Add(X,Y)
Replies: 4
Views: 6605

Re: Custom Vertical Axis changes .Minimum when FastLine.Add(X,Y)

Sandra,

Using your example, I was able to modify my program and correct the problem.
I think it was probably the way I was doing things.

Thanks for getting me on the right track!
by tirby
Tue Jan 08, 2013 3:33 pm
Forum: .NET
Topic: Setting bottom axis to decimal time read from CSV File.
Replies: 6
Views: 9962

Re: Setting bottom axis to decimal time read from CSV File.

Thanks Sandra!

Here's the data file.
by tirby
Tue Jan 08, 2013 3:13 pm
Forum: .NET
Topic: Custom Vertical Axis changes .Minimum when FastLine.Add(X,Y)
Replies: 4
Views: 6605

Re: Custom Vertical Axis changes .Minimum when FastLine.Add(X,Y)

Sandra,

Thanks for looking at this, I'll try the code.

The version I'm running is the latest available from the Customer Download section.
My version is 3.5.3700.30575
by tirby
Mon Jan 07, 2013 9:00 pm
Forum: .NET
Topic: Setting bottom axis to decimal time read from CSV File.
Replies: 6
Views: 9962

Setting bottom axis to decimal time read from CSV File.

Hi, My data is read from a CSV (Comma Separated Variable)file. I'm having trouble getting the correct time to display in the bottom axis. I'm getting 12:00:00 for every Time Mark label on the grid in the X axis. The time format in the CSV file is this (based on 24 hour clock): 111458 11 = 11am 14 = ...
by tirby
Mon Jan 07, 2013 8:37 pm
Forum: .NET
Topic: Custom Vertical Axis changes .Minimum when FastLine.Add(X,Y)
Replies: 4
Views: 6605

Custom Vertical Axis changes .Minimum when FastLine.Add(X,Y)

Hi, I'm having no luck solving this by myself, I'm hoping someone can help! The problem occurs after setting up the grid and setting scaling of the custom Vertical axis 0 to 100. Then using a pushbutton- FastL(0).Add(111458, 30.2); Some code fragments I'm using: public static Steema.TeeChart.Styles....
by tirby
Mon Dec 10, 2012 5:01 pm
Forum: .NET
Topic: Setting left and right side of bottom axis (Time Mode)
Replies: 4
Views: 7159

Re: Setting left and right side of bottom axis (Time Mode)

Thanks Narcís, Turns out the issue is with your latest version of TChart (3.5.3700), it is not compatible with .Net Framework version 4. I had to change my project to 3.5 to get rid of the error! Hope this helps others whom may have experienced this issue. Now, back to the original task of testing/t...
by tirby
Fri Dec 07, 2012 5:07 pm
Forum: .NET
Topic: Setting left and right side of bottom axis (Time Mode)
Replies: 4
Views: 7159

Re: Setting left and right side of bottom axis (Time Mode)

Thanks Sandra,

I tried to run the code you posted but I'm getting this error:

Unable to resolve type 'Steema.TeeChart.TChart, TeeChart' C:\AxisTest\AxisTest\AxisTest\Properties\licenses.licx 1 AxisTest

Any ideas?
by tirby
Thu Dec 06, 2012 6:14 am
Forum: .NET
Topic: Upgrade to latest version, License issue now
Replies: 1
Views: 4209

Upgrade to latest version, License issue now

I tried to upgrade from version 3.5.3371.26406 to 3.5.3700.30575. Here is the error I'm gettng: Exception occurred creating type 'Steema.TeeChart.TChart, TeeChart, Version=3.5.3700.30575, Culture=neutral, PublicKeyToken=9c8126276c77bdb7' System.ComponentModel.LicenseException: An instance of type 'S...