Search found 14 matches

by joepasquariello
Sat Dec 19, 2015 8:24 pm
Forum: VCL
Topic: TChart Help in XE8
Replies: 1
Views: 3587

TChart Help in XE8

Hello,

I installed the latest TChart Pro (Build 2015.16.150901) from SOURCE in RAD Studio XE8. Does this install TChart Help? If not, how can I access the help files?

Joe
by joepasquariello
Fri Dec 12, 2014 10:16 pm
Forum: VCL
Topic: aligning left axis of multiple charts
Replies: 21
Views: 26589

Re: aligning left axis of multiple charts

Hi Yeray, Thank you for the fix on Legend.Text. Using Series.Title instead is a good work-around for me, so I will probably not apply that patch until I install XE7 Update 1. Thanks also for looking at the Help. The online Help is more complete. The IDE Help has no Help for TLegendScrollBar. Will th...
by joepasquariello
Fri Dec 12, 2014 1:47 am
Forum: VCL
Topic: aligning left axis of multiple charts
Replies: 21
Views: 26589

Re: aligning left axis of multiple charts

Yeray, The problem with TLegendScrollBar was in how I was setting the Legend text for each Series. This causes a problem. I'm not sure why. Dest->Legend->Item ->Text = Origin->Series ->Name; This fixes the problem: Origin->Series ->Title = Origin->Series ->Name; // Title overrides Name Dest->Series ...
by joepasquariello
Fri Dec 12, 2014 12:49 am
Forum: VCL
Topic: aligning left axis of multiple charts
Replies: 21
Views: 26589

Re: aligning left axis of multiple charts

Yeray, The problem with TLegendScrollBar was caused by this line from my program. This does modify the Legend Text, but for some reason it affects the scroll bar. Dest->Legend->Item ->Text = Origin->Series ->Name; If I do this instead, the problem is solved. Title overrides Name in the Legend displa...
by joepasquariello
Thu Dec 11, 2014 10:18 pm
Forum: VCL
Topic: aligning left axis of multiple charts
Replies: 21
Views: 26589

Re: aligning left axis of multiple charts

Hi Yeray, I think OnBeforeDrawAxes is better than OnAfterDraw for my purpose. The label widths are known in OnBeforeDrawAxes, and they can be modified before the draw occurs. Some examples where Help is missing or incomplete are ChartRect (no Help), CloneChart (no description), and TLegendScrollBar ...
by joepasquariello
Wed Dec 10, 2014 6:39 pm
Forum: VCL
Topic: aligning left axis of multiple charts
Replies: 21
Views: 26589

Re: aligning left axis of multiple charts

Thanks again, Yeray. That is good information. I don't understand why moving the mouse over the Legend should cause a redraw of the axes, and the entire chart, but for now I have it disabled completely. Since Hover is a new feature, I can understand why it is not in the Help file, but there seem to ...
by joepasquariello
Tue Dec 09, 2014 4:26 pm
Forum: VCL
Topic: aligning left axis of multiple charts
Replies: 21
Views: 26589

Re: aligning left axis of multiple charts

Thanks, Yeray. I will add the logic to test for Index > -1.

When you say "Hover is active", do you mean Hover->Visible = true?

Is there somewhere I can find a description of Hover?

Joe
by joepasquariello
Fri Dec 05, 2014 11:23 pm
Forum: VCL
Topic: aligning left axis of multiple charts
Replies: 21
Views: 26589

Re: aligning left axis of multiple charts

Hi Yeray, You were right. The OnClickLegend helps a lot because clicking on the legend almost always causes a TChartSeries to change Active = true/false. I can use the code shown below to identify the item that was clicked. void __fastcall TSnapViewMainForm::DBChart1ClickLegend(TCustomChart *Sender,...
by joepasquariello
Fri Dec 05, 2014 8:28 pm
Forum: VCL
Topic: aligning left axis of multiple charts
Replies: 21
Views: 26589

Re: aligning left axis of multiple charts

Hi Yeray, OnLegendClick occurs on any click. What I am trying to detect is that a checkbox on the TChartLegend has changed state, so I know that the TChartSeries on the chart have changed. Is there a TChartSeries event that occurs when its Active field changes state? There must be some event that oc...
by joepasquariello
Fri Dec 05, 2014 3:14 am
Forum: VCL
Topic: aligning left axis of multiple charts
Replies: 21
Views: 26589

Re: aligning left axis of multiple charts

I think what I want is to use a TChartSeriesEvent (seChangeActive), but I don't see this event, or any events of this type, in the TChartSeries, TChartLegend, or TChart.

How do I use this type of event? Is there any object for which I can create such an event at design time?

Joe
by joepasquariello
Fri Dec 05, 2014 2:35 am
Forum: VCL
Topic: aligning left axis of multiple charts
Replies: 21
Views: 26589

Re: aligning left axis of multiple charts

Yeray, I am now trying to improve the left axis alignment so that it is based on the actual data for the left axes. The function below works correctly, but I'm trying to understand when I should call it. I am using TChartLegend (with checkboxes) for each chart. I want to re-align left axes each time...
by joepasquariello
Tue Dec 02, 2014 7:57 am
Forum: VCL
Topic: aligning left axis of multiple charts
Replies: 21
Views: 26589

Re: aligning left axis of multiple charts

Hello Yeray, Thanks very much. Your example code for aligning left axes sets the width of the items to the left of the left axis (title, labels, ticks) to fixed sizes, so the left axis position (pixels) is always the same relative to the chart. This is okay. I would prefer to have a method that sets...
by joepasquariello
Mon Dec 01, 2014 5:49 am
Forum: VCL
Topic: aligning left axis of multiple charts
Replies: 21
Views: 26589

aligning left axis of multiple charts

Hello Yeray, Was the change described above ever completed? I am using TeeChart Pro 2014 in RAD Studio XE7, and there is no "automatic" field of "ChartRect". In fact, ChartRect does not appear in the documentation at all. I am trying to align left axes (by pixel) of multiple charts. The process I wa...
by joepasquariello
Tue Nov 11, 2014 3:55 pm
Forum: VCL
Topic: TeeChart Pro Component Pallette and Help
Replies: 1
Views: 3675

TeeChart Pro Component Pallette and Help

Hello,

I'm using XE7 with latest VCL TeeChart Pro. I installed TeeChart from source code.

1) TLegendScrollBar is not in the component pallette. Should it be?
2) There is nothing in the help on TCursorTool, SaveAsPNG, etc. Do I have the latest help?

Thanks,

Joe