Search found 745 matches

by Marjan
Wed Dec 06, 2006 10:52 am
Forum: .NET
Topic: Line TeeChart
Replies: 10
Views: 14231

Hi.

Yes, sure this is possible. If you're using ColorBand tool then you can read it's StartValue and EndValue properties. If you're using two color line tools, then you can read individual tool Value property.
by Marjan
Wed Dec 06, 2006 10:46 am
Forum: VCL
Topic: Our own custom series class and 3D style problems
Replies: 7
Views: 12543

Hi. I've tried your exact code with the TeeChart v7.08 and it worked just fine i.e. unchecking/checking the "3D" checkbox switched between 2d and 3d pie. Which TeeChart version are you using ? Do you try to add series at design time or at runtime ? If first, then perhaps you should remove/rebuild yo...
by Marjan
Tue Dec 05, 2006 7:03 am
Forum: VCL
Topic: Problem with diappearing labels
Replies: 2
Views: 6852

Hi. You might try the following things: 1) Decrease the separation between labels. This can be done by setting bottom axis LabelsSeparation property to small value (for example 2): tChart1.Axes.Bottom.LabelsSeparation := 2; 2) Another thing you might try is rotate axis labels 90deg anti-clockwise to...
by Marjan
Tue Dec 05, 2006 6:53 am
Forum: VCL
Topic: Trilinear Plots
Replies: 11
Views: 18338

Hi.

Will do. Thanks for the additional info on this type of plot.
by Marjan
Mon Dec 04, 2006 7:10 am
Forum: VCL
Topic: Our own custom series class and 3D style problems
Replies: 7
Views: 12543

Hi.

Is this the complete source for custom series ? You're actually using "normal" pie series with customized series editor ?
by Marjan
Mon Dec 04, 2006 7:07 am
Forum: VCL
Topic: Printing TeeChart
Replies: 1
Views: 4758

Hi. If you want to show the tChart print preview form, then you can do this by: I) a) dropping a TChartPreviewer component on the form b) connecting the TChartPreviewer component with chart you want to preview. This is done by setting TChartPreviewer.Chart property: chartPreviewer1.Chart := Chart1; ...
by Marjan
Mon Dec 04, 2006 6:58 am
Forum: VCL
Topic: Trilinear Plots
Replies: 11
Views: 18338

Hi.

Nope, this chart type is not supported. We'll add this on our wish list.
by Marjan
Fri Dec 01, 2006 7:21 am
Forum: VCL
Topic: OnMouseOver event?
Replies: 1
Views: 5127

Hi.

Yes, this can be done (by using a TPieTool tool). In TeeChart demo, please check the "All Features -> Tools -> Pie Focus" node. It moreless does exactly what you need.
by Marjan
Thu Nov 30, 2006 7:12 am
Forum: VCL
Topic: Setting the minimum Y value
Replies: 1
Views: 4825

Hi.

No, not by using SetMinMax method. But you can use the following code:

Code: Select all

  With Chart1.Axes.Left do
  begin
    AutomaticMaximum := True;
    AutomaticMinimum := False;
    Minimum := 0.0;
  end;
by Marjan
Thu Nov 30, 2006 7:04 am
Forum: VCL
Topic: Scrolling-Questions...
Replies: 3
Views: 7536

Hi, Thomas. I meant scroll between my first and my last value. For this you have to know the range you want to display. The "visible" part of values is defined by axis minimim and axis maximum. Scrolling is performed as follows: 1) You set axis minimum and maximum (see also answer to your question b...
by Marjan
Thu Nov 30, 2006 6:53 am
Forum: VCL
Topic: Setting individual pointers
Replies: 1
Views: 5090

Hi. You could use point series OnGetPointerStyle event to change individual point pointer style. Something like this: function TForm1.Series1GetPointerStyle(Sender: TChartSeries; ValueIndex: Integer): TSeriesPointerStyle; begin if Sender.MandatoryValueList[ValueIndex]>22 then result := psDiagCross e...
by Marjan
Wed Nov 29, 2006 7:34 am
Forum: VCL
Topic: Vanishing Legend
Replies: 3
Views: 6884

Hi.

If you're using multiple series then the solution to your problem might be setting chart Legend.LegendStyle property to lsSeries:

Code: Select all

Chart1.Legend.LegendStyle := lsSeries;
by Marjan
Tue Nov 28, 2006 7:04 am
Forum: VCL
Topic: How do I Reinitialize TLineSeries
Replies: 2
Views: 5823

Hi.

If you simply want to remove/free all series in the Form::OnClose event, then all you must do is cal the

Code: Select all

tChart.FreeAllSeries(nil); 
To remove&free specific series you can use:

Code: Select all

tmp := tChart.Series[0];
tmp.ParentChart := nil;
tmp.Free;
by Marjan
Mon Nov 27, 2006 7:52 am
Forum: VCL
Topic: db aware TimeSeries Line Chart
Replies: 5
Views: 9378

Hi. SeriesExists function has to be coded (doesn't exists). The idea is to cycle through all chart series and if there is a match (series title is equal to "Well" column name, return series, otherwise return nil.). It's not too complicated at all: function SeriesExists(aChart: TCustomChart; ColName:...
by Marjan
Mon Nov 27, 2006 7:42 am
Forum: VCL
Topic: Dynamic line...
Replies: 9
Views: 14111

Hi.

How did you create and connect linetool to chart ? The following code works just fine:

Code: Select all

var line: TColorLineTool;
begin
  line := TColorLineTool.Create(Chart1);
  Chart1.Tools.Add(line);
  line.Value := 0;
  line.Axis := Chart1.Axes.Bottom;