Search found 61 matches

by jzarech
Sat Jun 28, 2025 7:03 am
Forum: .NET
Topic: Clicking on TChart Causes BeforeSeries to Fire (but it didn't used to)
Replies: 5
Views: 4683

Re: Clicking on TChart Causes BeforeSeries to Fire (but it didn't used to)

..as a followup, the suggestion to avoid the repaint on click: private void tChart1_Click(object sender, EventArgs e) { tChart1.AutoRepaint = false; this.Text = "Click shouldn't cause a redraw." + DateTime.Now.ToString(); } private void tChart1_MouseUp(object sender, MouseEventArgs e) { tChart1.Aut...
by jzarech
Fri Jun 27, 2025 11:48 pm
Forum: .NET
Topic: Clicking on TChart Causes BeforeSeries to Fire (but it didn't used to)
Replies: 5
Views: 4683

Re: Clicking on TChart Causes BeforeSeries to Fire (but it didn't used to)

I'll try your fix tonight - I was able to get version of my old Visual Studio 2008 project:
3.5.3498.27368
And the new version is:
4.2025.5.7

And the charts do work significantly differently regarding eventing.

I'll attach a Visual Studio 2008 zip file with demo code and some screenshots.
by jzarech
Fri Jun 27, 2025 6:25 am
Forum: .NET
Topic: Clicking on TChart Causes BeforeSeries to Fire (but it didn't used to)
Replies: 5
Views: 4683

Clicking on TChart Causes BeforeSeries to Fire (but it didn't used to)

I'm upgrading a 2008 app that uses TChart extensively. When I draw the chart, it takes about 30 seconds to draw a bunch of custom lines on the canvas, which I do in the BeforeDrawSeries event, so the lines are under the stock prices. In the old 2008 version of the app, clicking on the chart didn't t...
by jzarech
Wed Jul 24, 2024 8:44 am
Forum: .NET
Topic: XValues in the 1800's Not Working Correctly
Replies: 7
Views: 65062

Re: XValues in the 1800's Not Working Correctly

I'll give it a try this weekend. Looks promising.
Thanks for your help Marc!
ja
by jzarech
Fri Jul 19, 2024 10:56 pm
Forum: .NET
Topic: XValues in the 1800's Not Working Correctly
Replies: 7
Views: 65062

Re: XValues in the 1800's Not Working Correctly

Marc,
Even though I work in 24-hour spans, some time bands cross Date Boundaries ie 12 hours one day and 12 hours the next day. I'll try it out this weekend and see what happens.
Thanks,
ja
by jzarech
Fri Jul 19, 2024 12:21 pm
Forum: .NET
Topic: XValues in the 1800's Not Working Correctly
Replies: 7
Views: 65062

Re: XValues in the 1800's Not Working Correctly

DDT5.jpg Hi Marc, My website, HarmonicLife, figures out people's birth times given important dates in their lives -- ie Rectification. So all of my charts are within one day. Anyone born before 1899, ie historical figures, will run into this issue. Julian's dates are doubles, so if I could use a do...
by jzarech
Mon Jul 15, 2024 12:27 am
Forum: .NET
Topic: XValues in the 1800's Not Working Correctly
Replies: 7
Views: 65062

XValues in the 1800's Not Working Correctly

I have an app that works fine with modern dates. But I tried to run a chart yesterday with dates from 1892 and the Bottom (XValue) Axis doesn't show values in the middle of the XAxis. Only values on the left and right sides of the chart show -- which is weird. I've attached some screenshots and the ...
by jzarech
Wed May 29, 2024 6:30 pm
Forum: .NET
Topic: Error Compiling in Azure After Adding Steema .Net License File
Replies: 2
Views: 21054

Re: Error Compiling in Azure After Adding Steema .Net License File

I figured this out.
In my Solution, I have a website project and some API projects.
The Chart was generated in an API call and displayed on the webpage.
So I should have registered the TChart component in the API, not the website.
Thanks for your help.
ja
by jzarech
Wed May 29, 2024 4:24 pm
Forum: .NET
Topic: Error Compiling in Azure After Adding Steema .Net License File
Replies: 2
Views: 21054

Error Compiling in Azure After Adding Steema .Net License File

I added the license file for TeeChart.Net to my asp.net project and it compiles fine locally - but in Azure the build files with: Error CS0246: The type or namespace name 'EntryAssemblyAttribute' could not be found (are you missing a using directive or an assembly reference?) I know it's probably so...
by jzarech
Sun May 26, 2024 5:40 am
Forum: .NET
Topic: Volume Series Drawing tiny boxes with Prices Everywhere --
Replies: 1
Views: 15122

Re: Volume Series Drawing tiny boxes with Prices Everywhere --

Figured it out - volumeJA.Marks.Visible = false;
Series.Marks.Visible = false fixed it.
Thanks.
ja
by jzarech
Sun May 26, 2024 5:25 am
Forum: .NET
Topic: Volume Series Drawing tiny boxes with Prices Everywhere --
Replies: 1
Views: 15122

Volume Series Drawing tiny boxes with Prices Everywhere --

I created an app that makes a chart with a volume series then I writes it out to a file. It works fine in a Winforms test app. But when I move it to an Asp.Net page the chart is printing hundreds of tiny prices all over the chart. I'm not sure how to turn it off. I'm sure I can figure it out eventua...
by jzarech
Sun May 12, 2024 4:27 pm
Forum: .NET
Topic: Programmatic Chart Creation and Saving to Disk
Replies: 4
Views: 22847

Re: Programmatic Chart Creation and Saving to Disk

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!

Image
by jzarech
Sun May 12, 2024 4:13 pm
Forum: .NET
Topic: Programmatic Chart Creation and Saving to Disk
Replies: 4
Views: 22847

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 ...
by jzarech
Tue May 07, 2024 2:04 pm
Forum: .NET
Topic: Programmatic Chart Creation and Saving to Disk
Replies: 4
Views: 22847

Re: Programmatic Chart Creation and Saving to Disk

Thanks so much!
by jzarech
Sun May 05, 2024 3:26 am
Forum: .NET
Topic: Programmatic Chart Creation and Saving to Disk
Replies: 4
Views: 22847

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