Search found 29 matches

by Errol
Fri Nov 18, 2022 3:19 am
Forum: VCL
Topic: Merged Axes, Legend Placement and Popup Accessibility
Replies: 4
Views: 8052

Re: Merged Axes, Legend Placement and Popup Accessibility

Good afternoon Yeray

I am pleased to report that I fixed the Popup problem by checking that the selected Popup had any items. If not, and if it was a dual graph, the Popup for the bottom axis of the second graph was called. It is all working fine now.

Thanks and regards

Errol
by Errol
Thu Nov 17, 2022 12:37 am
Forum: VCL
Topic: Merged Axes, Legend Placement and Popup Accessibility
Replies: 4
Views: 8052

Re: Merged Axes, Legend Placement and Popup Accessibility

Hi Yeray I am sorry my explanation was not clear. In the merged chart, there are two overlaid axes, BottomAxis and CustomAxes[5]. In both cases, BottomAxis.LabelStyle is set to talNone. If BottomAxis.Visible is True, the chart Legend is correctly placed below the BottomAxis title, but the units popu...
by Errol
Wed Nov 16, 2022 3:05 am
Forum: VCL
Topic: Merged Axes, Legend Placement and Popup Accessibility
Replies: 4
Views: 8052

Merged Axes, Legend Placement and Popup Accessibility

I use TeeChart to plot two data sets on a common axis - see Two_Graphs.jpg. The second graph uses custom axes. When the top axis is used in one graph and the bottom axis in the other, I can merge the two graphs into a single graph. If I set the bottom axis LabelStyle to talNone, the legend is placed...
by Errol
Sun Nov 06, 2022 5:17 am
Forum: VCL
Topic: How to place a calculated legend in a ExtraLegend
Replies: 3
Views: 7650

Re: How to place a calculated legend in a ExtraLegend

Hello Yeray Thank you for your reply. I have reviewed your sample code, but I am still puzzled on how to proceed. In my code, I use a single chart and a single legend for any number of line series (see multiline.jpg with 4 series and a single combined legend). Similarly, for bar charts (multigeology...
by Errol
Tue Nov 01, 2022 10:14 pm
Forum: VCL
Topic: How to place a calculated legend in a ExtraLegend
Replies: 3
Views: 7650

How to place a calculated legend in a ExtraLegend

I use TeeChart with a Self Stacked bar chart to visualise the stratigraphy down a well. I have code to generate the legend as shown in the attached image, Stratigraphy.jpg. However, I wish to create a split-chart with the stratigraphy on the left and a line chart on the right, I am unable to show bo...
by Errol
Mon Oct 17, 2022 12:59 am
Forum: VCL
Topic: Graph Title position with top custom axis
Replies: 1
Views: 5133

Graph Title position with top custom axis

I have a chart that uses both regular and custom axes on all four sides. When there is data for TopAxis, the Chart Title positions correctly, and makes space to show the Top Axis Title and Labels. However, when there is data only for the top custom axis, the chart title overwrites the custom axis ti...
by Errol
Sun Oct 16, 2022 11:00 pm
Forum: VCL
Topic: Axis labels not showing
Replies: 2
Views: 5785

Re: Axis labels not showing

I would like to cancel this **error**. My mistake - I had an increment of 10 and an axis range of 0 to 1. I will solve this by setting Auto Increment to true.

Many apologies for this.

Errol
by Errol
Sun Oct 16, 2022 10:19 pm
Forum: VCL
Topic: Axis labels not showing
Replies: 2
Views: 5785

Axis labels not showing

Good morning. I have a persistent problem with axis labels not showing on one axis, which I cannot solve. I use 4 custom axes to plots data from two sources against a common axis (the independent axis). The independent axis can be vertical or horizontal, and the labels are not visible in either case...
by Errol
Thu Oct 06, 2022 5:47 am
Forum: VCL
Topic: Bar Chart Self-stacked. Value on bottom axis
Replies: 1
Views: 4987

Bar Chart Self-stacked. Value on bottom axis

I use bar charts in Self-Stack mode to display rock types in a well. However, the bottom axis always shows the first alphabetically-sorted rock type in the well. There is an example in Tee9New|All Features|Chart Styles|standard|Bar|Self Stacked (the word "Cars"). I do not want to show anything on th...
by Errol
Fri May 15, 2020 6:32 am
Forum: VCL
Topic: LinePen.Visible not working if pointers are not visible
Replies: 1
Views: 8987

LinePen.Visible not working if pointers are not visible

I am using TeeChart for Delphi XE10. I wish to draw gridlines on a special graph using an array of line series. However, it seems that I cannot hide the lines unless I make the pointers visible. This fix was promised in 2013 but does not seem to have happened. Here is the code I am using. with fSeri...
by Errol
Mon Mar 02, 2020 3:48 am
Forum: VCL
Topic: Labelling data points
Replies: 2
Views: 11963

Re: Labelling data points

Further to my previous post, I have found that I can use TPointSeries.Labels to write labels, and the ChartAfterDraw even to write them in the correct position. However, I do seem able to skip a label - i.e. not write a label at some of the series points. The corresponding Y-value is always written ...
by Errol
Fri Feb 28, 2020 5:48 am
Forum: VCL
Topic: Labelling data points
Replies: 2
Views: 11963

Labelling data points

I have a array, each element consisting of three values, X, Y, Value. I wish to plot these as a point series on a DBChart, with the value written besides each point. I have looked through your forum and the Tee9New program, but cannot find how to get started. Besides writing the value besides each p...
by Errol
Thu Feb 20, 2020 7:48 pm
Forum: VCL
Topic: Fixed x to y ratio
Replies: 8
Views: 24224

Re: Fixed x to y ratio

Hi Marc Thanks for your suggestions. However, I cannot run the demo itself as Base in uses, and class(TBaseForm) give an error.
Regards
Errol
by Errol
Thu Feb 20, 2020 3:56 am
Forum: VCL
Topic: Fixed x to y ratio
Replies: 8
Views: 24224

Re: Fixed x to y ratio

Hi Marc Thanks for the directions to the examples. I found them anyway - I had moved them to a backup drive for some reason. However, I have a problem. In the MakIsoAxis code snippet below, the values of ChartHeight and ChartWidth are always zero. Both Vertical and ParentChart are assigned. I have t...
by Errol
Mon Feb 17, 2020 9:32 pm
Forum: VCL
Topic: Using DBChart with text data
Replies: 4
Views: 16190

Re: Using DBChart with text data

Thanks Marc

That did the trick. I had set the Orders, but after I had loaded the data.

Best regards

Errol