Understanding Drawing and Download As Image

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
cjherasmus
Newbie
Newbie
Posts: 4
Joined: Mon Mar 20, 2023 12:00 am

Understanding Drawing and Download As Image

Post by cjherasmus » Fri May 26, 2023 12:54 pm

Hi,

I'm trying to understand why my chart is downloaded empty if I put the "drawing" code in a button event vs. putting it in the page load event. See attached example.

If the chart code is in the page-load event and I click the download button the chart with the data series is downloaded.
If the chart code is in the button-click event and I click the download button the chart without the data series is downloaded.

Thank you.
Attachments
WebApplication1.zip
(8.25 KiB) Not downloaded yet

Post Reply