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
Search found 20 matches
- Tue Oct 02, 2007 1:02 pm
- Forum: .NET
- Topic: Has the average line functionality been fixed?
- Replies: 2
- Views: 5629
- Tue Oct 02, 2007 11:36 am
- Forum: .NET
- Topic: Has the average line functionality been fixed?
- Replies: 2
- Views: 5629
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 ...
- Wed Jun 20, 2007 1:08 pm
- Forum: .NET
- Topic: Y-values rounded to 1 decimal
- Replies: 1
- Views: 4445
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...
- Wed Apr 18, 2007 11:50 am
- Forum: .NET
- Topic: Possible bug - FastLine with same Y-value
- Replies: 1
- Views: 4312
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...
- Mon Apr 02, 2007 7:58 am
- Forum: .NET
- Topic: I can't get a correct average line
- Replies: 6
- Views: 11395
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...
- Mon Apr 02, 2007 7:51 am
- Forum: .NET
- Topic: Upper left icon on print preview dialog
- Replies: 1
- Views: 4368
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
Regards Andreas
- Wed Mar 28, 2007 10:36 am
- Forum: .NET
- Topic: I can't get a correct average line
- Replies: 6
- Views: 11395
- Tue Mar 27, 2007 2:27 pm
- Forum: .NET
- Topic: I can't get a correct average line
- Replies: 6
- Views: 11395
- Tue Mar 27, 2007 6:36 am
- Forum: .NET
- Topic: I can't get a correct average line
- Replies: 6
- Views: 11395
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...
- Mon Mar 26, 2007 2:35 pm
- Forum: .NET
- Topic: Draw an average line
- Replies: 4
- Views: 8888
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 ...
- Thu Mar 22, 2007 5:45 pm
- Forum: .NET
- Topic: Draw an average line
- Replies: 4
- Views: 8888
- Thu Mar 22, 2007 8:26 am
- Forum: .NET
- Topic: Draw an average line
- Replies: 4
- Views: 8888
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...
- Wed Mar 21, 2007 9:22 pm
- Forum: .NET
- Topic: Interactive data point selection?
- Replies: 8
- Views: 17347
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...
- Wed Mar 21, 2007 3:50 pm
- Forum: .NET
- Topic: Interactive data point selection?
- Replies: 8
- Views: 17347
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...
- Wed Mar 21, 2007 1:25 pm
- Forum: .NET
- Topic: Interactive data point selection?
- Replies: 8
- Views: 17347
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...