Search found 11 matches

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

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

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

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....
by dynamicrisk
Thu Aug 22, 2024 2:00 pm
Forum: .NET
Topic: TeeChart NET for Blazor ChartAggregate Example
Replies: 2
Views: 8619

Re: TeeChart NET for Blazor ChartAggregate Example

Hi,

Has data aggregation been implemented for Blazor yet or is this something that will need to be done in JavaScript?

Thanks
by dynamicrisk
Thu Aug 22, 2024 1:58 pm
Forum: .NET
Topic: TeeChart NET for Blazor Legend checkboxs not working
Replies: 4
Views: 9155

Re: TeeChart NET for Blazor Legend checkboxs not working

Hello,

Just following up to see if there are any updates on this.

Thanks
by dynamicrisk
Tue Aug 20, 2024 3:49 pm
Forum: .NET
Topic: TeeChart NET for Blazor drawing line on a graph
Replies: 1
Views: 4116

TeeChart NET for Blazor drawing line on a graph

Hi,

I am trying to draw a vertical hatched line on a blazor graph. We were previously using Graphics3D.Line(int x0, int y0, int x1, int y1) but I am not seeing an equivalent method for jScript in the JsDoc reference. If there is a way to do this could you please let me know.

Thanks
by dynamicrisk
Wed Aug 14, 2024 3:19 pm
Forum: .NET
Topic: TeeChart NET for Blazor Legend checkboxs not working
Replies: 4
Views: 9155

TeeChart NET for Blazor Legend checkboxs not working

Hi, I am trying to add checkboxes to my chart legend using Legend.ActiveStyle = LegendActiveStyles.CheckBox and Legend.CheckBoxes = true. Neither seem to be working. Here is the sample code I am using: public Task<string> GetJSChart(int chartType, int width, int height) { Steema.TeeChart.TChart mCha...
by dynamicrisk
Fri Aug 09, 2024 3:40 pm
Forum: .NET
Topic: TeeChart NET for Blazor ChartAggregate Example
Replies: 2
Views: 8619

TeeChart NET for Blazor ChartAggregate Example

Hi,

I am trying to implement data aggregation into a TChart with a point series. Is there a chart property that I can assign a Steema.TeeChart.Data.ChartAggregate value too?

Thanks,
Jeff
by dynamicrisk
Fri Aug 02, 2024 9:17 pm
Forum: .NET
Topic: TeeChart .NET For Blazor NullReferenceException
Replies: 5
Views: 11200

Re: TeeChart .NET For Blazor NullReferenceException

Hi Edu, I got the drawing working on the appointments chart in the sample project. I am trying to draw a box around every data point in the point chart but am getting a blank chart back. Here is the method where I added the custom code. //general type characteristics string[] getCustomCode1(bool ani...
by dynamicrisk
Tue Jul 30, 2024 2:15 pm
Forum: .NET
Topic: TeeChart .NET For Blazor NullReferenceException
Replies: 5
Views: 11200

Re: TeeChart .NET For Blazor NullReferenceException

Hello Edu, Here is a sample of the code. protected override async Task OnInitializedAsync() { int chartType = Convert.ToInt32(CType); if ((chartType == 31) || (chartType == 32)) //pie, donut { GetGeneralChart cGen = new GetGeneralChart(); [b] chartJS = await cGen.GetJSChart(chartType, 1400, 500);[/b...
by dynamicrisk
Thu Jul 25, 2024 6:57 pm
Forum: .NET
Topic: TeeChart .NET For Blazor NullReferenceException
Replies: 5
Views: 11200

TeeChart .NET For Blazor NullReferenceException

Hi, I am attempting to draw rectangles on the point chart in the .NET 8 blazor example program and getting a null reference exception when trying to call Graphics3DImageSharp.Rectangle(Rectangle rectangle). Here is a copy of the stack trace. at SixLabors.ImageSharp.GraphicOptionsDefaultsExtensions.G...