Search found 23 matches

by dynamicrisk
Wed Nov 20, 2024 10:39 pm
Forum: JavaScript / HTML5
Topic: Blazor Chart Cursor Offset
Replies: 1
Views: 1385

Blazor Chart Cursor Offset

Hello, I have a chart being in rendered into the following canvas. <tally-chart> <canvas id="canvas1" height="500" style="border: 0px solid #808080;" oncl /> </tally-chart> I am trying to get my chart to extended to the end of my window without hard coding in a width. I currently have width set to 1...
by dynamicrisk
Tue Nov 12, 2024 10:54 pm
Forum: .NET
Topic: TeeChart .NET For Blazor Chart does not zoom out correctly
Replies: 6
Views: 5624

Re: TeeChart .NET For Blazor Chart does not zoom out correctly

Hi Marc,

I have the chart zooming out correctly now thanks. However I noticed that when I added dynoTeeChart.aspect.clipRect(dynoTeeChart.chartRect) that my chart axes no longer updated when I zoomed in or out?

Thanks
by dynamicrisk
Thu Nov 07, 2024 3:54 pm
Forum: .NET
Topic: TeeChart .NET For Blazor Chart does not zoom out correctly
Replies: 6
Views: 5624

Re: TeeChart .NET For Blazor Chart does not zoom out correctly

Hi Marc, Is it possible to override this somehow with an event handler or something? I already have my zoom and scroll direction set to horizontal, but I need to ensure that my left axis is always set from 0 - 12 regardless of the data set being displayed in the graph. Do you know if there is also a...
by dynamicrisk
Wed Nov 06, 2024 5:10 pm
Forum: .NET
Topic: TeeChart .NET For Blazor Chart does not zoom out correctly
Replies: 6
Views: 5624

Re: TeeChart .NET For Blazor Chart does not zoom out correctly

It looks like the zoom out is working correctly but it doesn't reset the chart to the original size. I currently have my bottom axis set to +-0.5 for my data range and zoom seems to be using a different property to set the chart back to the original size.
by dynamicrisk
Tue Nov 05, 2024 10:17 pm
Forum: .NET
Topic: TeeChart .NET For Blazor Chart does not zoom out correctly
Replies: 6
Views: 5624

TeeChart .NET For Blazor Chart does not zoom out correctly

Hello, I have a chart that is being generated with the following script. <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 =...
by dynamicrisk
Mon Oct 07, 2024 1:26 pm
Forum: .NET
Topic: TeeChart .NET For Blazor Chart not displaying
Replies: 15
Views: 47056

Re: TeeChart .NET For Blazor Chart not displaying

Ok it says the file has been successfully uploaded.
by dynamicrisk
Fri Oct 04, 2024 9:25 pm
Forum: .NET
Topic: TeeChart .NET For Blazor Chart not displaying
Replies: 15
Views: 47056

Re: TeeChart .NET For Blazor Chart not displaying

Hi,

I uploaded the file. I am not sure if it completed though. Here is a screenshot of the web page I received after uploading.
by dynamicrisk
Fri Oct 04, 2024 1:48 pm
Forum: .NET
Topic: TeeChart .NET For Blazor Chart not displaying
Replies: 15
Views: 47056

Re: TeeChart .NET For Blazor Chart not displaying

Getting this when I navigate to the link.
by dynamicrisk
Thu Oct 03, 2024 9:00 pm
Forum: .NET
Topic: TeeChart .NET For Blazor Chart not displaying
Replies: 15
Views: 47056

Re: TeeChart .NET For Blazor Chart not displaying

Hi Edu,

The chart is still not rendering. Is there a way to send the test app as the forum says the .zip is too large to share?

Thanks
by dynamicrisk
Thu Oct 03, 2024 2:35 pm
Forum: .NET
Topic: TeeChart .NET For Blazor Chart not displaying
Replies: 15
Views: 47056

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 dynamicrisk
Thu Oct 03, 2024 2:11 pm
Forum: .NET
Topic: TeeChart .NET For Blazor Chart not displaying
Replies: 15
Views: 47056

Re: TeeChart .NET For Blazor Chart not displaying

Hi Edu,

Thanks for the reply. I removed those lines and it looks like the chart is still not rendering.
by dynamicrisk
Wed Oct 02, 2024 9:10 pm
Forum: .NET
Topic: TeeChart .NET For Blazor Chart not displaying
Replies: 15
Views: 47056

TeeChart .NET For Blazor Chart not displaying

Hello, I am trying to display a chart in a test project. My Chart.razor file contains the following code: @page "/chart" @using TestApp.Chart; @using Microsoft.Extensions.Localization; @using System.Reflection; @using System.Resources; @using System.IO; @using Microsoft.AspNetCore.Components; <h3> @...
by dynamicrisk
Thu Sep 05, 2024 3:04 pm
Forum: .NET
Topic: TeeChart .NET For Blazor Getting series y position in pixels
Replies: 3
Views: 24352

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

Hi Edu, mChart.AfterDraw += TChart_AfterDraw doesnt trigger private void TChart_AfterDraw(object sender, Steema.TeeChart.Drawing.IGraphics3D g) . Will a blazor chart trigger an event in .NET? I have also tried getting a javascript function to trigger but this is not working either. customCode.Add($"...
by dynamicrisk
Thu Aug 29, 2024 6:55 pm
Forum: .NET
Topic: TeeChart NET for Blazor How to hook up a chart zoom event
Replies: 1
Views: 10389

TeeChart NET for Blazor How to hook up a chart zoom event

Hello,

I am trying to implement a chart zoomed event in a blazor chart and cannot seem to get it working. Should I be using the TChart.Zoomed event in c# or does this need to be done somewhere in the <canvas> tag with javascript?
by dynamicrisk
Thu Aug 29, 2024 3:35 pm
Forum: .NET
Topic: TeeChart .NET For Blazor Getting series y position in pixels
Replies: 3
Views: 24352

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? Axis anomaliesAxis = new Axis(false, false, mChart.Chart); anomaliesAxis.Title.Text = "Clock"; anomaliesAxis....