Nevermind - doyyy -
I just wired up the API Version of TChart to its AfterDraw event handler and did the drawing the same as the WinForms Version and it works -- thanks for your help!
Search found 50 matches
- Sun May 12, 2024 4:27 pm
- Forum: .NET
- Topic: Programmatic Chart Creation and Saving to Disk
- Replies: 4
- Views: 312
- Sun May 12, 2024 4:13 pm
- Forum: .NET
- Topic: Programmatic Chart Creation and Saving to Disk
- Replies: 4
- Views: 312
Re: Programmatic Chart Creation and Saving to Disk
So I tried the code and it works but I'm having trouble writing custom text out to "graphics" object - normally this text is written in the "BeforeDraw" event when using WinForms - but in API style no events are thrown so I thought I could access the "g" graphics object passed in the DrawEvents and ...
- Tue May 07, 2024 2:04 pm
- Forum: .NET
- Topic: Programmatic Chart Creation and Saving to Disk
- Replies: 4
- Views: 312
Re: Programmatic Chart Creation and Saving to Disk
Thanks so much!
- Sun May 05, 2024 3:26 am
- Forum: .NET
- Topic: Programmatic Chart Creation and Saving to Disk
- Replies: 4
- Views: 312
Programmatic Chart Creation and Saving to Disk
Hi Fellow TChart Devs, I was curious if there's an example of programmatically generating charts using TChart.Net then saving chart pic to a disk file. In other words to use in an API without WinForms. I searched here and on YouTube and didn't find anything. It would save me a lot of time. Thanks, ja
- Wed Aug 03, 2022 6:17 pm
- Forum: .NET
- Topic: Set Axis and Zoom in Form Load Wonky
- Replies: 3
- Views: 4534
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...
- Mon Aug 01, 2022 3:57 pm
- Forum: .NET
- Topic: Set Axis and Zoom in Form Load Wonky
- Replies: 3
- Views: 4534
Re: Set Axis and Zoom in Form Load Wonky
I will give this a try. Thanks very much Marc!
- Sun Jul 31, 2022 8:00 am
- Forum: .NET
- Topic: Set Axis and Zoom in Form Load Wonky
- Replies: 3
- Views: 4534
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...
- Tue Jul 19, 2022 8:46 pm
- Forum: .NET
- Topic: Read Zoomed Values
- Replies: 2
- Views: 4732
Re: Read Zoomed Values
Thanks, I will try this.
- Sat Jun 18, 2022 12:44 pm
- Forum: .NET
- Topic: Iterate through Chart and Scrape Bollinger Upper, Lower, and Middle Band Values???
- Replies: 2
- Views: 4966
- Sat Jun 18, 2022 12:42 pm
- Forum: .NET
- Topic: Read Zoomed Values
- Replies: 2
- Views: 4732
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
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
- 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: 4966
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
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
- Thu Mar 10, 2022 4:28 pm
- Forum: .NET
- Topic: TChart for .NET Disappearing from Designer
- Replies: 3
- Views: 5166
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!
- Thu Mar 10, 2022 9:44 am
- Forum: .NET
- Topic: TChart for .NET Disappearing from Designer
- Replies: 3
- Views: 5166
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...
- Mon Nov 09, 2020 6:16 pm
- Forum: .NET
- Topic: Programmatically Creating DrawLineItem Error Null Handles Exception
- Replies: 3
- Views: 10483
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.
Thanks soooooo much!!!- Mon Nov 09, 2020 7:52 am
- Forum: .NET
- Topic: Programmatically Creating DrawLineItem Error Null Handles Exception
- Replies: 3
- Views: 10483
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 ...