Search found 58 matches

by jzarech
Wed Jul 24, 2024 8:44 am
Forum: .NET
Topic: XValues in the 1800's Not Working Correctly
Replies: 7
Views: 40911

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: 40911

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: 40911

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: 40911

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: 15787

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: 15787

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: 12693

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: 12693

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: 18539

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: 18539

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: 18539

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: 18539

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
by jzarech
Wed Aug 03, 2022 6:17 pm
Forum: .NET
Topic: Set Axis and Zoom in Form Load Wonky
Replies: 3
Views: 10773

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: 10773

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: 10773

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...