Search found 46 matches

by jzarech
Wed Aug 03, 2022 6:17 pm
Forum: .NET
Topic: Set Axis and Zoom in Form Load Wonky
Replies: 3
Views: 3803

Re: Set Axis and Zoom in Form Load Wonky

Hi Marc, I tried the AfterDraw code change you suggested and the Zoom still doesn't work. I tried messing around a little bit with UndoZoom first and DoEvents but still no Zoom using AfterDraw. I've attached my code in case that's helpful and have the whole VS 2019 Project with just the repro code i...
by jzarech
Mon Aug 01, 2022 3:57 pm
Forum: .NET
Topic: Set Axis and Zoom in Form Load Wonky
Replies: 3
Views: 3803

Re: Set Axis and Zoom in Form Load Wonky

I will give this a try. Thanks very much Marc!
by jzarech
Sun Jul 31, 2022 8:00 am
Forum: .NET
Topic: Set Axis and Zoom in Form Load Wonky
Replies: 3
Views: 3803

Set Axis and Zoom in Form Load Wonky

Hi Steema - I'm building an app and trying to set the TChart Axes and Zoom during form Load - The Set Axes works but not the Zoom - But if I set the Axes and Zoom with the same code from buttons on the form once loaded it works. I'm sure it's an event sequencing issue of some sort but can't figure i...
by jzarech
Tue Jul 19, 2022 8:46 pm
Forum: .NET
Topic: Read Zoomed Values
Replies: 2
Views: 3586

Re: Read Zoomed Values

Thanks, I will try this.
by jzarech
Sat Jun 18, 2022 12:42 pm
Forum: .NET
Topic: Read Zoomed Values
Replies: 2
Views: 3586

Read Zoomed Values

Hi Steema,

When I zoom into a chart I'd like to get the zoomed MinX , MinY, MaxX, and MaxY values and thought it would be in the Zoomed event but am finding it challenging to figure this out. Please see attached screenshots. I'm doing something wrong.

Thanks as always!
Joseph
by jzarech
Sun May 08, 2022 8:52 am
Forum: .NET
Topic: Iterate through Chart and Scrape Bollinger Upper, Lower, and Middle Band Values???
Replies: 2
Views: 3941

Iterate through Chart and Scrape Bollinger Upper, Lower, and Middle Band Values???

Hi Steema Techs,

I would like to iterate through all the Values on a chart and Scrape the Bollinger Values for Upper, Lower, and Middle band as well as Date.

Do you have any sample code anywhere that shows how to do this?

I only see X and Y values.

Thanks so much,

Joseph
by jzarech
Thu Mar 10, 2022 4:28 pm
Forum: .NET
Topic: TChart for .NET Disappearing from Designer
Replies: 3
Views: 4455

Re: TChart for .NET Disappearing from Designer

I rebooted and the problem seems to have disappeared. Apparently my system was flaky — thanks, as always, for your lightning support!
by jzarech
Thu Mar 10, 2022 9:44 am
Forum: .NET
Topic: TChart for .NET Disappearing from Designer
Replies: 3
Views: 4455

TChart for .NET Disappearing from Designer

My TChart keeps disappearing from the Designer in Visual Studio 2022 Community Edition whenever I close the Designer and ReOpen it. I'm running .NET 5.0 framework. I've used TChart for years and have never seen this behavior. Any ideas on how to make the chart stay put? Thanks, Joseph https://i.post...
by jzarech
Mon Nov 09, 2020 6:16 pm
Forum: .NET
Topic: Programmatically Creating DrawLineItem Error Null Handles Exception
Replies: 3
Views: 9900

Re: Programmatically Creating DrawLineItem Error Null Handles Exception

Christopher - u r correct! I feel dumb for missing the constructor that takes the drawline object as a param.
fixed.gif
fixed.gif (60.87 KiB) Viewed 9887 times
Thanks soooooo much!!!
by jzarech
Mon Nov 09, 2020 7:52 am
Forum: .NET
Topic: Programmatically Creating DrawLineItem Error Null Handles Exception
Replies: 3
Views: 9900

Programmatically Creating DrawLineItem Error Null Handles Exception

I'm adding DrawLineItems to the Lines collection and that's fine -- Until the chart tries to refresh and throws an exception because all the "Handles" fields such as EndHandle, MidlleBottomHandle, MiddleTopHandle, and Starthandle are Null so a NullReferenceException is thrown. My question is how to ...
by jzarech
Wed Nov 04, 2020 9:38 am
Forum: .NET
Topic: DrawLineItem
Replies: 2
Views: 7868

Re: DrawLineItem

Figured it out --
Here's the code --
drawlinessolution.gif
drawlinessolution.gif (29.82 KiB) Viewed 7849 times
by jzarech
Tue Nov 03, 2020 4:29 pm
Forum: .NET
Topic: DrawLineItem
Replies: 2
Views: 7868

DrawLineItem

Hi All -- Love the DrawLines class never used it before. I have a list on the screen where I have a list of DrawLineItems on chart. I want to be able to click on a line item in my list and have that line become "selected" on the chart -- as if I clicked on the line itself. Is there some way to do th...
by jzarech
Wed Dec 05, 2018 8:36 am
Forum: .NET
Topic: How do you set the color of chart "drawing" area???
Replies: 2
Views: 10669

Re: How do you set the color of chart "drawing" area???

I spent hours on this! Thanks very much!!!
by jzarech
Wed Dec 05, 2018 7:00 am
Forum: .NET
Topic: How do you set the color of chart "drawing" area???
Replies: 2
Views: 10669

How do you set the color of chart "drawing" area???

I've looked through every setting in the properties dialog for TChart and can't set the "drawing area" color for the chart for the life of me (see attachment)
clientarea.jpg
clientarea.jpg (82.78 KiB) Viewed 10669 times
. any help would be greatly appreciated.Thanks very much.