Search found 14 matches

by Errol
Tue Apr 04, 2017 11:53 pm
Forum: VCL
Topic: Chart resolution when undocked
Replies: 2
Views: 6044

Re: Chart resolution when undocked

I am pleased to report that the chart resolution issue has been cured by using CreateNew to create the floating form to undock the chart to, rather than Create.

Code: Select all

formChart := TFormChart.CreateNew(Screem.ActiveForm)
Thanks and regards, Errol
by Errol
Mon Apr 03, 2017 4:50 am
Forum: VCL
Topic: Chart resolution when undocked
Replies: 2
Views: 6044

Chart resolution when undocked

I wish to be able to manually undock a chart and have it on a floating form. However, when I do this, the resolution of the chart in the floating form is very poor. I have attached a simple test program to illustrate this effect. Can you please suggest what I may be doing wrong. Thanks and regards E...
by Errol
Thu Mar 09, 2017 8:30 pm
Forum: VCL
Topic: After Hover, legend not shown with a single series
Replies: 13
Views: 19399

Re: After Hover, legend not shown with a single series

Hi Yeray Thanks for your comments. I always thought that creating 3 series was not the best approach. However, to change the code as you suggest will require substantial changes to existing code, not least that involved in counting legends and series for hover highlighting, although overall the code...
by Errol
Wed Mar 08, 2017 9:15 pm
Forum: VCL
Topic: After Hover, legend not shown with a single series
Replies: 13
Views: 19399

Re: After Hover, legend not shown with a single series

Hi Yeray I believe I have worked out why TeeChart is failing to show a legend with a single series. You may remember that some time ago I requested an option to limit the number of points displayed in a series without changing the series. I have attached two images to show a typical series with all ...
by Errol
Tue Mar 07, 2017 9:55 pm
Forum: VCL
Topic: After Hover, legend not shown with a single series
Replies: 13
Views: 19399

Re: After Hover, legend not shown with a single series

Hi Yeray Thanks for your reply. I can assure you that the series has values. I have attached 3 images showing the behaviour of the program before and after installing TeeChart 2015.15 in July 2015, using the same data. As you can see, the legend was displayed with a single series before TeeChart 201...
by Errol
Sat Mar 04, 2017 5:35 am
Forum: VCL
Topic: After Hover, legend not shown with a single series
Replies: 13
Views: 19399

Re: After Hover, legend not shown with a single series

I have carefully reviewed the response of my program to a single series before and after installation of TeeChart 2015.15, with the following results: 1. Program build date: 16 July 2015. Legend displayed with a single series in graph. 2. Download and install of TeeChart Pro VCL Source Code 2015.15:...
by Errol
Tue Feb 28, 2017 4:02 am
Forum: VCL
Topic: Series highlighting with hidden legends
Replies: 5
Views: 9723

Re: Series highlighting with hidden legends

I realised I was off track. I have now written code to hide data set identifiers if there are multiple series from a single data set, with auto-highlighting of all the series in the data set when you hover over each legend entry. A great feature, but quite complicated, especially given that each vis...
by Errol
Sun Feb 12, 2017 7:52 pm
Forum: VCL
Topic: Series highlighting with hidden legends
Replies: 5
Views: 9723

Re: Series highlighting with hidden legends

Thanks. I m trying to prepare a simple example project but the series are not highlighted when I hover over the legend. I have attached the code I am using. Can you suggest what I might be doing wrong. unit LegendTestMain; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Cont...
by Errol
Fri Feb 10, 2017 8:06 am
Forum: VCL
Topic: Series highlighting with hidden legends
Replies: 5
Views: 9723

Series highlighting with hidden legends

I am using TeeChart 2016.19. I am using TeeChart to plot data from a number of data sets on two independent axes. I wish to show the legend only once per dataset. I have attached two images. The first image, "ChartWithOneLegendPerSeries" shows 8 legend items, one per series. When I hover over the le...
by Errol
Fri Nov 11, 2016 6:00 am
Forum: VCL
Topic: After Hover, legend not shown with a single series
Replies: 13
Views: 19399

Re: After Hover, legend not shown with a single series

I put together the following test program. However, I cannot get the Hover functionality to work correctly, as the series is not highlighted. As you say, the legend is displayed with a single series, but perhaps not if Hover is working correctly. As the legend stopped working correctly after TeeChar...
by Errol
Thu Nov 10, 2016 8:08 pm
Forum: VCL
Topic: After Hover, legend not shown with a single series
Replies: 13
Views: 19399

Re: After Hover, legend not shown with a single series

Hi Yeray Thanks for your reply. I do not have time right now to create a test program, but I have checked my old graphing code, which is unchanged between 16 July 2015 and 27 July 2015. In the interim I downloaded the latest TeeChart code, which introduced the Legend Hover Series Highlight feature. ...
by Errol
Thu Nov 10, 2016 6:16 am
Forum: VCL
Topic: After Hover, legend not shown with a single series
Replies: 13
Views: 19399

After Hover, legend not shown with a single series

In July last year, I installed the latest version of TeeChart that highlights series when you hover over the legend. Very nice. However I notice over a year later that when there is only one series on the chart, the legend is not displayed. Is this an error or a feature? In either case, is there a w...
by Errol
Wed Jul 27, 2016 3:13 am
Forum: VCL
Topic: Intercepting zero series values with logarithmic axes
Replies: 2
Views: 5927

Re: Intercepting zero series values with logarithmic axes

Hello Yeray

Thanks for your reply, confirming how TeeChart handles zero or negative numbers on a log scale. As a result, I searched for, and eventually found and removed, the obscure code (by former programmers) that unnecessarily trapped and deleted such numbers. I am grateful for your assistance.
by Errol
Mon Jul 25, 2016 5:15 am
Forum: VCL
Topic: Intercepting zero series values with logarithmic axes
Replies: 2
Views: 5927

Intercepting zero series values with logarithmic axes

I have y-axis data that starts at zero. To plot this on a log axis, I want to change the zero value to a small positive value (e.g. 0.1) before plotting. I have created an override version of AddXY (this also changes measurement units e.g. from metres to feet), which is shown below: // ------ TUnitL...