Search found 9527 matches

by Yeray
Thu May 15, 2008 8:46 am
Forum: VCL
Topic: CursorTool Question
Replies: 5
Views: 7422

Hi ChZiegelt, If you want to continue using your cursor tools to update the state of each point, I suggest you to use a table to store the state of each point (in order to allow more than one point to stay in the same state). And update this table at OnChartTool change event. Note that in the follow...
by Yeray
Wed May 14, 2008 7:59 am
Forum: VCL
Topic: CursorTool Question
Replies: 5
Views: 7422

Hi ChZiegelt, If you only want to mark the last clicked point, let me suggest you another way to achieve that. I think you don't need a cursor tool. Simply using OnClicked event from the series to store the index of the point that has been clicked and GetPointerStyle event to modify the pointer of t...
by Yeray
Tue May 13, 2008 9:00 am
Forum: VCL
Topic: QReport 5, Delphi 2006, and TCharts 8.02
Replies: 1
Views: 5472

Hi Lucien,

Have you tried to create your own packages following the QuickReport instructions in this article?

If you are not able to obtain them, we'll send you working packages for Delphi 2007 that should be easier to modify and adapt to your environment.
by Yeray
Tue May 13, 2008 8:54 am
Forum: ActiveX
Topic: Unicode problem with TeeChart v8.0.0.3
Replies: 7
Views: 8769

Hi Studylog, I've tested it for VB6 and I'm not able to reproduce it. Here is the code I used and works for me: Private Sub Form_Load() Dim mystring As String TChart1.Aspect.View3D = False mystring = TChart1.Environment.CodeUTF8String("EXAMPLE " & TChart1.Environment.DecodeUTF8String("@U#4558414D504...
by Yeray
Thu May 08, 2008 9:26 am
Forum: ActiveX
Topic: Coordinates
Replies: 1
Views: 5188

Hi Hermes, You could convert chart screen coordinates to form screen coordinates simply adding the chart's position to the desired coordinate. Something like this: FormXCoord = ChartXCoord + TChart1.Left FormYCoord = ChartYCoord + TChart1.Top But note that chart coordinates are expressed in pixels a...
by Yeray
Wed May 07, 2008 10:02 am
Forum: VCL
Topic: Pie-drawing
Replies: 1
Views: 3440

Hi Tafik,

Yes, I could reproduce it and added to the wish list to be fixed in further releases (TV52013033).
by Yeray
Tue May 06, 2008 9:54 am
Forum: ActiveX
Topic: paging bug when axis.automatic=.f.
Replies: 3
Views: 5354

Hi Tamás, I think this time it's correct. If you fix minimum and maximum values for bottom axis, then they won't change automatically to show another page. Maybe you would like to change those minimum and maximum values manually when the according button is pressed, but paging will only work with au...
by Yeray
Tue May 06, 2008 9:50 am
Forum: ActiveX
Topic: Legend box positioning
Replies: 6
Views: 9351

Hi Matt, If you want to set a right margin according to the legend width, you could do as follows: Private Sub Form_Load() With TChart1 .AddSeries scBar .Series(0).FillSampleValues 25 .Legend.Top = 0 TChart1_OnResize .Environment.InternalRepaint .Panel.MarginUnits = muPixels End With With TChart1.Le...
by Yeray
Tue May 06, 2008 8:01 am
Forum: VCL
Topic: SOLVED - Need to stop updating of TCHart
Replies: 2
Views: 4474

Hi ChZiegelt,

The property you are looking for may be this one:

Code: Select all

Chart1.AutoRepaint := false;
by Yeray
Mon May 05, 2008 11:39 am
Forum: ActiveX
Topic: colorlinetool cursor does not change back
Replies: 4
Views: 6796

Hi hantom,

Thank you for reporting those issues, we could reproduce it too and added to the wish list (TA05013030). Here, mouse cursor doesn't seem to be updated until you are still in a bar.
by Yeray
Mon May 05, 2008 11:11 am
Forum: ActiveX
Topic: onmouseleaveseries event bug?
Replies: 5
Views: 7057

Hi Excuse us, we haven't understood your problem. Now we reproduced the issue here and added it to the wish list to be fixed in further releases (TV52013029). It seems that when you have a bar series with BarwidthPercent at 100, and bottom axis minimum and maximum different from their defaults, Mous...
by Yeray
Mon May 05, 2008 9:17 am
Forum: ActiveX
Topic: Stack Bar Graph
Replies: 1
Views: 3935

Hi DJ200, You can add series to your chart simply doing something like this: TChart1.AddSeries scBar And to set the bars as stacked: TChart1.Series(1).asBar.MultiBar = mbStacked From here, I recommend you to take a look at the demos that come with teechart installation. Concretely you may be interes...
by Yeray
Mon May 05, 2008 8:54 am
Forum: ActiveX
Topic: Legend box positioning
Replies: 6
Views: 9351

Hi Matt, Yes, legend box is sized based on the width of the text elements. So, if you want to have the legend always at the same distance of the right of the chart, I recommend you to use them to obtain legend's width. And then, you could set legend's left property to move it. Something like this: P...
by Yeray
Fri May 02, 2008 10:10 am
Forum: VCL
Topic: TeeRecompile using non-tee units
Replies: 4
Views: 6372

Hi Michael, If you want to use a dcu generated externally you will have to copy it to delphi's lib folder. I've tried it here and it worked for me. The problem is that TeeRecompile deletes everything in the "compiled" folder in order to avoid conflicts and that's why he can't find the dcus placed th...
by Yeray
Fri May 02, 2008 9:24 am
Forum: VCL
Topic: THighLowSeries Labels
Replies: 2
Views: 5140

Hi jhhd, I've been able to reproduce the problem and I've added it to the wish list (TV52013025) lo be fixed in further releases. In the meanwhile, you could force updating the labels with Series1->Labels->Labels as follows: void __fastcall TForm1::Button1Click(TObject *Sender) { String mylabel; for...