Search found 20 matches

by liuxs
Tue Jan 09, 2018 6:52 am
Forum: VCL
Topic: Draw 3D curves and shapes
Replies: 3
Views: 10899

Re: Draw 3D curves and shapes

There's an example without code here. I'll try to find and attach the code here if possible.
I cannot download the file from the link you provided. Can you attach it here or email it to me? Thanks!
by liuxs
Sun Jan 07, 2018 5:15 am
Forum: VCL
Topic: The same procedure yields different axes properties
Replies: 1
Views: 6957

The same procedure yields different axes properties

To draw two PolarSeries Charts, and using TSubChartTool draws the second Chart. The two Charts (named TheChart and SubChart) have the same sizes and arrange horizontally (see the Fig. attached). 1. To keep the axes properties of the two Charts are the same, I write a procedure as follows: procedure ...
by liuxs
Thu Jan 04, 2018 12:49 pm
Forum: VCL
Topic: How to draw Polar Series using Custom Axes
Replies: 12
Views: 27001

Re: How to draw Polar Series using Custom Axes

There are two Charts (Original Chart and TSubChartTool.Charts[0].Chart) and a TeeCommander. The TeeCommander always handles with the Original Chart. In order to move and zoom the two Charts, respectively, how to make the TeeCommander to alternately control one of the two Charts?
by liuxs
Wed Jan 03, 2018 10:14 am
Forum: VCL
Topic: The event responds to TeeCommander.ButtonSave
Replies: 1
Views: 8838

The event responds to TeeCommander.ButtonSave

When press the TeeCommander.ButtonSave, I want to use TeeExport to export the Chart. How to make it work? Can you help me to modify the codes?
by liuxs
Wed Jan 03, 2018 12:41 am
Forum: VCL
Topic: Assign TSubChartTool’s ChartRect is invalid
Replies: 5
Views: 17673

Re: Assign TSubChartTool’s ChartRect is invalid

Thank you for your reply.
Taking the horizontal axes as an example. If both of the axes increments of the SubChart and MainChart are 400m, but their sizes are different in pixel (see Fig. above). I hope that the ratio of actual increment and screen increment of the two charts are the same.
by liuxs
Tue Jan 02, 2018 1:20 pm
Forum: VCL
Topic: Coordinated control of two Charts
Replies: 8
Views: 21592

Re: Coordinated control of two Charts

When the Mouse moves on the chart, the ChartAxis Label’s Font changes to the Default Font by itself. Assigning LabelsFont.DefaultFont := false makes no difference. Why is that?
by liuxs
Tue Jan 02, 2018 1:33 am
Forum: VCL
Topic: Assign TSubChartTool’s ChartRect is invalid
Replies: 5
Views: 17673

Re: Assign TSubChartTool’s ChartRect is invalid

The SubChart and the MainChart are out of proportion in size.
How to make the horizontal and vertical axes of the two charts to be the same scales, respectively?
by liuxs
Mon Jan 01, 2018 7:30 am
Forum: VCL
Topic: How to draw Polar Series using Custom Axes
Replies: 12
Views: 27001

Re: How to draw Polar Series using Custom Axes

Yes, Your modified project works fine. However, how to use the BeforeDrawValues procedure to set the ChartRect’s properties, if the PolarSeries are dynamically created?
by liuxs
Fri Dec 29, 2017 5:08 am
Forum: VCL
Topic: Assign TSubChartTool’s ChartRect is invalid
Replies: 5
Views: 17673

Assign TSubChartTool’s ChartRect is invalid

Using TChart and TSubChartToolD draws LineSeries (called MainChart and SubChart). The scales and increment of horizontal and vertical axes are the same, respectively, but the sizes of the two charts are different. I can determine the Width and Height of the SubChart’s ChartRect from the MainChart.Ch...
by liuxs
Thu Dec 28, 2017 3:26 am
Forum: VCL
Topic: How to draw Polar Series using Custom Axes
Replies: 12
Views: 27001

Re: How to draw Polar Series using Custom Axes

Thank you for your advice. I use the TSubChartTool, and it works. However, the first chart always locates at the center of the Panel, although I try to set its Width, ChartRect.SetLocation and (ChartRect.Left, ChartRect.Right). I hope that the two charts would be horizontally arranged, do not overla...
by liuxs
Tue Dec 26, 2017 7:04 am
Forum: VCL
Topic: Draw 3D curves and shapes
Replies: 3
Views: 10899

Draw 3D curves and shapes

1. Is it effective to use some Point3DSeries, ShapeSeries and SurfaceSeries on one Chart concurrently? In addition, is the Point3DSeries generally used to draw 3D curves? 2. It seems that the TopAxis does not appear on the Point3DSeries Chart. If the three TChartAxes are required as shown in Fig3D, ...
by liuxs
Sun Dec 24, 2017 8:54 am
Forum: VCL
Topic: Coordinated control of two Charts
Replies: 8
Views: 21592

Re: Coordinated control of two Charts

When the Minimum and Maximum of an Axis are equal, there is only one Label on the Axis. That is correct in general. If the horizontal Axis and vertical Axis are isometric, and more than one Labels are required, is it possible to draw a number of Labels on the one-label Axis from the Axis’s Start Pos...
by liuxs
Thu Dec 21, 2017 4:55 am
Forum: VCL
Topic: Coordinated control of two Charts
Replies: 8
Views: 21592

Re: Coordinated control of two Charts

Using the same codes in another program, there are two weird results: 1.Axes Labels do not have the same size (see Fig-1), although I use the same codes to set the Chart and axes properties. 2. When click and zoom in the Sub Chart area, the Curves exceed the range of the Sub Chart area or CustomAxes...
by liuxs
Thu Dec 21, 2017 4:31 am
Forum: VCL
Topic: Coordinated control of two Charts
Replies: 8
Views: 21592

Re: Coordinated control of two Charts

liuxs wrote: 3. Is it possible to zoom the Sub Chart and the Main Chart changes accordingly? And to zoom the Main Chart and the Sub Chart changes accordingly? Alternatively, when zooming the Sub Chart, the Main Chart keeps intact (do not change)? Either using Custom axes or using SubChart tool, you...
by liuxs
Thu Dec 21, 2017 12:42 am
Forum: VCL
Topic: Coordinated control of two Charts
Replies: 8
Views: 21592

Re: Coordinated control of two Charts

liuxs wrote: 1. It is void to get and set the values of axis’s increments. So they are different on the two Charts (I hope they are the same). I can see the Increments are correct in the editor. Top and Custom 0 axes have an increment of 500, and Left and Custom 1 axes have an increment of 200. Not...