Search found 19 matches

by moelski.net
Thu May 08, 2014 8:09 am
Forum: .NET
Topic: Zooming with ZoomRect
Replies: 6
Views: 12551

Re: Zooming with ZoomRect

Hi Christopher, You will have to set the Axis.SetMinMax() "manually" for each axes you want to zoom in the case of using custom axes. That is whar I did. Take a look at my code / or my sample: private void tChart1_Zoomed(object sender, EventArgs e) { if (this.tChart1.Zoom.Direction == ZoomDirections...
by moelski.net
Wed May 07, 2014 9:45 am
Forum: .NET
Topic: Zooming with ZoomRect
Replies: 6
Views: 12551

Re: Zooming with ZoomRect

Hi Christopher, I have one question left. I use the zoomed Event from the chart to Zoom, the custom Axes, too. Now we have a layout where we stack the Y axes. The sample app has a TEE file for demonstrating. If you use the Zoom button the X axis works like expected. But the Y Axes always do a Zoom o...
by moelski.net
Wed May 07, 2014 8:02 am
Forum: .NET
Topic: Zooming with ZoomRect
Replies: 6
Views: 12551

Re: Zooming with ZoomRect

Hi Christopher, u made my day :D Just in case someone else need a working sample: var strgPressed = ModifierKeys == Keys.Control; var addon = -5; if (strgPressed) { addon = 5; } var x = this.tChart1.Chart.ChartRect.Left + addon; var y = this.tChart1.Chart.ChartRect.Top + addon; var w = (this.tChart1...
by moelski.net
Wed May 07, 2014 7:34 am
Forum: .NET
Topic: Horizontal Zooming - Drawing issue
Replies: 10
Views: 16432

Re: Horizontal Zooming - Drawing issue

Hi !
the BrowsableAttribute is set to false
Can´t you change it so that it is visible for tchart?
will be available in the next maintenance release, due out within the next two working days
Hope to see a new version today :roll:
by moelski.net
Wed May 07, 2014 7:26 am
Forum: .NET
Topic: Zooming with ZoomRect
Replies: 6
Views: 12551

Zooming with ZoomRect

Hi ! I have a problem in using the ZoomRect function. For reproduction just place a chart on a form, add one FastLine Series and this code in FormLoad: ((FastLine)this.tChart1[0]).DrawAllPoints = true; ((FastLine)this.tChart1[0]).FillSampleValues(10000); Add a Button and insert this buttonclick code...
by moelski.net
Tue May 06, 2014 5:31 am
Forum: .NET
Topic: Horizontal Zooming - Drawing issue
Replies: 10
Views: 16432

Re: Horizontal Zooming - Drawing issue

Oh and one additional thing if missing (which is important for zooming, too). The MouseWheel event is not visible in the IDE:
MouseWheel.png
MouseWheel.png (5.27 KiB) Viewed 16530 times
But I think this is not a big deal ... :wink:
by moelski.net
Tue May 06, 2014 5:26 am
Forum: .NET
Topic: Horizontal Zooming - Drawing issue
Replies: 10
Views: 16432

Re: Horizontal Zooming - Drawing issue

Hi Christopher, I think there is another issue on this zoom topic. I use this code to detect STRG and SHIFT key to set vertical or horizontal zooming: private void tChart1_MouseDown(object sender, MouseEventArgs e) { var strgPressed = ModifierKeys == Keys.Control; var shiftPressed = ModifierKeys == ...
by moelski.net
Mon May 05, 2014 1:25 pm
Forum: .NET
Topic: Horizontal Zooming - Drawing issue
Replies: 10
Views: 16432

Re: Horizontal Zooming - Drawing issue

Hi Christopher,

ok I think I can wait for the next release.

Thx for your help !

Dominik
by moelski.net
Mon May 05, 2014 9:44 am
Forum: .NET
Topic: Horizontal Zooming - Drawing issue
Replies: 10
Views: 16432

Re: Horizontal Zooming - Drawing issue

Oh I forgot this:

IDE : VS 2012
Language : C#

Dominik
by moelski.net
Sun May 04, 2014 5:14 pm
Forum: .NET
Topic: Horizontal Zooming - Drawing issue
Replies: 10
Views: 16432

Horizontal Zooming - Drawing issue

TChart Version : 4.1.2014.2242 Hi ! I think there is a problem in the Zooming functions ... Just use the attached sample projekt and run it. Open the Editor and go to the General/Zoom tab. Set the Direction to Horizontal and press close to end the editor. Now just zoom within the chart. I got this r...
by moelski.net
Wed Apr 09, 2014 12:21 pm
Forum: .NET
Topic: Diagram with microseconds resolution
Replies: 25
Views: 33039

Re: Diagram with microseconds resolution

Hi ! I know this topic is from 2012 but anyway ... it is important for us, too! I figured out that there is a OADate conversation in TChart.net. This kills the micro second part. :( Is there any progress on this topic? It would such a simple change to get rid of these OADate Conversations and replac...
by moelski.net
Wed Jan 15, 2014 3:50 pm
Forum: .NET
Topic: Thread & Repaint problems
Replies: 21
Views: 38393

Re: Thread & Repaint problems

Hi !
Can I confirm that Application.DoEvents() solves the problem for you?
At the moment I have to say YES :D

I did a test with ~25 series and populate each series with ~550.000 values. This worked so far.
Will do some other tests but for now it seems to be ok.

Thx for your help.

Dominik
by moelski.net
Wed Jan 15, 2014 3:18 pm
Forum: .NET
Topic: Thread & Repaint problems
Replies: 21
Views: 38393

Re: Thread & Repaint problems

Hi Christopher, this is really a strange thing I´m working on :roll: But I think I get a little bit clother... In my application I click a button. This button creates the (MDI)window with a fresh chart. Then the series and axes will be added (according to the database columns). And then I start the ...
by moelski.net
Wed Jan 15, 2014 10:46 am
Forum: .NET
Topic: Thread & Repaint problems
Replies: 21
Views: 38393

Re: Thread & Repaint problems

Hi Christopher, sorry for the delay in my response. I was ill for some days .. Anyway. I did some new tests in our main application. And I recorded a video which shows the problem: http://www.logview.info/Temp/ChartProblem.mp4 Please take a look at that video. You will see that the chart get repaint...
by moelski.net
Wed Jan 08, 2014 11:55 am
Forum: .NET
Topic: Thread & Repaint problems
Replies: 21
Views: 38393

Re: Thread & Repaint problems

Hi Christopher, thx for the explanation. then you can always add logic to your code to ensure the chart cannot be resized while is it having data added to it by another thread Well for me it does not work really well. I took your code example with the Resize Blocking. I´ve added a threaded timer for...