Search found 10 matches

by Scobie
Thu May 13, 2021 9:13 pm
Forum: .NET
Topic: Scale gauge chartview elements on resize (Xamarin Forms)
Replies: 5
Views: 15196

Re: Scale gauge chartview elements on resize (Xamarin Forms)

Hello I have implemented your suggestion, along with further lines to deal with the center, hand & green/red lines & the solution is working... // Add the beforeDraw method at the CreateGauge method cv.Chart.BeforeDraw += Chart_BeforeDraw; private void Chart_BeforeDraw(object sender, Steema.TeeChart...
by Scobie
Wed May 12, 2021 9:37 pm
Forum: .NET
Topic: Scale gauge chartview elements on resize (Xamarin Forms)
Replies: 5
Views: 15196

Re: Scale gauge chartview elements on resize (Xamarin Forms)

Thank you for your help. I have added the Chart.Chart.InternalDraw() method call to the end of the Resize method & while it does re-draw the font, centre point & colour band in the correct size it leaves the original (incorrectly sized) chart elements in position, creating a "shadow" effect - see im...
by Scobie
Sun May 09, 2021 8:19 pm
Forum: .NET
Topic: Scale gauge chartview elements on resize (Xamarin Forms)
Replies: 5
Views: 15196

Scale gauge chartview elements on resize (Xamarin Forms)

Steema version = Steema.TeeChart.NET.Xamarin.Forms v4.2021.4.22 Xamarin Forms version = v5.0.0.2012 Development platform = Visual Studio 2019 Pro v16.9.1 Target device = Android 6.0 (API 23) to API 10.0 (API 29) smallest res = 480x800 I am trying to write code to re-size aspects of a circular gauge ...
by Scobie
Wed Feb 10, 2021 10:58 pm
Forum: .NET
Topic: Legend styling (Xamarin Forms)
Replies: 2
Views: 9069

Re: Legend styling (Xamarin Forms)

Hello,

Thank you for your comprehensive answer. I have now applied all the fixes which you have listed & the legend & chart are now showing as required.

ChartWithFixes.png
ChartWithFixes.png (73.22 KiB) Viewed 9005 times

Once again, thanks for your help.
by Scobie
Tue Feb 02, 2021 10:49 pm
Forum: .NET
Topic: Legend styling (Xamarin Forms)
Replies: 2
Views: 9069

Legend styling (Xamarin Forms)

Steema version = Steema.TeeChart.NET.Xamarin.Forms v4.2021.1.22 Xamarin Forms version = v5.0.0.1931 Development platform = Visual Studio 2019 Pro v16.7.7 Target device = Android 6.0 (API 23) to API 10.0 (API 29) smallest res = 480x800 I am trying to re-style the legend for a line chart but I cannot ...
by Scobie
Thu Jan 21, 2021 10:40 pm
Forum: .NET
Topic: Add scalable image to gauge chartview (Xamarin Forms)
Replies: 11
Views: 24410

Re: Add scalable image to gauge chartview (Xamarin Forms)

Hello, This new code for the thermometer graphic is excellent & far more than I expected you to provide. I have now integrated the battery & thermometer graphic drawing code into my main App (see screenshot below) & will be able to move this into production. Gauge Screenshot (with drawn graphics).pn...
by Scobie
Wed Jan 20, 2021 8:30 pm
Forum: .NET
Topic: Add scalable image to gauge chartview (Xamarin Forms)
Replies: 11
Views: 24410

Re: Add scalable image to gauge chartview (Xamarin Forms)

Hello, Thank you for your answer. I have tested the proposed work-around solution here and it is working as you have described. I should be able to use the g.Pen methods, as demonstrated, to create the images required, although it will mean more work than simply resizing an original image file. The ...
by Scobie
Tue Jan 12, 2021 7:58 pm
Forum: .NET
Topic: Add scalable image to gauge chartview (Xamarin Forms)
Replies: 11
Views: 24410

Re: Add scalable image to gauge chartview (Xamarin Forms)

Hello, Appreciate that you probably have not had chance to look into this yet & reply, but as I am being asked to find a resolution to this issue I've been trying some more possible solutions based on your suggestion. I've tried all the "Before" events available (i.e. BeforeDraw, BeforeDrawAxes, Bef...
by Scobie
Wed Jan 06, 2021 11:36 pm
Forum: .NET
Topic: Add scalable image to gauge chartview (Xamarin Forms)
Replies: 11
Views: 24410

Re: Add scalable image to gauge chartview (Xamarin Forms)

Hello, Thankyou for your help. I have now re-written my image overlay code, as suggested, and I now resize the image in separate code before using the following line to draw the image... g.Draw(new Rectangle(xpos, ypos, imgX, imgY), img, Steema.TeeChart.Drawing.ImageMode.Normal, false); I can now su...
by Scobie
Tue Dec 15, 2020 9:51 pm
Forum: .NET
Topic: Add scalable image to gauge chartview (Xamarin Forms)
Replies: 11
Views: 24410

Add scalable image to gauge chartview (Xamarin Forms)

Using = Steema.TeeChart.NET.Xamarin.Forms v4.2020.10.26 Development platform = Visual Studio 2019 Pro v16.7.7 Target device = Android 6.0 (API 23) to API 10.0 (API 29) smallest res = 480x800 I have a requirement to draw an image on top of a circular gauge at a position relative to the gauge and for ...