![]() | Steema Issues DatabaseNote: 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. |
| Summary: | Point Image series do not work | ||
|---|---|---|---|
| Product: | .NET TeeChart | Reporter: | Luigi Casalegno <luigi.casalegno> |
| Component: | .NET 5.0 | Assignee: | Steema Issue Manager <issuemanager> |
| Status: | RESOLVED FIXED | ||
| Severity: | blocker | CC: | chris |
| Priority: | --- | ||
| Version: | TeeChart.NET 2013 4.1.2013.11080 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows | ||
| Chart Series: | --- | Delphi / C++ Builder RAD IDE Version: | |
| Attachments: |
the attachment contains the images and the small program that show the errors
screenshot of working PointImage series in .NET 6.0 Default image |
||
I am using the last version of Steema 4.2023.2.13 and .NET6 as you can see from the csproj file Created attachment 1034 [details]
screenshot of working PointImage series in .NET 6.0
Using the following code against Steema.TeeChart.NET v.4.2023.2.13 in .NET 6.0 for Windows Forms:
private void InitializeChart2()
{
var points = new ImagePoint(tChart1.Chart);
var path = @"C:\Users\Chris\Documents\es.png";
points.PointImage = TImage.FromFile(path);
points.Pointer.HorizSize = 11;
points.Pointer.VertSize = 6;
points.FillSampleValues();
}
I obtain the screenshot attached.
We will fix the issue at designtime in an upcoming release. Thank you very much. Where can I find the default image you use in the designer? We are using that one and porting the application in .NET 6 we do not want to change Created attachment 1035 [details]
Default image
The default image for ImagePoint is a resource of the TeeChart.WinForm.dll assembly, and as such it will render when no other image is defined, e.g.
private void InitializeChart2()
{
tChart1.Series.Add(typeof(ImagePoint)).FillSampleValues();
}
Gives me this default image.
|
Created attachment 1033 [details] the attachment contains the images and the small program that show the errors when I try to use Point Image series the editor accept it as you can see in atteched picture PointImageError0. When I start the very simple application attached it returns the error shown in attached PointImageError1. If I stop the program and I try again the designer it returns the error shown in PointImageError2 even if I close Visual Studio and I start it again