Search found 9545 matches

by Yeray
Mon Aug 25, 2008 9:57 am
Forum: VCL
Topic: TeeChart 6 und Quickreport
Replies: 2
Views: 3580

Hi, All versions should be compatible. The only problem is that we can't prepare all packages for all different version combination. That's why we try to help the customers to prepare and compile their own packages for their particular environment. The "Quick Report" article here , is an attempt to ...
by Yeray
Mon Aug 25, 2008 9:48 am
Forum: ActiveX
Topic: Gantt Chart - Count of number of items per month
Replies: 6
Views: 8183

Hi DjPete,

To hide your series, you could also do as follows:

Code: Select all

TChart1.Series(1).asGantt.Pointer.Style = psNothing
by Yeray
Fri Aug 22, 2008 9:19 am
Forum: VCL
Topic: Quality printing
Replies: 3
Views: 6537

Hi Andreas,

Could you take a look at "Printing better article"?
by Yeray
Fri Aug 22, 2008 8:33 am
Forum: VCL
Topic: UNRESOLVED EXTERNAL'__fastcall Teengine:: n (2)
Replies: 20
Views: 17226

Hi jica,

Probably your project is referencing old teechart libraries and this confuses the builder.

Try to edit the project bpr file manually (with notepad for example) and look for the lib paths and package references and update them for the correct ones.
by Yeray
Fri Aug 22, 2008 8:23 am
Forum: ActiveX
Topic: Legend Series Order
Replies: 3
Views: 6531

Hi, Here is a portion of code showing how you could draw a custom legend directly to the canvas. Only to show how you could also do it. Private Sub TChart1_OnAfterDraw() With TChart1.Canvas 'legend rect .Rectangle TChart1.ChartBounds.Right - 85, 100, TChart1.ChartBounds.Right - 15, 200 'series 1 .Br...
by Yeray
Thu Aug 21, 2008 10:14 am
Forum: ActiveX
Topic: Gantt Chart - Count of number of items per month
Replies: 6
Views: 8183

Hi DjPete, I think that you what you are trying to do it to have a top axis with custom labels. You can simply do: TChart1.Axis.Top.Visible = True TChart1.Series(0).HorizontalAxis = aBothHorizAxis For i = 0 To 9 TChart1.Axis.Top.Labels.Add StartArray(i), ValueArray(i) Next i Note that StartArray sho...
by Yeray
Thu Aug 21, 2008 9:42 am
Forum: VCL
Topic: Click event for Marks
Replies: 8
Views: 13348

Hi Tim, Yes, there aren't events for series groups, so the series group event list is empty. If you add the series at runtime, by code, the Object Inspector won't show the series' related properties or events. In this case you should set the properties and the events you wish by code. But if you add...
by Yeray
Thu Aug 21, 2008 8:11 am
Forum: ActiveX
Topic: Forcing automatic axis recalculation?
Replies: 4
Views: 7797

Hi Roger,

Yeah, maybe it lefts an InternalRepaint to force teechart to update internal variables:

Code: Select all

TChart1.Environment.InternalRepaint
by Yeray
Wed Aug 20, 2008 10:21 am
Forum: VCL
Topic: What could I have done wrong?
Replies: 15
Views: 20877

Hi Philip,

Excuse us for the delay. Narcís, who is following the thread and made some tests, is out this week. He will answer you as soon as possible.
by Yeray
Wed Aug 20, 2008 9:14 am
Forum: VCL
Topic: min / max areas
Replies: 4
Views: 5155

Hi msd48, Here is a simple example of what it does. Add a Chart and a checkbox into a new form. Then add a line series and a ClipSeries tool into the chart. And the code: procedure TForm1.CheckBox1Click(Sender: TObject); begin ChartTool1.Active := CheckBox1.Checked; end; procedure TForm1.FormCreate(...
by Yeray
Wed Aug 20, 2008 8:22 am
Forum: ActiveX
Topic: Legend Series Order
Replies: 3
Views: 6531

Hi LVL, I'm afraid that the feature you doesn't exist. But there are others that you may haven't seen such as OnGetLegendText and OnLegendDrawSymbol events. And also... You can hide a series to be shown: TChart1.Series(0).ShowInLegend = False Or you could simply invert the legend items order: TChart...
by Yeray
Wed Aug 20, 2008 8:09 am
Forum: ActiveX
Topic: Forcing automatic axis recalculation?
Replies: 4
Views: 7797

Hi Roger, I think that you should use MinVisibleSeriesValue and MaxVisibleSeriesValue to calculate the new SetMinMax values for your Left axis. TChart1.Axis.Left.SetMinMax TChart1.Axis.Left.MinVisibleSeriesValue(True, 0), TChart1.Axis.Left.MaxVisibleSeriesValue(True, 0) TChart1.Axis.Left.MinimumOffs...
by Yeray
Tue Aug 19, 2008 11:55 am
Forum: VCL
Topic: Special-Zoom with Custom Axis
Replies: 1
Views: 3734

Hi Michael, If we understand well what you are trying to do, the following code could be a good example of how you could achieve it with two series (one vertical custom axis). We will hide everything out from the pointer when the mouse is unpressed. And we restore the "default view" when unzoom. pro...
by Yeray
Tue Aug 19, 2008 10:42 am
Forum: .NET
Topic: how do I know the color of a pixel in a tchart ?
Replies: 1
Views: 4326

Hi Verane,

As you tested, there is a function to set a color for a pixel but there isn't a function to retrieve that so I've added this request to the "wish list" to be implemented in future releases (TF02013329).

Thank you
by Yeray
Tue Aug 19, 2008 9:49 am
Forum: VCL
Topic: HorzScrollBar.Visible = True when not visible.
Replies: 5
Views: 10457

Hi Artimus, I think that the ScrollBar you mention is the scroll bar that appears automatically when a form is resized smaller than a component into the form. If I'm right, note that this is a Delphi component, not a TeeChart one. and the property to read the value is different to the property to se...