Search found 61 matches

by TLC
Tue Oct 29, 2024 6:59 pm
Forum: .NET
Topic: Steema.TeeChart.Tools.NearestPoint Change event doesn't trigger
Replies: 2
Views: 986

Steema.TeeChart.Tools.NearestPoint Change event doesn't trigger

Steema.TeeChart.Tools.NearestPoint Change event doesn't trigger because the kind parameter is never MouseEventKinds.Move . I clicked and dragged on the chart but it never triggered. Only the down and up events fired. protected internal override void MouseEvent( MouseEventKinds kind, MouseEventArgs e...
by TLC
Tue Oct 29, 2024 5:36 pm
Forum: .NET
Topic: Annotations are broken. Can't draw on the canvas.
Replies: 1
Views: 559

Annotations are broken. Can't draw on the canvas.

Steema.TeeChart.NET.MAUI v6.2024.8.29 Seems that the following is the culprit: Microsoft.Maui.Graphics.Platform.PlatformCanvas Seems like the CurrentState is null. It should be an instance of PlatformCanvasState . public override void FillRectangle(float x, float y, float width, float height) { var ...
by TLC
Thu Oct 05, 2023 12:39 am
Forum: .NET
Topic: Steema.TeeChart.NET.Xamarin.Forms v4.2022.12.20 breaks in iOS v17.0.3
Replies: 2
Views: 22891

Re: Steema.TeeChart.NET.Xamarin.Forms v4.2022.12.20 breaks in iOS v17.0.3

Found a workaround and it works on both platforms...

change Line.Add( point.Date, point.Value, point.Label, color ); to Line.Add( Utils.DateTime( point.Date ), point.Value, point.Label, color );
by TLC
Wed Oct 04, 2023 11:06 pm
Forum: .NET
Topic: Steema.TeeChart.NET.Xamarin.Forms v4.2022.12.20 breaks in iOS v17.0.3
Replies: 2
Views: 22891

Steema.TeeChart.NET.Xamarin.Forms v4.2022.12.20 breaks in iOS v17.0.3

Steema.TeeChart.NET.Xamarin.Forms v4.2022.12.20 breaks in iOS v17.0.3

Most values are not rendered correctly and it worked in iOS v17.0.2. The Y values change when rendered but are actually the correct values when inserted into the DataLine.
by TLC
Wed Mar 31, 2021 6:03 pm
Forum: .NET
Topic: Pan/Zoom and Screen Tap is broken on iOS.
Replies: 6
Views: 23360

Re: Pan/Zoom and Screen Tap is broken on iOS.

Then you should probably Obsolete it, so it doesn't cause confusion, as I never found that ANYWHERE in the docs.
by TLC
Fri Mar 26, 2021 10:01 pm
Forum: .NET
Topic: System.ArgumentNullException Value cannot be null. Parameter name: type
Replies: 20
Views: 79578

Re: System.ArgumentNullException Value cannot be null. Parameter name: type

Just got new info: seems to be related to HotReload and TeeChart.PCL.Android. Assembly Ref addref TeeChart.PCL.Android[0x70d6fadb00] -> System.Core[0x70d6fe4be0]: 9 [HotReload] (2021-03-26 16:57:39.2): ERROR: Caught exception in OnAfterSave at 290: System.NullReferenceException: Object reference not...
by TLC
Thu Mar 25, 2021 3:26 pm
Forum: .NET
Topic: System.ArgumentNullException Value cannot be null. Parameter name: type
Replies: 20
Views: 79578

Re: System.ArgumentNullException Value cannot be null. Parameter name: type

This is the stack trace: {System.ArgumentNullException: Value cannot be null.Parameter name: type at System.Activator.CreateInstance (System.Type type, System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder binder, System.Object[] args, System.Globalization.CultureInfo culture, System....
by TLC
Thu Mar 25, 2021 3:18 pm
Forum: .NET
Topic: Annotations do not render. Steema.TeeChart.NET.Xamarin.Forms v4.2021.2.25
Replies: 8
Views: 28005

Re: Annotations do not render. Steema.TeeChart.NET.Xamarin.Forms v4.2021.2.25

Hello, ok great. Looking at your code, as you have created your custom annotation class , I do not see incorrectly to way that draw method has to be called. Let me look more carefully, but it looks good to me. This is a workaround until it is fixed. NOT THE FIX. It should render without having to d...
by TLC
Wed Mar 24, 2021 6:52 pm
Forum: .NET
Topic: System.ArgumentNullException Value cannot be null. Parameter name: type
Replies: 20
Views: 79578

Re: System.ArgumentNullException Value cannot be null. Parameter name: type

Hello, **System.InvalidCastException:** 'Specified cast is not valid.' Yes, you're correct, it was a bug which we've already fixed it. We've just upload a new nuget version that includes the fix. Also, the previous exceptions still over on page creation. About this page problem I cannot reproduce t...
by TLC
Wed Mar 24, 2021 6:43 pm
Forum: .NET
Topic: Pan/Zoom and Screen Tap is broken on iOS.
Replies: 6
Views: 23360

Re: Pan/Zoom and Screen Tap is broken on iOS.

With Xamarin.Forms v4.8.0.1821 and Steema.TeeChart.NET.Xamarin.Forms v4.2021.2.25, pinch to zoom don't work on iOS.
by TLC
Wed Mar 24, 2021 3:28 pm
Forum: .NET
Topic: Annotations do not render. Steema.TeeChart.NET.Xamarin.Forms v4.2021.2.25
Replies: 8
Views: 28005

Re: Annotation Tool Popup doesn't respect placements.

I got it to render, albeit incorrectly, by subclassing it and invoking the draw call to it. The DrawText method is NOT being called otherwise, for whatever reason. Edit: AutoSize was being changed for some reason, somewhere. The sizing is ok. This is a workaround: public class AnnotationTool : Annot...
by TLC
Tue Mar 23, 2021 6:17 pm
Forum: .NET
Topic: Annotations do not render. Steema.TeeChart.NET.Xamarin.Forms v4.2021.2.25
Replies: 8
Views: 28005

Re: Annotation Tool Popup doesn't respect placements.

Yes, I do that to find the target point. If you notice, the arrow points to the selected point. The issue is the annotation; It is not being rendered at all. I tried to center it regardless of what point is chosen. public static class ChartExtensions { public static double GetLocalMaximum( this Line...
by TLC
Mon Mar 22, 2021 4:28 pm
Forum: .NET
Topic: Annotations do not render. Steema.TeeChart.NET.Xamarin.Forms v4.2021.2.25
Replies: 8
Views: 28005

Re: Annotation Tool Popup doesn't respect placements.

private void Setup() private void Setup() { // ... AnnotationTool = new Annotation(Chart1) { Active = true, Position = AnnotationPositions.Custom, Text = ViewModel.SelectedItemDescription, AutoSize = true, TextAlign = TextAlignment.Start, AllowEdit = false }; // ... } // AnnotationTool.CoerceVisible...
by TLC
Mon Mar 22, 2021 2:52 pm
Forum: .NET
Topic: Annotations do not render. Steema.TeeChart.NET.Xamarin.Forms v4.2021.2.25
Replies: 8
Views: 28005

Re: Annotation Tool Popup doesn't respect placements.

This occurs on both android and iOS.