Search found 9507 matches

by Yeray
Wed Jul 09, 2008 7:53 am
Forum: VCL
Topic: Event line in a TBarSeries
Replies: 3
Views: 6259

Hi Ed,

As you can see in the method header, you have the ValueIndex.

Code: Select all

procedure Series1Click(Sender: TChartSeries; ValueIndex: Integer;
      Button: TMouseButton; Shift: TShiftState; X, Y: Integer);
by Yeray
Tue Jul 08, 2008 8:16 am
Forum: VCL
Topic: Event line in a TBarSeries
Replies: 3
Views: 6259

Hi TestAlways, I've achieved something really similar to your picture with the following code. In this example, Series1 is the BarSeries and Series2 is a LineSeries. procedure TForm1.FormCreate(Sender: TObject); var max: double; begin Chart1.View3D := False; Series1.FillSampleValues(15); Chart1.Marg...
by Yeray
Fri Jul 04, 2008 8:53 am
Forum: ActiveX
Topic: SurfaceNearestTool
Replies: 7
Views: 10718

Hi LVL, I've tested the tool as you suggest and it seems to work fine for me here. Could you tell me if I'm missing any important step to reproduce it? Private Sub Command1_Click() TeeEditor1.ShowEditor End Sub Private Sub Form_Load() Dim x, z As Integer TeeCommander1.Chart = TChart1 TeeEditor1.Char...
by Yeray
Thu Jul 03, 2008 9:32 am
Forum: VCL
Topic: Draw Axis without a series:?:
Replies: 3
Views: 5201

Hi Scott, Here is how you could do it. The axes need a series associated to them to be displayed but the series doesn't need to have any value because you can use SetMinMax method. Note that you can remove the series from the legend with ShowInLegend property. And also note that this code is in delp...
by Yeray
Thu Jul 03, 2008 8:35 am
Forum: ActiveX
Topic: SurfaceNearestTool
Replies: 7
Views: 10718

Hi LVL, Could you explain us what is your exact problem so we can reproduce it here? Or, you could also send us a simple example project we can run "as-is" to reproduce the problem here too. You can either post your files at news://www.steema.net/steema.public.attachments newsgroup or at our upload ...
by Yeray
Thu Jul 03, 2008 8:05 am
Forum: ActiveX
Topic: Full Rotation
Replies: 1
Views: 4416

Hi LVL,

In this topic you can see an example of how you could achieve similar results as teecommander, using simple buttons:
by Yeray
Wed Jul 02, 2008 8:06 am
Forum: ActiveX
Topic: TeeChart 8 download?
Replies: 1
Views: 4458

Hi Amol, Since you are a v7 customer, you'll have access to download all the maintenance releases for v7. But if you want access to v8 download area, you'll need a v8 license. I recommend you to try the free evaluation version and test it before purchasing an upgrade license . And please, feel free ...
by Yeray
Tue Jul 01, 2008 9:50 am
Forum: VCL
Topic: How to draw an arrow on top of a point
Replies: 4
Views: 8641

Hi Mariano,

Yes you are right. We could reproduce it with latest v7 too.

As you say, the easiest workaround is forcing the property to true in OnCreate.

Finally, note that we tested it with v8 too and it works fine with it.
by Yeray
Tue Jul 01, 2008 7:42 am
Forum: VCL
Topic: Legend.NumRows and Legend.NumCols
Replies: 1
Views: 3613

Hi Richard, CustomPosition (true/false) is used to draw the legend in the position indicated for Left and Top properties or in the predefined positions indicated in Alignment property (left, top, right, bottom). That shouldn't have any effect to the properties NumRows and NumCols. Note that having, ...
by Yeray
Mon Jun 30, 2008 8:44 am
Forum: ActiveX
Topic: Bottom axis labels
Replies: 1
Views: 4207

Hi Rossmc, I think that in this demo there is achieved something very similar than what you are looking for: Private Sub Form_Load() With TChart1.Series(0) .Clear .Add 123, "First", clTeeColor .Add 456, "Second", clTeeColor .Add 321, "Third", clTeeColor .Add 234, "Last", clTeeColor End With End Sub ...
by Yeray
Thu Jun 26, 2008 8:10 am
Forum: VCL
Topic: TeeChart Pro 8 Marks
Replies: 3
Views: 4511

Hi kennedyr, I've done some tests with Line, Point, Bar, Pie and Area series and font's size marks seems to work fine for me here both at design and run time. Series1.Marks.Font.Size := 15; Could you explain the steps you follow more accurately or could you send us a simple example project we can ru...
by Yeray
Wed Jun 25, 2008 10:22 am
Forum: VCL
Topic: circular gauge issues/questions with 8.02
Replies: 4
Views: 10426

Hi Volker, If tested the issues you mention... 1.1. You are right. I've added it to the bug list to be fixed in future releases. 1.2. You can do the same as in the demo at All features/Chart styles/Standard/Pie/Multiple Charts . But note that the centers won't be drawn at their correct positions as ...
by Yeray
Mon Jun 23, 2008 9:06 am
Forum: ActiveX
Topic: 3D Elevation Scaling
Replies: 1
Views: 4275

Hi LVL,

Please, take a look at this topic. I think that here we are achieving something very similar than what you are trying to do. If not, could you explain your issue more accurately?
by Yeray
Mon Jun 23, 2008 8:57 am
Forum: VCL
Topic: Drawing on Chart
Replies: 5
Views: 11572

Hi McMClark, One solution could be drawing a Shape series instead of a canvas rectangle in OnMouseUp event: var Form1: TForm1; X0, X1, Y0, Y1: Integer; implementation {$R *.dfm} procedure TForm1.FormCreate(Sender: TObject); begin X0 := -1; Y0 := -1; Chart1.Zoom.Allow := false; Chart1.View3D := false...
by Yeray
Fri Jun 20, 2008 1:17 pm
Forum: ActiveX
Topic: Making Isometric 3d grapsh
Replies: 14
Views: 25638

Hi QuijoteMX, Could you test the following code and see if it's what you are looking for? We think that the rotation problem is now solved but if you find any problem, please feel free to tell us. Option Explicit Const pi = 3.14159265358979 Private Declare Function GetDeviceCaps Lib "gdi32" (ByVal h...