Search found 41 matches

by BE
Thu Jan 31, 2008 2:09 pm
Forum: VCL
Topic: Series On click margin
Replies: 6
Views: 12091

Thanks for the reply. I remember TTree had a Click tolerance parameter, so I was just wondering if the same is true with TChart.
by BE
Wed Jan 30, 2008 3:59 pm
Forum: VCL
Topic: Series On click margin
Replies: 6
Views: 12091

Thanks

Is there a tolerance setting in TChart to do that? What does TChart use to determine if a mouse is over a Series?
by BE
Tue Jan 29, 2008 11:18 pm
Forum: VCL
Topic: Series On click margin
Replies: 6
Views: 12091

Series On click margin

Hi,

Is there a way to set TChart OnClickSeries mouse margin? I'm using the OnClickSeries event, but the mouse has to be right on the Series to receive the event. I'd like to change this so it is easier to click on a series.

Thanks

-Bill
by BE
Tue Jan 15, 2008 3:38 pm
Forum: VCL
Topic: Resource Leak using dynamicarray
Replies: 2
Views: 6525

Resource Leak using dynamicarray

Hi, I have a project that uses DynamicArray to pass array to Chartseries in BCB2007. with CodeGard turned on, I've been getting resource Leak msgs. So I build the following sample case. Sure enough. There's a resource leak msg. #ifndef Unit1H #define Unit1H //----------------------------------------...
by BE
Tue Dec 18, 2007 1:26 pm
Forum: VCL
Topic: Zoom outside of Plot rectangle
Replies: 1
Views: 4006

Zoom outside of Plot rectangle

Hi, Is there a way to zoom starting from out side of the plot rectangle? I've been trying to zoom with mouse down at the outside of plot rectangle (within the Chart), but as soon as mouse is down out side of the plot rectangle, the zoom function disables. I'd like to zoom in (zoom rectangle covers b...
by BE
Tue Oct 02, 2007 6:07 pm
Forum: VCL
Topic: Where's TChart in Tool Palette?
Replies: 1
Views: 3917

Where's TChart in Tool Palette?

I've just installed RAD C++ 2007. ANd trying to install TeeChart 7.11 and the following is the msg I got. TeeChart Installation VERSION: 7 RAD 2007.Win32 v11 (BDS v5 Enterprise) (C++) EXCEPTION: File not found -------------------------------------------- I closed the installation dialog, the install...
by BE
Fri Sep 07, 2007 4:51 pm
Forum: VCL
Topic: How to add a series without changing the Axis scale?
Replies: 14
Views: 18551

Ok. Just sent the smple project in the zipped format call Problem Case
by BE
Fri Sep 07, 2007 4:03 pm
Forum: VCL
Topic: How to add a series without changing the Axis scale?
Replies: 14
Views: 18551

tried that as well. Got the same result. If I do the following; Chart1->Draw(); Chart1->BottomAxis->SetMinMax(Chart1->BottomAxis->Minimum, Chart1->BottomAxis->Maximum); pAxis->SetMinMax(Chart1->BottomAxis->Minimum, Chart1->BottomAxis->Maximum); That gets the Axes aligned. I will create a sample proj...
by BE
Fri Sep 07, 2007 3:53 pm
Forum: VCL
Topic: How to add a series without changing the Axis scale?
Replies: 14
Views: 18551

Thanks. I'll try that.

I think the problem is just my understanding, rather then your problem. I do have version 7.11 for BCB 2007, but the project I'm working on is BCB 6. I will soon (hope) to get V8.
by BE
Fri Sep 07, 2007 3:41 pm
Forum: VCL
Topic: How to add a series without changing the Axis scale?
Replies: 14
Views: 18551

Tried it. Now when I use debuger, the Chart1->BottomAxis Min and Max are 0.0 and 100.0, but the Axes are still mis aligned for some reason. When I make both Axes visible, it is clear that they are mis aligned. However, when I scroll the chart, they are aligned right a way! There's a diff between wha...
by BE
Fri Sep 07, 2007 3:25 pm
Forum: VCL
Topic: How to add a series without changing the Axis scale?
Replies: 14
Views: 18551

What a super fast reply. Thanks!!!!! I'll try that
by BE
Fri Sep 07, 2007 3:02 pm
Forum: VCL
Topic: How to add a series without changing the Axis scale?
Replies: 14
Views: 18551

Ok, I think I know where my problem is now. It is a general question. When I do the following; Chart1->BottomAxis->Automatic = 1; for(int i = 0; i < 101; i++) Series1->AddXY(i, i, "", clRed); Chart1 Bottom Axis Mininmum is not 0.0 and Max is not 100.0. It is something else. Min is a bit less then 0....
by BE
Thu Sep 06, 2007 7:01 pm
Forum: VCL
Topic: How to add a series without changing the Axis scale?
Replies: 14
Views: 18551

Thanks for the advice. I've tried it and found a "bug"? with MasterAxis. Please see the following code ------------------------------------ Chart1->LeftAxis->Automatic = 1; pAxis = new TChartAxis(Chart1); pAxis->Horizontal = 1; pAxis->Automatic = 0; pAxis->Visible = 0; Series2->CustomHorizAxis = pAx...
by BE
Wed Sep 05, 2007 3:27 pm
Forum: VCL
Topic: How to add a series without changing the Axis scale?
Replies: 14
Views: 18551

Thanks for the fast reply. My question is actually a general one. Is there a way to remove a series from Axis.Automatic action. My GanttSeries is out side the range of the Chart and FastLineSeries, however, I don't want the chart to change scale to reflect that. I only wanted the automatic feature t...
by BE
Wed Sep 05, 2007 2:20 pm
Forum: VCL
Topic: How to add a series without changing the Axis scale?
Replies: 14
Views: 18551

How to add a series without changing the Axis scale?

Hi, I have a TFastLineSeries in a TChart. The BottomAxis is set to Automatic. I wanted to add a TGanttSeries to the chart without modifying the scale of the bottom axis even it is set to Automatic. Is there a way of doing this? At the moment, every time I add a Ganttseries, the BottomAxis changes be...