Search found 1215 matches

by Christopher
Mon Mar 30, 2020 6:23 am
Forum: .NET
Topic: Create separate bottom axis for hours format and date format at a time.
Replies: 3
Views: 78

Re: Create separate bottom axis for hours format and date format at a time.

Hello Amol, you can see the code working by downloading the NuGet package from here ; you can either use Visual Studio to install the package or you can download it and unzip it to access the TeeChart assemblies. The SubAxes feature may not be a feature available in TeeChart 2012, but I am not autho...
by Christopher
Mon Mar 23, 2020 10:00 am
Forum: .NET
Topic: Create separate bottom axis for hours format and date format at a time.
Replies: 3
Views: 78

Re: Create separate bottom axis for hours format and date format at a time.

Hello Amol, you could base your solution on code similar to this: private void InitializeChart() { var line = new Line(_tChart.Chart); var now = DateTime.UtcNow; var rnd = new Random(); for (var i = 0; i < 50; i++) { line.Add(now, rnd.Next(1000)); now = now.AddHours(4); } _tChart.Axes.Bottom.Increme...
by Christopher
Thu Mar 19, 2020 12:07 pm
Forum: .NET
Topic: Histogram drawing bug
Replies: 3
Views: 1470

Re: Histogram drawing bug

Hello, the bug you reported is fixed, but there seems to be a separate issue involving the legend position - as you can see in your new project, if you comment out the line: MyTChart.Legend.Alignment = LegendAlignments.Bottom; the Chart renders as expected, which it wouldn't have done before the fix...
by Christopher
Tue Feb 18, 2020 8:38 am
Forum: .NET
Topic: Zoom rectangle misplaced at 150% DPI
Replies: 3
Views: 697

Re: Zoom rectangle misplaced at 150% DPI

Hello Sanjay,

please be aware that this is not a TeeChart issue, but is an issue with application settings for DPI. Another possibility is to use the dpiAware manifest settings about which you can read here and here.
by Christopher
Fri Feb 14, 2020 8:01 am
Forum: .NET
Topic: Gauge
Replies: 1
Views: 747

Re: Gauge

Hello,

you can download the full TeeChart Feature Demo from here - you can see all the available Gauges, all of which can be considerably modified using code or the TeeChart Editor; I've done a very quick modification on one of them which you can see here:
TeeChartNetExamples_GvtqyUbuJq.png
TeeChartNetExamples_GvtqyUbuJq.png (208.81 KiB) Viewed 735 times
by Christopher
Fri Feb 14, 2020 7:44 am
Forum: .NET
Topic: Zoom rectangle misplaced at 150% DPI
Replies: 3
Views: 697

Re: Zoom rectangle misplaced at 150% DPI

Hello Sanjay, In the issue report here: http://bugs.teechart.net/show_bug.cgi?id=814 In my reply there is a link to a StackOverflow question on the same theme, and on StackOverflow you can see that there is relatively recent possible answer to the problem here - have you tried this technique in your...
by Christopher
Fri Jan 31, 2020 9:35 am
Forum: .NET
Topic: Access the bound object of a row
Replies: 5
Views: 1885

Re: Access the bound object of a row

Good morning Curt, I've uploaded an example we can use in this conversation to one of our servers, and you can find it in *.zip file format here . This example is a modified version of one of the examples on GitHub, and puts Visual Studio's DataGridView side-by-side with TeeGrid. The section relevan...
by Christopher
Thu Jan 30, 2020 4:38 pm
Forum: .NET
Topic: Access the bound object of a row
Replies: 5
Views: 1885

Re: Access the bound object of a row

Hello Curt,

I think I have a clearer idea of what you're after now, thank you. I'm afraid it's getting a little late now in my timezone, so if it's okay with you I'll try to get a clear answer back to you first thing tomorrow morning.
by Christopher
Thu Jan 30, 2020 4:34 pm
Forum: .NET
Topic: Accessing Data
Replies: 3
Views: 564

Re: Accessing Data

Hello Curt, Okay, glad to hear you've got the row reselect to work. TeeGrid is not a clone of the standard .NET grid plus extras, it has a slightly different way of working which we hope you will find easy and intuitive after a while. At the same time, we are very open to suggestions for new feature...
by Christopher
Thu Jan 30, 2020 4:14 pm
Forum: .NET
Topic: Access the bound object of a row
Replies: 5
Views: 1885

Re: Access the bound object of a row

Hello Curt, would Column and Row from a Selection event be sufficient? If so, the ButtonColumn example on Steema's GitHub has an example of how to obtain this, e.g. tGrid1.Data = new VirtualArrayData<MyButtonData>(myData); tGrid1.Selected.Changed += Selected_Changed; ChangeRender(tGrid1.Columns[0]);...
by Christopher
Thu Jan 30, 2020 3:59 pm
Forum: .NET
Topic: Accessing Data
Replies: 3
Views: 564

Re: Accessing Data

Hello Curt, The above code is just a test, but what I really want is when the data is refreshed, I'm going to look up the object that was previously selected (before the refresh), and then re-select the row (if the underlying data in the new object exists) after the refresh. I don't want the default...
by Christopher
Thu Jan 30, 2020 3:53 pm
Forum: .NET
Topic: Design time installation clarification
Replies: 1
Views: 527

Re: Design time installation clarification

Hello Curt,

There's a gif here which was produced for Steema's TeeChart product, but the technique is identical for TeeGrid.

Does this work for you?
by Christopher
Thu Jan 09, 2020 3:17 pm
Forum: .NET
Topic: When the cursorTool follows the mouse, the zoom box disappears.
Replies: 3
Views: 1258

Re: When the cursorTool follows the mouse, the zoom box disappears.

As I say, I do not get the ghosting here, but that could be a function of the graphics cards in our respective machines. At the same time, I think I can see what you mean - when you left-click on the chart and drag a zoom rectangle, the dashed rectangle is drawn but does not remain on the chart unti...
by Christopher
Thu Jan 09, 2020 10:10 am
Forum: .NET
Topic: When the cursorTool follows the mouse, the zoom box disappears.
Replies: 3
Views: 1258

Re: When the cursorTool follows the mouse, the zoom box disappears.

Hello! I'm afraid I'm having trouble reproducing this one here with the latest, publically available NuGet package for Windows Forms: 2020-01-09_10-56-17.gif The code I used to produce the above image is this: TChart _tChart; public Form1() { InitializeComponent(); _tChart = new TChart(); _tChart.Do...
by Christopher
Fri Dec 20, 2019 9:47 am
Forum: .NET
Topic: How to draw multiple line without adding series?
Replies: 4
Views: 1127

Re: How to draw multiple line without adding series?

but, I couldn't set 450 its line position dynamically regardless of chart size. You can fix the point by getting the Axis to calculate the pixel value of the Axis value for you, e.g. private void TChart1_AfterDraw(object sender, Steema.TeeChart.Drawing.Graphics3D g) { var yVal = tChart1.Axes.Left.C...