Search found 1218 matches

by Christopher
Mon Sep 30, 2019 6:10 am
Forum: .NET
Topic: ASP.NET enable web site license
Replies: 17
Views: 6292

Re: ASP.NET enable web site license

Hello - I've just tested the website that is the Steema example I mentioned here by replacing the contents of the TeeChart.licenses in that example with a valid license - the example then ran correctly without a watermark. Could you please try testing that example at your end? If that website works ...
by Christopher
Fri Sep 27, 2019 5:44 pm
Forum: .NET
Topic: ASP.NET enable web site license
Replies: 17
Views: 6292

Re: ASP.NET enable web site license

Hello, does your TeeChart.licenses file work in a Windows Forms (or WPF) project, or is it only with ASP.NET that you have the problem? You could try putting the contents of your file into this link: https://www.steema.com/linkIn/License_information_check by which you will be able to see the end dat...
by Christopher
Fri Sep 20, 2019 1:46 pm
Forum: .NET
Topic: ASP.NET enable web site license
Replies: 17
Views: 6292

Re: ASP.NET enable web site license

Hello, yes, this should be better documented, we're sorry. To see the TeeChart.licenses file working for a web site, you can clone the WebDemo GitHub repo from here - when you open the solution in visual studio you should see the following: devenv_2019-09-20_15-45-09.png if you replace the contents ...
by Christopher
Fri Sep 20, 2019 1:16 pm
Forum: .NET
Topic: Print preview dialog is not correctly translated to Russian/Spanish/French
Replies: 6
Views: 2644

Re: Print preview dialog is not correctly translated to Russian/Spanish/French

Thank you for reporting this issue to us - we've entered it in our issue-tracking software with id=2241, which means a fix to it will be added to an update in the near future.
by Christopher
Thu Aug 29, 2019 3:46 pm
Forum: .NET
Topic: [WPF] How to set TeeChart.licenses file for a plugin assembly
Replies: 7
Views: 3403

Re: [WPF] How to set TeeChart.licenses file for a plugin assembly

For further readers there is also a compromise option to create "steema.resources" resource-file at starting assembly location and put there a resource named "TeeChart" containing the license. Though it definitely not plugin-usage scenario. There is indeed the possibility of wrapping the TeeChart.l...
by Christopher
Thu Aug 29, 2019 3:04 pm
Forum: .NET
Topic: [WPF] How to set TeeChart.licenses file for a plugin assembly
Replies: 7
Views: 3403

Re: [WPF] How to set TeeChart.licenses file for a plugin assembly

Our concern is that our class library could be wrapped in another class library with full licencing - and so without a watermark - only to be resold. This would be in clear violation of our license agreement. It is for this reason that the only publically available option, in the very exceptional ca...
by Christopher
Wed Aug 28, 2019 7:47 am
Forum: .NET
Topic: [WPF] How to set TeeChart.licenses file for a plugin assembly
Replies: 7
Views: 3403

Re: [WPF] How to set TeeChart.licenses file for a plugin assembly

Hello, I need to embed license not in a starting app assembly, but in dependency assembly which actually uses TChart. Even if you don't have access to the executing assembly, if you drop the TeeChart.licenses file into the same directory as the executable and the two class libraries (your wrapper cl...
by Christopher
Tue Aug 27, 2019 3:36 pm
Forum: .NET
Topic: [WPF] How to set TeeChart.licenses file for a plugin assembly
Replies: 7
Views: 3403

Re: [WPF] How to set TeeChart.licenses file for a plugin assembly

Have you tried adding the EntryAssembly attribute to the AssemblyInfo of your non-exe assembly (A)? The gif here shows you how to do this (in the context of an ASP.NET app).
by Christopher
Thu Aug 22, 2019 8:11 am
Forum: .NET
Topic: Changing line series color in runtime is not working
Replies: 6
Views: 3012

Re: Changing line series color in runtime is not working

bairog wrote:
Thu Aug 22, 2019 8:02 am
With your code all points are Blue (some of them should be Tomato or Gold as the corresponding lines are):
Ah, so you don't want all the Pointers to be of the same color? In which case, change the following line:

Code: Select all

 oldColor = line1.Pointer.Color = Color.Blue;
to this:

Code: Select all

oldColor = Color.Blue;
by Christopher
Thu Aug 22, 2019 7:34 am
Forum: .NET
Topic: Changing line series color in runtime is not working
Replies: 6
Views: 3012

Re: Changing line series color in runtime is not working

But when I uncomment that line (where I manually change line color to Blue) - all point are Blue despite I'm setting every point color explicitly in the Add function: In this scenario there is no need to complicate matters with the series color at all, i.e. public partial class Form1 : Form { priva...
by Christopher
Wed Aug 21, 2019 3:07 pm
Forum: .NET
Topic: Changing line series color in runtime is not working
Replies: 6
Views: 3012

Re: Changing line series color in runtime is not working

That's because you're adding in point colors to your series: lineActualData.Add(i, Values[i].ActualValue, Values[i].FlightDate.ToString(dateTimeMask) + " " + Values[i].FlightShift + " " + Values[i].FlightNum, lineActualData.Color); lineEquivalentData.Add(i, Values[i].EquivalentValue, Values[i].Fligh...
by Christopher
Wed Aug 21, 2019 2:50 pm
Forum: .NET
Topic: How to cast Steema.TeeChart.Chart class to Steema.TeeChart.TChart class
Replies: 1
Views: 2074

Re: How to cast Steema.TeeChart.Chart class to Steema.TeeChart.TChart class

You could try using the Parent property, i.e. private void TChart1_ClickSeries(object sender, Series s, int valueIndex, MouseEventArgs e) { var tchart = sender as Chart; var parent = tchart.Parent; MessageBox.Show(parent.GetControl().Name); }
by Christopher
Tue Aug 13, 2019 10:38 am
Forum: .NET
Topic: FirstVisibleIndex and LastVisibleIndex while zooming
Replies: 18
Views: 5853

Re: FirstVisibleIndex and LastVisibleIndex while zooming

Looks like it's working now, many thanks. You're welcome. Could you explain please, why that collection has more items despite of the fact that I've added _count points? The Value field is public but is for internal use. If you are uncomfortable using it, you can use the more standard API calls: Li...
by Christopher
Tue Aug 13, 2019 8:00 am
Forum: .NET
Topic: Is it possible to use TeeChart v4 Pro in WinForms application (.NET Core 3 preview)
Replies: 18
Views: 7837

Re: Is it possible to use TeeChart v4 Pro in WinForms application (.NET Core 3 preview)

bairog wrote:
Tue Aug 13, 2019 6:21 am
I'm asking because for example the ticket id=2221 has already been fixed in new build ( Steema.TeeChart.NET 4.2019.8.8) but .NET Core assemblies were not updated.
As you correctly point out, this is because the TeeChart .NET Core assemblies are still in pre-release.
by Christopher
Tue Aug 13, 2019 7:58 am
Forum: .NET
Topic: FirstVisibleIndex and LastVisibleIndex while zooming
Replies: 18
Views: 5853

Re: FirstVisibleIndex and LastVisibleIndex while zooming

Hello, okay, well, another variation on an earlier technique seems to work in these circumstances, i.e. public partial class Form1 : Form { //max visible labels private const Int32 maxDisplayedLabelsForBottomaAxis = 20; List<string> _labels = new List<string>(); int _count; public Form1() { var rnd ...