Search found 40 matches

by Edu
Thu Dec 19, 2024 3:49 pm
Forum: .NET
Topic: TeeChart .NET For Blazor Nested Legend Series
Replies: 1
Views: 1061

Re: TeeChart .NET For Blazor Nested Legend Series

Hello, TChart Blazor doesn't offer a way to create groups of series in the legend. However, through custom code (js) you can decide which series are active at a time. This way you could have, for example, a function that activates some series and hides the other ones, completely up to you. Best rega...
by Edu
Mon Nov 25, 2024 9:55 am
Forum: .NET
Topic: Teechart .NET 4.2024.11.14 - Import/Export from/to .ten format doesn't work as expected
Replies: 1
Views: 2564

Re: Teechart .NET 4.2024.11.14 - Import/Export from/to .ten format doesn't work as expected

Hello: From a console application, please use the class TChart to access Export functionality. While the class 'Chart' does the job with UI Frameworks like Winforms, it is limited when it comes to console apps. Here's how the code would look like, following the code you provided, instead of "Chart c...
by Edu
Mon Nov 04, 2024 10:37 am
Forum: .NET
Topic: Annotations are broken. Can't draw on the canvas.
Replies: 17
Views: 41349

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

Hello,

I have tried to reproduce your issue but creating and setting up Annotations seems to work as expected on my end.
Could you please share additional details or code context so we can assist you further?

Best regards,
Edu
by Edu
Wed Oct 09, 2024 10:19 am
Forum: .NET
Topic: TeeChart .NET For Blazor Chart not displaying
Replies: 15
Views: 71283

Re: TeeChart .NET For Blazor Chart not displaying

Hello, I have been reviewing your project. I noticed you are using our demos as a baseline and then adding things on top to test things out. This practice is perfectly fine, however, there are a few things that I would like to point out. This is a step-by-step guide not only for resolving the curren...
by Edu
Fri Oct 04, 2024 6:57 am
Forum: .NET
Topic: TeeChart .NET For Blazor Chart not displaying
Replies: 15
Views: 71283

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: 15
Views: 71283

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: 15
Views: 71283

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: 15
Views: 71283

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: 30625

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: 27367

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: 27367

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: 36179

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: 36179

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: 12633

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: 37889

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...