Search found 1351 matches

by Christopher
Tue May 11, 2021 5:19 pm
Forum: .NET
Topic: TeeChart .NET WPF SmoothingMode
Replies: 1
Views: 763

Re: TeeChart .NET WPF SmoothingMode

Hello, The SmoothingMode set the System.Drawing.Graphics.SmoothingMode of the Windows Forms GDI+ canvas, of which I don't think there is a direct equivalent in the WPF DirectX canvas. The closest I've found in mentioned in this post here , which we can apply both in WPF for .NET Framework 4.X and .N...
by Christopher
Fri May 07, 2021 2:20 pm
Forum: .NET
Topic: WPF ColorGrid DataBinding
Replies: 29
Views: 8146

Re: WPF ColorGrid DataBinding

Hello,
Christopher wrote:
Fri May 07, 2021 9:36 am
Does TeeChart have another series that already does this?
No. As I say, I've add a feature request for a Heat Map series into our issue tracker with id=2422.
by Christopher
Fri May 07, 2021 9:36 am
Forum: .NET
Topic: WPF ColorGrid DataBinding
Replies: 29
Views: 8146

Re: WPF ColorGrid DataBinding

Hello, It ends up being slightly irregular due to numerical rounding. We published new NuGets for TChart .NET Framework 4/.NET 5 yesterday which include a fix for the defect I've mentioned in this thread - can you still reproduce this rounding problem in this new version? If so, could you please pas...
by Christopher
Tue May 04, 2021 6:19 pm
Forum: .NET
Topic: WPF ColorGrid DataBinding
Replies: 29
Views: 8146

Re: WPF ColorGrid DataBinding

How can I get each axis to display major tick mark and labels with an increment of 0.2? I tried setting chart.Axes.Bottom.Increment = 0.2; but that did not work. No, because when we use Labels.Items for our labels, as in the 'retrofitting labels' code, TChart understands Axes labels as manually def...
by Christopher
Tue May 04, 2021 9:58 am
Forum: .NET
Topic: WPF ColorGrid DataBinding
Replies: 29
Views: 8146

Re: WPF ColorGrid DataBinding

Hello, I guess this get's back to one of your earlier posts. For .NET5 WPF apps, should we use TeeChart.Xaml.WPF or TeeChart.WPF namespace in xaml? If we use TeeChart.WPF, is this then inconsistent with some of our earlier conversation related to defining a TChart and ColorGrid in xaml? Yes, it's no...
by Christopher
Mon May 03, 2021 3:32 pm
Forum: .NET
Topic: WPF ColorGrid DataBinding
Replies: 29
Views: 8146

Re: WPF ColorGrid DataBinding

jfrtx wrote:
Mon May 03, 2021 3:03 pm
I am still having problems. Can you attach your source code or post to github?
Of course. This project should be okay.
by Christopher
Mon May 03, 2021 9:27 am
Forum: .NET
Topic: WPF ColorGrid DataBinding
Replies: 29
Views: 8146

Re: WPF ColorGrid DataBinding

Hello, You're welcome! "Error CS1061 'TChart' does not contain a definition for 'Chart' and no accessible extension method 'Chart' accepting a first argument of type 'TChart' could be found (are you missing a using directive or an assembly reference?)" Not sure about this one. Things seems to be fin...
by Christopher
Fri Apr 30, 2021 10:59 am
Forum: .NET
Topic: WPF ColorGrid DataBinding
Replies: 29
Views: 8146

Re: WPF ColorGrid DataBinding

Hello, Case 2 is much faster and responsive then Case 1 Yes, if you had access to the source code you would be able to see that this is expected. Please let me briefly explain. RegularGrid and IrregularGrid are somewhat of a misnomer, as it would be more precise to call these properties 'OneStepGrid...
by Christopher
Wed Apr 28, 2021 8:36 am
Forum: .NET
Topic: WPF ColorGrid DataBinding
Replies: 29
Views: 8146

Re: WPF ColorGrid DataBinding

Hello, I am not sure I understand your question. Are you asking if the code snippet I supplied for a change in the constructor compiles and runs? No. What I mean is that using the latest NuGet package, we can create a WPF application that doesn't reference TeeChart.Xaml.WPF: Screenshot from 2021-04-...
by Christopher
Tue Apr 27, 2021 4:25 pm
Forum: .NET
Topic: WPF ColorGrid DataBinding
Replies: 29
Views: 8146

Re: WPF ColorGrid DataBinding

Hello,
jfrtx wrote:
Tue Apr 27, 2021 4:03 pm
However, due to numerical precision, the axis appears to be irregular which is causing problems for ColorGrid.
Does this code work for you at runtime, that is, without use of the TeeChart.Xaml.WPF assembly?
by Christopher
Tue Apr 27, 2021 8:53 am
Forum: .NET
Topic: WPF ColorGrid DataBinding
Replies: 29
Views: 8146

Re: WPF ColorGrid DataBinding

Hello,
jfrtx wrote:
Mon Apr 26, 2021 4:19 pm
I tried the following but did not get a ColorGrid plot.
Okay, I've made a change at the GitHub example here which you will now be able to run:
Screenshot from 2021-04-27 10-51-00.png
Screenshot from 2021-04-27 10-51-00.png (108.94 KiB) Viewed 3939 times
by Christopher
Mon Apr 26, 2021 4:03 pm
Forum: .NET
Topic: WPF ColorGrid DataBinding
Replies: 29
Views: 8146

Re: WPF ColorGrid DataBinding

Do I use Series3DData and do I setup the binding on X, Y, Z as shown series:Series3DData X="{Binding XData}" Y="{Binding YData}" Z="{Binding ZData}" When I do this I get a binding error during runtime. Which of the two examples are you trying to follow, BindingDataProperties.xaml or BindingObservab...
by Christopher
Mon Apr 26, 2021 3:50 pm
Forum: .NET
Topic: WPF ColorGrid DataBinding
Replies: 29
Views: 8146

Re: WPF ColorGrid DataBinding

jfrtx wrote:
Mon Apr 26, 2021 3:41 pm
I did not see an example for binding 3D data (x,y,z).
As I say, I think you will be able to adapt the 2D (x,y) data techniques shown in those examples to the 3D (x,y,z) data of the ColorGrid.
by Christopher
Mon Apr 26, 2021 3:20 pm
Forum: .NET
Topic: WPF ColorGrid DataBinding
Replies: 29
Views: 8146

Re: WPF ColorGrid DataBinding

How do I databind x,y,z that is used in the ColorGrid to a viewmodel? There are a couple of Binding examples already in the examples, specifically those in this example here : Screenshot from 2021-04-26 17-16-31.png You should be able to adapt these techniques to the ColorGrid - any problems do ple...
by Christopher
Thu Apr 22, 2021 11:19 am
Forum: .NET
Topic: WPF ColorGrid DataBinding
Replies: 29
Views: 8146

Re: WPF ColorGrid DataBinding

Hello,

just to let you know we've released a new NuGet in which the ColorGrid series is present in the TeeChart.Xaml.WPF assembly - you can see an example of it working in this example:
Screenshot from 2021-04-22 13-09-26.png
Screenshot from 2021-04-22 13-09-26.png (47.58 KiB) Viewed 4155 times