Search found 36 matches

by Edu
Fri Oct 04, 2024 6:57 am
Forum: .NET
Topic: TeeChart .NET For Blazor Chart not displaying
Replies: 12
Views: 2554

Re: TeeChart .NET For Blazor Chart not displaying

Hello,

You can upload your zip file through this link https://steema.net/uploads/

Best regards,
Edu
by Edu
Thu Oct 03, 2024 3:42 pm
Forum: .NET
Topic: TeeChart .NET For Blazor Chart not displaying
Replies: 12
Views: 2554

Re: TeeChart .NET For Blazor Chart not displaying

Update: The following scripts do not render a chart either. <script> var dynoTeeChart; dynoTeeChart=new Tee.Chart("canvas1"); dynoTeeChart.scroll.direction ='both'; dynoTeeChart.zoom.direction ='both'; dynoTeeChart.panel.format.fill="#FFFFFF"; dynoTeeChart.panel.format.gradient.colors = ["#EAEAEA",...
by Edu
Thu Oct 03, 2024 2:43 pm
Forum: .NET
Topic: TeeChart .NET For Blazor Chart not displaying
Replies: 12
Views: 2554

Re: TeeChart .NET For Blazor Chart not displaying

Hello,

Thank you for your reply. Could you please share the entire project so I can review it and suggest a more effective solution? If the project contains sensitive data, a simplified version will work just as well.
by Edu
Thu Oct 03, 2024 11:49 am
Forum: .NET
Topic: TeeChart .NET For Blazor Chart not displaying
Replies: 12
Views: 2554

Re: TeeChart .NET For Blazor Chart not displaying

Hello, The problem appears to be caused by a part of the code that we assume to be added by customCode being added to the export. All appears to work corrcetly except for this part: dynoTeeChart.onzoom = function() { console.log('zoom function triggered.') DotNet.invokeMethodAsync('TeeChartOnBlazor'...
by Edu
Fri Sep 06, 2024 10:38 am
Forum: .NET
Topic: TeeChart .NET For Blazor Getting series y position in pixels
Replies: 3
Views: 9448

Re: TeeChart .NET For Blazor Getting series y position in pixels

Hello, customCode.Add($"{aChart.Export.Image.JScript.ChartName}.afterdraw = function()"); The function you're trying to use is called ondraw . Maybe this change alone fixes the issues you're encountering. For example: customCode.Add($"{chartName}.ondraw = function()"); customCode.Add("{"); customCod...
by Edu
Fri Sep 06, 2024 6:26 am
Forum: .NET
Topic: Bottom subaxis manual text is not added
Replies: 3
Views: 7001

Re: Bottom subaxis manual text is not added

Hello,

I am reviewing this issue you're experiencing and want to make sure everything is up to date on your end. Could you verify if you're using our latest version? My tests are working fine on my end, so I just want to make sure we're on the same page.

Regards,
Edu
by Edu
Thu Sep 05, 2024 3:33 pm
Forum: .NET
Topic: Bottom subaxis manual text is not added
Replies: 3
Views: 7001

Re: Bottom subaxis manual text is not added

Hello, Adding these lines, your code should work. axis.Maximum = 50; axis.AutomaticMaximum = false; You can learn more about other options for axes, such as custom axes and axis copy here: https://steema.com/docs/teechart/net/tutorials/html/TeeChartProNetTutorialsContentsTutorial4-AxisControl.htm If...
by Edu
Thu Sep 05, 2024 11:43 am
Forum: .NET
Topic: When you click the legend, series high light?
Replies: 5
Views: 9460

Re: When you click the legend, series high light?

Hello, // Error CS1061 'Legend' does not include a definition for 'ActiveStyle'. Chart1.Legend.ActiveStyle = LegendActiveStyles.Opacity; 'ActiveStyle'. // Error Chart1.Legend.ActiveStyle = LegendActiveStyles.LineThrough; // Error CS1061 Please note that activeStyle is a recent new feature so if you ...
by Edu
Thu Sep 05, 2024 7:31 am
Forum: .NET
Topic: When you click the legend, series high light?
Replies: 5
Views: 9460

Re: When you click the legend, series high light?

Hello, private void Chart2_ClickLegend(object sender, Steema.TeeChart.Drawing.MouseEventArgs e) This should be private void _chart1_ClickLegend(object sender, System.Windows.Input.MouseEventArgs e) instead. In WPF, to get X and Y values you can't access e.X and e.Y the same way as in Winforms. Here'...
by Edu
Wed Sep 04, 2024 8:29 am
Forum: .NET
Topic: TeeChart.NET Jagged line and time labels
Replies: 1
Views: 4134

Re: TeeChart.NET Jagged line and time labels

Hello, Thank you for bringing these issues to our attention. We've verified the bugs, and you’re absolutely correct. 1. A line that should be smooth is jagged. Some unexpected line points are displayed. We have found out that smoothing behaves oddly with date times that are fractions of days. We're ...
by Edu
Mon Sep 02, 2024 10:13 am
Forum: .NET
Topic: TeeChart NET for Blazor Legend checkboxs not working
Replies: 4
Views: 16969

Re: TeeChart NET for Blazor Legend checkboxs not working

Hi, I’m pleased to inform you that your request has been successfully completed and is now ready for implementation. With the latest release (2024.8.30), you can begin using it immediately. tChart.Legend.ActiveStyle = LegendActiveStyles.CheckBox; And this is how it looks like: LegendCheckbox1.png Be...
by Edu
Fri Aug 30, 2024 10:37 am
Forum: .NET
Topic: TeeChart .NET For Blazor Getting series y position in pixels
Replies: 3
Views: 9448

Re: TeeChart .NET For Blazor Getting series y position in pixels

Hello, I am trying calculate the y position in pixels of a series that is using a custom axis. Using the axis.CalcYPosValue is always returning 0. Is there a way to do this with Custom axes? Yes, your code works well! However, it's important to note that the chart only has access to certain details,...
by Edu
Mon Aug 26, 2024 8:01 am
Forum: .NET
Topic: I want to know the area capture information.
Replies: 6
Views: 15664

Re: I want to know the area capture information.

Hello again, When I tested the sample, I had some additional inquiries. How do I erase the square? function does not have a clear option. You can always use g.Rectangle again to erase the previous rectangle. If your values are 0,0,0,0 the rectangle will be invisible (so basically erasing the previou...
by Edu
Fri Aug 23, 2024 10:13 am
Forum: .NET
Topic: TeeChart NET for Blazor Legend checkboxs not working
Replies: 4
Views: 16969

Re: TeeChart NET for Blazor Legend checkboxs not working

Hello,

The team has been making progress, and we're getting close to finalizing a new update that includes this functionality. We expect it to be ready soon.

I'll share more details as soon as they're available.

Thank you for your patience.

Best regards,
Edu
by Edu
Fri Aug 23, 2024 7:02 am
Forum: .NET
Topic: I want to know the area capture information.
Replies: 6
Views: 15664

Re: I want to know the area capture information.

Hello, Don't worry! The difference isn't really that big. Things to note: 1.- The point constructor for WPF takes two doubles 2.- When dealing with MouseButtonEventArgs, we can't use e.X or e.Y. >> Instead, we can use e.GetPosition((UIElement)sender For example: private void TChart1_MouseDown1(objec...