Search found 21 matches

by Elric
Thu Apr 21, 2005 7:58 am
Forum: .NET
Topic: Horizontal maxumum line not drawn
Replies: 3
Views: 7197

Hello Marjan, Hello Narcis

Thanks for your answers. It works fine. This is a solution I am completely contented with. :D

Greetings
Elric
by Elric
Tue Apr 19, 2005 10:47 am
Forum: .NET
Topic: Horizontal maxumum line not drawn
Replies: 3
Views: 7197

Horizontal maxumum line not drawn

Hello I found the following problem: If the highest value in a series is horizontal line (not a single point), then this line will not be drawn. You can reproduce it by adding a TChart to a form and put the following code into Form_Load Me.TChart1.Walls.Visible = False Me.TChart1.Aspect.View3D = Fal...
by Elric
Wed Apr 13, 2005 8:16 am
Forum: .NET
Topic: Axistitle above the axis
Replies: 8
Views: 13721

Hello Narcis Thats not what I wanted, sorry. Maybe I described my problem misrepresent. I know how to set the position of a axis, what I wanted is a easier way to calculate the correct position of the axes, so that they dont overlap. The property "tChart1.Axes.Bottom.AxisPen.Width" only shows the wi...
by Elric
Tue Apr 12, 2005 12:23 pm
Forum: .NET
Topic: Axistitle above the axis
Replies: 8
Views: 13721

Hello Narcis Thank you again for your answer. I always ignored the "IAxisSize", maybe because I presumed its a interface not a public integer. I hope you accept my excuse. So the space above the axis is Axis.IEndPos - Axis.Size May I ask you for another hint for calculating axis position. Because I ...
by Elric
Fri Apr 08, 2005 11:32 am
Forum: .NET
Topic: Axistitle above the axis
Replies: 8
Views: 13721

Hello Narcis I still have serveral problems to place the custom label at the correct position above the axis, because the number and position of the axes are variable (user can make series and axes (in)visible). So i have between 1 and 10 axes on the left side and the legend above. The problem is th...
by Elric
Wed Apr 06, 2005 8:55 am
Forum: .NET
Topic: Chartlistbox-Items overlap
Replies: 1
Views: 4469

Chartlistbox-Items overlap

Hello I have a problem with the ChartListBox. When more items are in there and MultiColumn is true, more items are on the same position. To reproduce, make a new VB.Net project, add TChart and a ChartListBox, that is not to big(f.e. width:300 and height:76) and add the following code to Form_Load: C...
by Elric
Tue Apr 05, 2005 2:25 pm
Forum: .NET
Topic: Axistitle above the axis
Replies: 8
Views: 13721

Hello Narcis
Thanks for your answer. So, placing the label needs a little bit more location-calculation, but it works. :)
Greetings
Elric
by Elric
Tue Apr 05, 2005 12:20 pm
Forum: .NET
Topic: Axistitle above the axis
Replies: 8
Views: 13721

Axistitle above the axis

Hello

I have a question about the axis.title:
The Text appears always in the middle of the axis. Can i move this label and place it above the axis?

Greetings
Elric
by Elric
Thu Feb 17, 2005 3:04 pm
Forum: .NET
Topic: Chart cursor consumes up to 100 % CPU
Replies: 24
Views: 37054

Hello Natalia I dont know exactly, where your problem is (what means "I need to find the cursor", because the cursor remains on the same position. FollowMouse=False only when you dont move). But I think mostly my bad English is to blame for. But you're right: my workaraound solves only the problem, ...
by Elric
Thu Feb 17, 2005 1:57 pm
Forum: .NET
Topic: Chart moves down when legend appears
Replies: 4
Views: 9319

Hello Narcis
I think I can live with this workaraound.
Thank you
Elric
by Elric
Wed Feb 16, 2005 9:37 am
Forum: .NET
Topic: Chart cursor consumes up to 100 % CPU
Replies: 24
Views: 37054

Hello Natalie I have the same problem and I solved it with a workaraound. Dim x_old As Int32 Dim y_old As Int32 Private Sub TChart1_MouseMove(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles TChart1.MouseMove If e.X <> x_old Or e.Y <> y_old Then Me.CursorTool1.FollowMo...
by Elric
Wed Feb 16, 2005 9:14 am
Forum: .NET
Topic: Chart moves down when legend appears
Replies: 4
Views: 9319

Hello Am I the only, who had this problem? You can easily create it. Make a new projekt, put a TChart on it and implement a event, where the legend appears and disappers. Look at the bottom axis and its labels. They moving up and down and the way they move is not the height of the legend. Example-Co...
by Elric
Wed Feb 09, 2005 4:22 pm
Forum: .NET
Topic: Chart cursor consumes up to 100 % CPU
Replies: 24
Views: 37054

Hi, Narcis

Yes, you`re great :D . The value

Code: Select all

tChart1.Axes.Bottom.CalcPosPoint(e.X)
is exactly the X-Value, what i´m looking for. Now it looks so easy.
Thank you again.
Elric
by Elric
Tue Feb 08, 2005 6:57 pm
Forum: .NET
Topic: Chart cursor consumes up to 100 % CPU
Replies: 24
Views: 37054

Okay, I tried something different and it seems to work. Dim ChartAreaWidth As Int32 Dim ChartAreaXInterval As Double Dim XIntervalPerPixel As Double Dim XValue As Double ChartAreaWidth = (TChart1.Chart.Width - CInt(TChart1.Chart.Panel.MarginLeft + TChart1.Chart.Panel.MarginRight)) ChartAreaXInterval...
by Elric
Tue Feb 08, 2005 6:08 pm
Forum: .NET
Topic: Chart cursor consumes up to 100 % CPU
Replies: 24
Views: 37054

Hi Narcis Its me again ;) Okay, its getting nearer. I get the right value, but only for 1 series and only, when cursor is near the series. The advantage of the cursortool-code is, that I get the value, no matter where the cursor is AND (for me important) I get the values of all series at the same ti...