Search found 20 matches

by Wicket
Tue Oct 02, 2007 1:02 pm
Forum: .NET
Topic: Has the average line functionality been fixed?
Replies: 2
Views: 5621

Thank you fpr a quick answer!
I ended up creating my own functionality to calculate a correct average line. Not the most pretty one, but it seems to work and it's pretty fast, so it'll do for now.

Regards Andreas
by Wicket
Tue Oct 02, 2007 11:36 am
Forum: .NET
Topic: Has the average line functionality been fixed?
Replies: 2
Views: 5621

Has the average line functionality been fixed?

I'd like to put some new light on a topic earlier discussed here: http://www.teechart.net/support/viewtopic.php?t=5744&highlight=average I still have the problem (using TeeChart v 2 for .NET), so my question is, has this been fixed in some update for version 2 or perhaps for version 3? Too see what ...
by Wicket
Wed Jun 20, 2007 1:08 pm
Forum: .NET
Topic: Y-values rounded to 1 decimal
Replies: 1
Views: 4439

Y-values rounded to 1 decimal

Is there a way to tell the graph to always round all Y-values to 1 decimal (i.e. 12,47 will be 12,5). I know it isn't too hard doing it 'manually' before adding the values, but if the functionality is already there in the graph, I could as well use it. Btw, I'm using the FastLine series. regards And...
by Wicket
Wed Apr 18, 2007 11:50 am
Forum: .NET
Topic: Possible bug - FastLine with same Y-value
Replies: 1
Views: 4307

Possible bug - FastLine with same Y-value

I'm drawing a FastLine (haven't tested if the same goes for Line) on a chart. The FastLine consists of a number of "points" with different X values (dates), but the same Y-value (a double value). When the line is initially drawn, everything looks fine, but if I zoom or hold down the middle mousebutt...
by Wicket
Mon Apr 02, 2007 7:58 am
Forum: .NET
Topic: I can't get a correct average line
Replies: 6
Views: 11377

Hi again, and thatn you for your reply! The solution with adding the exact same x-values for each line has a problem (as I guess you know). I'll need to add points for lines where I have no valid Y-value, and since null isn't allowed I'll need to go with 0 (or something) and make the point transpare...
by Wicket
Mon Apr 02, 2007 7:51 am
Forum: .NET
Topic: Upper left icon on print preview dialog
Replies: 1
Views: 4361

Upper left icon on print preview dialog

Is there any way of changing the upper left (form) icon for the print preview dialog ("tChart.Printer.Preview()").

Regards Andreas
by Wicket
Wed Mar 28, 2007 10:36 am
Forum: .NET
Topic: I can't get a correct average line
Replies: 6
Views: 11377

Ahh, great to hear Narcis!
I look forward to your answer!

%Regards Andreas
by Wicket
Tue Mar 27, 2007 2:27 pm
Forum: .NET
Topic: I can't get a correct average line
Replies: 6
Views: 11377

Is my question unclear or stupid?

I really can't get the average line to work correctly. Can anyone just give me a little hint or a follow up question?

Best Regards Andreas
by Wicket
Tue Mar 27, 2007 6:36 am
Forum: .NET
Topic: I can't get a correct average line
Replies: 6
Views: 11377

I can't get a correct average line

I'm struggeling with an average line that isn't showing correctly. I have some lines on my chart with different number of points. Each point has a DateTime x-value and a float y-value. The problem occurs when the lines do not 'start' at the same DateTime (x-value). In thoose cases, the average value...
by Wicket
Mon Mar 26, 2007 2:35 pm
Forum: .NET
Topic: Draw an average line
Replies: 4
Views: 8874

Hmm, I think I am in trouble again! =( I followed your example, and it seemd to work fine! However... When I add lines with different 'start date' (different start position on the x axis), the average line is calculated wrong. It seems like it adds all 'forst points' (for each line) and divide them ...
by Wicket
Thu Mar 22, 2007 5:45 pm
Forum: .NET
Topic: Draw an average line
Replies: 4
Views: 8874

Oh, thank you!
It was exactly what I needed to know! It works like a charm!

TeeChart is really a great control! Keep up the good work!
by Wicket
Thu Mar 22, 2007 8:26 am
Forum: .NET
Topic: Draw an average line
Replies: 4
Views: 8874

Draw an average line

Let's say I have 10 lines (series of line typ) drawn on a chart. It could be the temperature for 10 different temperature meters for a couple of days. Now I would like to draw an average line, showing the average temperature for each day (every line has one reading per day). Is this possible with th...
by Wicket
Wed Mar 21, 2007 9:22 pm
Forum: .NET
Topic: Interactive data point selection?
Replies: 8
Views: 17323

Lets say I have 10 lines drawn on the chart. Then I make a 'selectionbox'. After releasing the mousebutton I want to find out witch of my 10 lies that passes through the box. As my implementation is made right now, I'm only checking the points of the lines, so if a line is passing through the box, b...
by Wicket
Wed Mar 21, 2007 3:50 pm
Forum: .NET
Topic: Interactive data point selection?
Replies: 8
Views: 17323

Oh, great, I came up with something similiar (using the OnPaint) method, but I changed to use After draw. However, tChart1.Invalidate(); should be done inside if(e.Button == MouseButtons.Right), otherwise the zoombox (leftclicking and dragging) will flipp out... (don't ask me why) =) Well, my proble...
by Wicket
Wed Mar 21, 2007 1:25 pm
Forum: .NET
Topic: Interactive data point selection?
Replies: 8
Views: 17323

I'm looking for the same kind of behaviour, but I have found some problems with both the above methods. The "simple one" implementing OnZoomed will unzoom any previously zooming. I want my users to be able to zoom AND select lines. So let's say they have zoomed on an area, and then tries to select s...