Search found 32 matches
- Fri Sep 06, 2024 10:38 am
- Forum: .NET
- Topic: TeeChart .NET For Blazor Getting series y position in pixels
- Replies: 3
- Views: 3484
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...
- Fri Sep 06, 2024 6:26 am
- Forum: .NET
- Topic: Bottom subaxis manual text is not added
- Replies: 3
- Views: 2123
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
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
- Thu Sep 05, 2024 3:33 pm
- Forum: .NET
- Topic: Bottom subaxis manual text is not added
- Replies: 3
- Views: 2123
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...
- Thu Sep 05, 2024 11:43 am
- Forum: .NET
- Topic: When you click the legend, series high light?
- Replies: 5
- Views: 2843
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 ...
- Thu Sep 05, 2024 7:31 am
- Forum: .NET
- Topic: When you click the legend, series high light?
- Replies: 5
- Views: 2843
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'...
- Wed Sep 04, 2024 8:29 am
- Forum: .NET
- Topic: TeeChart.NET Jagged line and time labels
- Replies: 1
- Views: 2405
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 ...
- Mon Sep 02, 2024 10:13 am
- Forum: .NET
- Topic: TeeChart NET for Blazor Legend checkboxs not working
- Replies: 4
- Views: 9160
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...
- Fri Aug 30, 2024 10:37 am
- Forum: .NET
- Topic: TeeChart .NET For Blazor Getting series y position in pixels
- Replies: 3
- Views: 3484
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,...
- Mon Aug 26, 2024 8:01 am
- Forum: .NET
- Topic: I want to know the area capture information.
- Replies: 6
- Views: 7169
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...
- Fri Aug 23, 2024 10:13 am
- Forum: .NET
- Topic: TeeChart NET for Blazor Legend checkboxs not working
- Replies: 4
- Views: 9160
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
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
- Fri Aug 23, 2024 7:02 am
- Forum: .NET
- Topic: I want to know the area capture information.
- Replies: 6
- Views: 7169
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...
- Thu Aug 22, 2024 1:46 pm
- Forum: .NET
- Topic: I want to know the area capture information.
- Replies: 6
- Views: 7169
Re: I want to know the area capture information.
Hi there, I’d like to provide some additional methods to help you achieve your goal. I'll walk you through it step by step. You can find the complete code below. 1.- Make the trigger be, instead of a button click, the chart Afterdraw (in my previous reply I was using a click as an example) tChart1.A...
- Thu Aug 22, 2024 10:02 am
- Forum: .NET
- Topic: I want to know the area capture information.
- Replies: 6
- Views: 7169
Re: I want to know the area capture information.
Hello, There are multiple ways to achieve this. I'll show you an example. First, declare two Points, for example, "up" and "down". Point down, up; Then, through these events we can give values to those points. tChart1.MouseDown += TChart1_MouseDown; tChart1.MouseUp += TChart1_MouseUp; private void T...
- Wed Aug 21, 2024 9:03 am
- Forum: .NET
- Topic: TeeChart NET for Blazor drawing line on a graph
- Replies: 1
- Views: 4116
Re: TeeChart NET for Blazor drawing line on a graph
Hello, To draw a vertical line on a Blazor chart, you can do so like this, for example: Chart1.ondraw=function() { const ctx = Chart1.ctx; let x1 = Chart1.axes.bottom.calc(9); y1 = Chart1.axes.left.startPos; y2 = Chart1.axes.left.endPos; ctx.beginPath(); ctx.moveTo(x1, y1); ctx.lineTo(x1, y2); ctx.c...
- Mon Aug 19, 2024 8:18 am
- Forum: .NET
- Topic: Multitarget .licx error
- Replies: 4
- Views: 7267
Re: Multitarget .licx error
Hello Konstantin:
Regards,
Edu
For TeeChart versions from 2018, with the introduction of support for Nuget, the licensing paradigm needed to be changed. It is not possible to apply the old model to current buildsIs there any way to have old an behavior (4.1.2014.8120)?
Regards,
Edu