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 2394 - Trying to draw image using stretched as image mode does not work fine in Xamarin.Forms
Summary: Trying to draw image using stretched as image mode does not work fine in Xama...
Status: CONFIRMED
Alias: None
Product: .NET TeeChart
Classification: Unclassified
Component: Xamarin.Forms (show other bugs)
Version: unspecified
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Steema Issue Manager
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-12-17 05:03 EST by pep jorge
Modified: 2020-12-17 05:03 EST (History)
0 users

See Also:
Chart Series: ---
Delphi / C++ Builder RAD IDE Version:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description pep jorge 2020-12-17 05:03:10 EST
public ImageSource ImageSource { get; set; }

private void Chart_AfterDraw(object sender, Steema.TeeChart.Drawing.Graphics3D g)
{
var img = new Image() { Source = ImageSource };
var xpos = g.ChartXCenter - (CircularGauge.XRadius / 2);
var ypos = g.ChartYCenter;

// WORKING
g.Draw(xpos, ypos, img);

// NOT WORKING
//g.Draw(new Rectangle(xpos, ypos, 12, 12), img, Steema.TeeChart.Drawing.ImageMode.Stretch, false);
}

Related forums post :
http://support.steema.com/posting.php?mode=reply&f=4&t=17465&sid=c9415ed0a2f7aac7e34f087711112c82