Steema Issues Database

Note: This database is for bugs and wishes only. For technical support help, if you are a customer please visit our online forums;
otherwise you can use StackOverflow.
Before using this bug-tracker we recommend a look at this document, Steema Bug Fixing Policy.



Bug 1921

Summary: ASP.NET & MVC. When project published to Azure image render formats can provoke IntPtr hdc error.
Product: .NET TeeChart Reporter: marc meumann <marc>
Component: WebChartAssignee: Steema Issue Manager <issuemanager>
Status: RESOLVED FIXED    
Severity: normal    
Priority: ---    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows   
Chart Series: --- Delphi / C++ Builder RAD IDE Version:

Description marc meumann 2017-09-22 06:47:11 EDT
ASP.NET and MVC projects that function correctly on private servers can fail with an IntPtr hdc error caused for image format renders when TeeChart renders as image. This is avoidable by changing the buffer style:

eg.
webChart.Chart.Graphics3D.BufferStyle = Steema.TeeChart.Drawing.BufferStyle.None;


The problem may occur on first load only (when TeeChart is loaded to app memory space once per server's global application lifetime) under Azure due to a designer init code that also provokes the IntPtr error.
Comment 1 marc meumann 2017-09-22 06:47:56 EDT
fix included with next update