Search found 1190 matches

by Marc
Fri Sep 22, 2023 7:56 am
Forum: .NET
Topic: Could not load file or assembly Microsoft.DotNet.DesignTools.Server
Replies: 2
Views: 10702

Re: Could not load file or assembly Microsoft.DotNet.DesignTools.Server

Hello,

We'll run checks. Can you please confirm the build number of the TeeChart version you are using?

With thanks.
Regards,
Marc Meumann
by Marc
Wed Sep 20, 2023 6:40 am
Forum: .NET
Topic: Some questions about AxisScroll
Replies: 2
Views: 10710

Re: Some questions about AxisScroll

Hello,

Apologies for the delay replying.

It may be best to control it via your own forward and back buttons using Axis SetMinMax to set the minimum amn maximum dates to show and hence limit the visible points (or series) in this way.

Regards,
Marc Meumann
by Marc
Tue Sep 19, 2023 6:13 pm
Forum: .NET
Topic: A new WinForms App (.NET Framework 4.x) created from a scratch is not compiling
Replies: 10
Views: 15475

Re: A new WinForms App (.NET Framework 4.x) created from a scratch is not compiling

Hello, We've checked, here's the workaround that tested ok here re-tracing your steps. After adding TeeChart via Nuget, look for Microsoft's "System.Text.Json" in the Nuget Manager and install it. The latest version is v7.03. The version number is a misnomer, it doesn't depend on the later framework...
by Marc
Tue Sep 19, 2023 5:34 pm
Forum: .NET
Topic: A new WinForms App (.NET Framework 4.x) created from a scratch is not compiling
Replies: 10
Views: 15475

Re: A new WinForms App (.NET Framework 4.x) created from a scratch is not compiling

Hello,

This is unexpected behaviour. We'll run a check to confirm.

Regards,
Marc Meumann
by Marc
Thu Sep 14, 2023 10:42 am
Forum: JavaScript / HTML5
Topic: Unable find mouse click event on rectangle
Replies: 9
Views: 50420

Re: Unable find mouse click event on rectangle

Hello, Using TeeChart's own mouse events, here ES6 coded, you can try: import { Chart, Line, Format, Rectangle } from '../../src/teechart.js' drawChart(); function drawChart(){ const msecsInADay = 86400000; //24*60*60*1000 const now = new Date(); const data = []; for (let t = 0; t < 10; t++) { const...
by Marc
Mon Aug 28, 2023 11:45 am
Forum: .NET
Topic: How to set the X with category data?
Replies: 19
Views: 26624

Re: How to set the X with category data?

Hello, Not sure, I thought I had understood correctly. That the goal is to line up the charts (?). The principle is the same in this case. To modify chart settings to obtain the required result. ie. AlignedCharts.jpg Very unrefined code to achieve these charts is included here: Line line1; Line line...
by Marc
Mon Aug 28, 2023 9:53 am
Forum: .NET
Topic: Chart Options Help Button
Replies: 2
Views: 11123

Re: Chart Options Help Button

Hello Kris, The default option is to include a file called "TeeChartNET4.chm" in the program's executable directory. That's what TeeChart will look for if nothing else has been directed. There are some downloadable chm files here (library reference and tutorials) that can be renamed to TeeChartNET4....
by Marc
Thu Aug 24, 2023 10:07 am
Forum: .NET
Topic: ColorBand Tool dragging
Replies: 1
Views: 10729

Re: ColorBand Tool dragging

Hello Sean, This code will do it: //disable zoom somewhere in your code: tChart1.Zoom.Direction = ZoomDirections.None; ...... // .......... //declare bool mouseDown = false; Point startPoint; double startValue; private void tChart1_MouseDown(object sender, MouseEventArgs e) { //check the mousedown i...
by Marc
Wed Aug 23, 2023 2:42 pm
Forum: .NET
Topic: How to set the X with category data?
Replies: 19
Views: 26624

Re: How to set the X with category data?

Question 2. Similar to the link I sent you in an earlier email you would place the charts one above the other, use the same SetMinMax axis settings and set AxisLabels Visible false for the top chart. Best to fix left and right margins for both charts. What particular problems are you encountering? R...
by Marc
Wed Aug 23, 2023 2:38 pm
Forum: .NET
Topic: How to set the X with category data?
Replies: 19
Views: 26624

Re: How to set the X with category data?

Hello,

Question 1.

I suggest that either you make the labels multiline (can use \n char) or put the labels angle to 90º.

We will look at ways to better plot default labels for contiguous series.

Regards,
Marc Meumann
by Marc
Tue Aug 22, 2023 7:01 am
Forum: .NET
Topic: How to set the X with category data?
Replies: 19
Views: 26624

Re: How to set the X with category data?

Hello, Not being sure about the definition of the deepclone or the UIForm dialogue form I used a Chart export and import and standard form. I noticed that the Axis Label Item collection didn't copy properly so I added the copy manually. I put some code in OnAfterDraw and it all seems to work ok: pri...
by Marc
Mon Aug 21, 2023 4:34 pm
Forum: .NET
Topic: How to adjust table styles adaptively?
Replies: 1
Views: 10900

Re: How to adjust table styles adaptively?

Hello, Re. 2) I want the table to have grid lines Open the Chart Editor after adding the tool go to the tool in the toolslist and select: - Rows to edit the horizontal Pen - Columns to edit the vertical Pen (display the grid lines) Re. 3) Data crowding together want to scroll bar The table can only ...
by Marc
Mon Aug 21, 2023 4:24 pm
Forum: .NET
Topic: How to set the X with category data?
Replies: 19
Views: 26624

Re: How to set the X with category data?

Hello, Re. Problem 1. 1) As shown in the image above, "Raw Data" Chart is drawn this way, but what about overlapping X-axis headings ? 2) What should I do if the X-axis title overflows? How are you adding the data labels? What code. Axis labels normally automatically separate when added, some circum...
by Marc
Thu Aug 17, 2023 11:00 am
Forum: VCL
Topic: How to Draw Lines
Replies: 1
Views: 10577

Re: How to Draw Lines

Hello, This example code would plot a line from the Chart's 0,0 location to 5,5: procedure TForm4.Chart1AfterDraw(Sender: TObject); var x0,y0,x1,y1 : Integer; begin if Series1.Count>5 then Begin x0 := Chart1.Axes.Bottom.CalcXPosValue(0); y0 := Chart1.Axes.Left.CalcYPosValue(0); x1 := Chart1.Axes.Bot...
by Marc
Mon Aug 14, 2023 11:43 am
Forum: VCL
Topic: Displaying charts on TeePreviewPanel
Replies: 7
Views: 14506

Re: Displaying charts on TeePreviewPanel

Hello Metek,

I'm checking what repaint method can force the render but haven't found one yet other than CopyToClipboard, which works but, as the name implies, leaves a chart on the clipboard.

ie.
Charts.CopyToClipboardBitmap;

Regards,
Marc Meumann