Search found 745 matches

by Marjan
Fri Dec 22, 2006 9:16 am
Forum: VCL
Topic: 3D Scatter Plots
Replies: 8
Views: 15332

Hi. It should give you similar, but not the same look. The same could be achieved using MoveTo3D and LineTo3D methods. To get a true 3d feel and look I'd stick with Cylinder method. Using it it'd be a lot easier to control the z coordinate (concentration). For example, the following code will draw a...
by Marjan
Thu Dec 21, 2006 11:58 am
Forum: VCL
Topic: 3D Scatter Plots
Replies: 8
Views: 15332

Hi. Hmm... I don't think this drawing method will mimic true 3d scatter plot. The Cylinder canvas method will draw a vertical or horizontal cylinder using Left,Right,Top,Bottom as bounds in x-y (2d projection) plane and Z0 and Z1 as bounds in z plane. That is, the Z0 and Z1 (if not equal) define the...
by Marjan
Thu Dec 21, 2006 11:52 am
Forum: VCL
Topic: Inserting Data Into DBGrid
Replies: 5
Views: 10865

Hi. take it you are saying to create another table, insert the values in it then Yes, and then connect it to TDBGrid. Or if you want a more generic solution, create a customized datasource for table and then connect the table it. I want this to be done automatically Still, you can calculate values, ...
by Marjan
Wed Dec 20, 2006 7:04 am
Forum: VCL
Topic: 3D Scatter Plots
Replies: 8
Views: 15332

Hi.

Try using TPoint3DSeries. It more less does exactly what you need (gives you control over individual point z=z(x,y) coordinate).
by Marjan
Wed Dec 20, 2006 7:03 am
Forum: VCL
Topic: displaying individual failure marks
Replies: 12
Views: 21074

Hi.

Hmm... Try setting Series2.Marks.Visible property to true:

Code: Select all

Series2.Marks.Visible := True;
Series2.OnGetMarkText := Series2GetMarkText;
If this doesn't work, let me know and I'll prepare a sample test application (D2006) for you.
by Marjan
Tue Dec 19, 2006 10:00 am
Forum: .NET
Topic: several line with the same X-Axis
Replies: 2
Views: 5687

Hi.

Yes, sure, this can be done. Check the following example in TeeChart demo:
All Features -> Axes -> Opaque zones
or
All Features -> Axes -> Multiple at runtime.
by Marjan
Tue Dec 19, 2006 7:36 am
Forum: VCL
Topic: Inserting Data Into DBGrid
Replies: 5
Views: 10865

Hi.

Why don't you simply create a temporary table, copy values in it and finally connect this table directly to TDBGrid using the same schema as for any other dataset ?
by Marjan
Tue Dec 19, 2006 7:32 am
Forum: VCL
Topic: displaying individual failure marks
Replies: 12
Views: 21074

Hi. I think the problem is how you use ValueIndex parameter in OnGetMarkText event. In this event ValueIndex is constant parameter and should not be used as variable in for loop. You should figure out another way to "connect" failure to point ValueIndex (index) parameter. Something like this: if (Op...
by Marjan
Mon Dec 18, 2006 7:22 am
Forum: .NET
Topic: create custom mark?
Replies: 4
Views: 7942

Hi. The following example uses series GetSeriesMarj event to customize individual mark text: public Form1() { InitializeComponent(); line1.Marks.Visible = true; line1.FillSampleValues(); } private void line1_GetSeriesMark(Steema.TeeChart.Styles.Series series, Steema.TeeChart.Styles.GetSeriesMarkEven...
by Marjan
Fri Dec 15, 2006 7:33 am
Forum: VCL
Topic: displaying individual failure marks
Replies: 12
Views: 21074

Hi. How does it work? Well, you're using the TChartSeries OnGetMarkText event, together with failure series values, to "filter" which point marks you want to mark as "failed". Something like this: // Enable, disable failure filter procedure TForm1.CheckBox1Clicked(Sender: TObject); begin if (CheckBo...
by Marjan
Thu Dec 14, 2006 10:01 am
Forum: .NET
Topic: vertical axe in a Horizontal bar graph
Replies: 15
Views: 19833

Hi, Ricky. Another way to have vertical axis at specific x position (in your case 0.0) is to use the following code: ... horizBar1.Add(-5); horizBar1.Add(5); horizBar1.Add(-2); horizBar1.Add(-1); horizBar1.GetVertAxis.Visible = false; ... private void tChart2_BeforeDrawSeries(object sender, Steema.T...
by Marjan
Wed Dec 13, 2006 7:59 am
Forum: VCL
Topic: displaying individual failure marks
Replies: 12
Views: 21074

Hi, David. Yes, several ways to do it. I'd use TChartSeries OnGetMarkText event to show/hide individual mark text. Something like this: procedure TForm1.Series2GetMarkText(Sender: TChartSeries; ValueIndex: Integer; var MarkText: string); begin if Sender.MandatoryValueList[ValueIndex] >0 then MarkTex...
by Marjan
Mon Dec 11, 2006 7:24 am
Forum: VCL
Topic: how to get the result as examples 'opaque zones'
Replies: 14
Views: 21708

Hi. To add a chart tool to specific chart, do the following: 1. Add a TChart on the form. 2. Select tChart with left mouse button. 3) Press right mouse button to bring up chart editor. 4) Select the "Tools" tab. 5) Press the "+" sign button 6) Select "Axis" tab 7) Double click the "color line" tool ...
by Marjan
Mon Dec 11, 2006 7:16 am
Forum: .NET
Topic: Series Borders
Replies: 3
Views: 8020

Hi. But will this work for any generic series? i.e. Lines, Bars, etc? I know I can cast it as a Bar type, but will it give the same general behaviour if the actual object is of a different type. Not all series have border property so this can't be generic (i.e. introduced as public property for base...
by Marjan
Fri Dec 08, 2006 10:12 am
Forum: VCL
Topic: Our own custom series class and 3D style problems
Replies: 7
Views: 12539

I'm glad it turned out ok.