Search found 52 matches

by bairog
Fri Aug 09, 2019 11:49 am
Forum: .NET
Topic: FirstVisibleIndex and LastVisibleIndex while zooming
Replies: 18
Views: 666

Re: FirstVisibleIndex and LastVisibleIndex while zooming

Okay - first off, LastVisibleIndex is one off in LIne series because the line itself is considered as belonging to the next point - so, for example, if you scroll the chart so there's only one point visible, the visible part of the line which continues to the next point (which isn't visible) causes...
by bairog
Fri Aug 09, 2019 9:00 am
Forum: .NET
Topic: FirstVisibleIndex and LastVisibleIndex while zooming
Replies: 18
Views: 666

Re: FirstVisibleIndex and LastVisibleIndex while zooming

rather than using the Zoomed and UndoneZoom events, have you tried using the AfterDraw events?Here this works much better. For unzoomed chart both values are correct: https://i.ibb.co/PhVVgYh/0.jpg But for zoomed chart LastVisibleIndex returns correct_value + 1: https://i.ibb.co/yhCtb7r/1.jpg https...
by bairog
Fri Aug 09, 2019 7:44 am
Forum: .NET
Topic: Is it possible to use TeeChart v4 Pro in WinForms application (.NET Core 3 preview)
Replies: 18
Views: 1991

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

If your license does not have 'teechart.winform' listed it won't work either. Obtaining a new TeeChart.licenses file with 'teechart.winform' listed is easy to do by requesting one from sales@steema.com with your license details. 'teechart.winform' is not listed. I will contact sales@steema.com, tha...
by bairog
Fri Aug 09, 2019 6:45 am
Forum: .NET
Topic: FirstVisibleIndex and LastVisibleIndex while zooming
Replies: 18
Views: 666

FirstVisibleIndex and LastVisibleIndex while zooming

Hello. I'm using TeeChart Pro 4.2019.8.8 and I need to determine indexes of the first and last point that are visible to user. I'm using line1.FirstVisibleIndex and line1.LastVisibleIndex, but it gives me strange values. I use non-historical horizontal zoom. First zoom: https://i.ibb.co/Syn7Swb/1.jp...
by bairog
Fri Aug 09, 2019 5:17 am
Forum: .NET
Topic: Is it possible to use TeeChart v4 Pro in WinForms application (.NET Core 3 preview)
Replies: 18
Views: 1991

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

The licenses.licx is unnecessary for TeeChart.NET Core as this file is only relevant to the Windows Forms designer and the Web Forms designer - in TeeChart.NET Core you can delete it. In near future, when WinForms designer will be added to Visual Studio 2019, whether it will be necessary to add thi...
by bairog
Thu Aug 08, 2019 12:45 pm
Forum: .NET
Topic: Bar series Clicked strange behavior
Replies: 4
Views: 197

Re: Bar series Clicked strange behavior

Christopher wrote:
Thu Aug 08, 2019 11:14 am
We have created a new build for TeeChart.NET Pro and have uploaded it to NuGet - the new build is Steema.TeeChart.NET 4.2019.8.8 and you should see it here within the next hour or so as the NuGet site updates.
With version 4.2019.8.8 it works as expected, thank you.
by bairog
Thu Aug 08, 2019 8:07 am
Forum: .NET
Topic: Bar series Clicked strange behavior
Replies: 4
Views: 197

Bar series Clicked strange behavior

Hello. I have a teeChart .NET Professional 2018.12.17 and my goal is to show a tooltip with point index when cursor hovers above bar point (and to hide it when cursor is not above any bar point, i.e. cursor is above any empty space on chart). I've tried the following code: private void bar1_MouseEnt...
by bairog
Fri Jul 26, 2019 9:56 am
Forum: .NET
Topic: Legend individual text
Replies: 2
Views: 284

Re: Legend individual text

Hello. I'm not from Steema team but looks like I know what to do :) - handle GetLegendText event, something like that: private void tChart1_GetLegendText(object sender, GetLegendTextEventArgs e) { //some checks (e. g. series index) if you need it if ((e.LegendStyle == LegendStyles.Series) && (e.Inde...
by bairog
Fri Jul 26, 2019 7:31 am
Forum: .NET
Topic: Questions about teeChart Legend with enabled checkboxes
Replies: 1
Views: 144

Questions about teeChart Legend with enabled checkboxes

Hello. I have a teeChart .NET 2018.12.17 with a legend with enabled checkboxes (Legend displays SeriesNames). How can I: Remove some of checkboxes (I need to have checkboxes only for several series, not all of them)? Series.ShowInLegend=false is not suitable for me because I need to have SeriesNames...
by bairog
Thu Jul 25, 2019 6:52 am
Forum: .NET
Topic: Is it possible to use TeeChart v4 Pro in WinForms application (.NET Core 3 preview)
Replies: 18
Views: 1991

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

Hello again. Latest Visual Strudio 2019 still not have WinForms designer in .NET Core :(, so I've performed a deeper test: Downloaded TeeChart.Winform (https://www.nuget.org/packages/Steema.TeeChart.NETCore.WinForm/) Installed .NET Core preview 6 (because .NET Core preview 7 only works with Visual S...
by bairog
Fri Jul 19, 2019 9:50 am
Forum: .NET
Topic: Chart printing questions
Replies: 7
Views: 1441

Re: Chart printing questions

Re. 1. Zoom. The property forms part of the preview and is private. We can look to opening up the Previewer to code, so that some defaults can be set before opening it. Re 2. Grid Pen With respect to Axis Grid. It seems that 'special' line pens, dash, dot etc, scale differently to solid lines. A so...
by bairog
Fri Jun 07, 2019 11:23 am
Forum: .NET
Topic: Is it possible to use TeeChart v4 Pro in WinForms application (.NET Core 3 preview)
Replies: 18
Views: 1991

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

I've performed a quick test - everything is going fine for now..
It's really hard to work without WinForms designer in .NET Core - expecting VS team to add it soon. After that I'll be able to peform full testing.
Thank you for your job.
by bairog
Sat Apr 27, 2019 7:06 am
Forum: .NET
Topic: Is it possible to use TeeChart v4 Pro in WinForms application (.NET Core 3 preview)
Replies: 18
Views: 1991

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

In the meantime, the current TeeChart NetStandard version can be used as a non-forms control - please find following an example of the use of TeeChart.NET Standard in an ASP.NET Core app: http://www.teechart.net/files/teechartnet/201904TeeChartMVCNetCore2.zip Unfortunatelly ASP.NET Core app is not ...
by bairog
Wed Apr 24, 2019 2:59 pm
Forum: .NET
Topic: Is it possible to use TeeChart v4 Pro in WinForms application (.NET Core 3 preview)
Replies: 18
Views: 1991

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

Hello. I'm using Visual Studio 2019 Pro (16.0.2) and .NET Core 3 SDK Preview 4 . I've create application from a Windows Forms App (.NET Core) template and added Steema.TeeChart.NET nuget package to my project (4.2019.3.15). After that I've created Steema.TeeChart.Chart variable (because there is no ...