Search found 27 matches

by
Mon Aug 21, 2023 2:01 am
Forum: VCL
Topic: How to draw an axis
Replies: 5
Views: 20304

Re: How to draw an axis

line->Axis = axisVert;
What is axisVert???
by
Fri Aug 18, 2023 9:48 am
Forum: VCL
Topic: How to draw an axis
Replies: 5
Views: 20304

Re: How to draw an axis

I can't find it. Can you give me a demo?
by
Thu Aug 17, 2023 8:06 am
Forum: VCL
Topic: How to Draw Lines
Replies: 1
Views: 13014

How to Draw Lines

I want to draw 2 lines using the following code。 int nLeft=Chart->ChartRect.Left; int nRight=Chart->ChartRect.Right; int nTop=Chart->ChartRect.Top; int nBottom=Chart->ChartRect.Bottom; Chart->Canvas->Pen->Width = 3; Chart->Canvas->DoHorizLine(nLeft, nRight, 10); Chart->Canvas->DoVertLine(10, nTop, n...
by
Wed Aug 16, 2023 8:03 am
Forum: VCL
Topic: How to draw an axis
Replies: 5
Views: 20304

How to draw an axis

How to draw the red axis on a graph?
Using c++builder。
by
Tue Aug 08, 2023 1:22 am
Forum: VCL
Topic: c++builder How to prohibit dragging legends
Replies: 14
Views: 36650

Re: c++builder How to prohibit dragging legends

How to prevent the legend from being dragged during the chartmousemove event, as shown in the following example???
by
Thu Aug 03, 2023 2:58 am
Forum: VCL
Topic: c++builder How to prohibit dragging legends
Replies: 14
Views: 36650

Re: c++builder How to prohibit dragging legends

How to determine whether the selected item is a legend in the Chart1MouseUp function???
by
Tue Aug 01, 2023 6:46 am
Forum: VCL
Topic: c++builder How to prohibit dragging legends
Replies: 14
Views: 36650

Re: c++builder How to prohibit dragging legends

How to obtain a legend pointer for the Chart1MouseUp function???
by
Fri Jul 28, 2023 9:12 am
Forum: VCL
Topic: c++builder How to prohibit dragging legends
Replies: 14
Views: 36650

Re: c++builder How to prohibit dragging legends

Due to requirements, I can only use Annotation. How can I prevent dragging legends?
Please provide a demo of c++builder。
by
Thu Jul 27, 2023 2:33 am
Forum: VCL
Topic: c++builder How to prohibit dragging legends
Replies: 14
Views: 36650

Re: c++builder How to prohibit dragging legends

Does anyone answer my question???
by
Tue Jul 25, 2023 7:17 am
Forum: VCL
Topic: c++builder How to prohibit dragging legends
Replies: 14
Views: 36650

Re: c++builder How to prohibit dragging legends

I found the reason。
I added a selection tool to achieve drag and drop annotation functionality。
This causes the legend to also be dragged. How to solve this problem???
by
Mon Jul 24, 2023 8:31 am
Forum: VCL
Topic: c++builder How to prohibit dragging legends
Replies: 14
Views: 36650

Re: c++builder How to prohibit dragging legends

Why is it possible to drag by default?
How to prevent the legend from being dragged?
by
Mon Jul 24, 2023 1:32 am
Forum: VCL
Topic: c++builder How to prohibit dragging legends
Replies: 14
Views: 36650

c++builder How to prohibit dragging legends

How to prohibit dragging legends?
by
Fri Jul 07, 2023 6:37 am
Forum: VCL
Topic: Editing Chart Save Settings
Replies: 3
Views: 15543

Re: Editing Chart Save Settings

TChartEditor *ChartEditor;
ChartEditor->Execute();

How to save the settings in the pop-up dialog box of the above code???
by
Mon Jul 03, 2023 1:36 am
Forum: VCL
Topic: How to display red numbers on the X-axis
Replies: 10
Views: 24625

Re: How to display red numbers on the X-axis

It's not necessary to have an interval of 1. What I mean is whether it's possible to display as many numbers as possible during adaptation?
by
Fri Jun 30, 2023 3:21 am
Forum: VCL
Topic: How to display red numbers on the X-axis
Replies: 10
Views: 24625

Re: How to display red numbers on the X-axis

I have added the image to the attachment!

I suggest that you modify the insert image function to pop up a dialog box for users to select an image. This is a formal practice for many software applications.